FreeBSD kernel CXGBE device code
cudbg.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  el
 
struct  cudbg_init_hdr
 
struct  cudbg_flash_hdr
 
struct  cudbg_param
 
struct  cudbg_init
 

Macros

#define ATTRIBUTE_UNUSED
 
#define cudbg_debug(pdbg_init, format, ...)   do { } while (0)
 
#define OUT
 
#define IN
 
#define INOUT
 
#define CUDBG_STATUS_SUCCESS   0
 
#define CUDBG_STATUS_NOSPACE   -2
 
#define CUDBG_STATUS_FLASH_WRITE_FAIL   -3
 
#define CUDBG_STATUS_FLASH_READ_FAIL   -4
 
#define CUDBG_STATUS_UNDEFINED_OUT_BUF   -5
 
#define CUDBG_STATUS_UNDEFINED_CBFN   -6
 
#define CUDBG_STATUS_UNDEFINED_PRINTF_CBFN   -7
 
#define CUDBG_STATUS_ADAP_INVALID   -8
 
#define CUDBG_STATUS_FLASH_EMPTY   -9
 
#define CUDBG_STATUS_NO_ADAPTER   -10
 
#define CUDBG_STATUS_NO_SIGNATURE   -11
 
#define CUDBG_STATUS_MULTIPLE_REG   -12
 
#define CUDBG_STATUS_UNREGISTERED   -13
 
#define CUDBG_STATUS_UNDEFINED_ENTITY   -14
 
#define CUDBG_STATUS_REG_FAIlED   -15
 
#define CUDBG_STATUS_DEVLOG_FAILED   -16
 
#define CUDBG_STATUS_SMALL_BUFF   -17
 
#define CUDBG_STATUS_CHKSUM_MISSMATCH   -18
 
#define CUDBG_STATUS_NO_SCRATCH_MEM   -19
 
#define CUDBG_STATUS_OUTBUFF_OVERFLOW   -20
 
#define CUDBG_STATUS_INVALID_BUFF   -21 /* Invalid magic */
 
#define CUDBG_STATUS_FILE_OPEN_FAIL   -22
 
#define CUDBG_STATUS_DEVLOG_INT_FAIL   -23
 
#define CUDBG_STATUS_ENTITY_NOT_FOUND   -24
 
#define CUDBG_STATUS_DECOMPRESS_FAIL   -25
 
#define CUDBG_STATUS_BUFFER_SHORT   -26
 
#define CUDBG_METADATA_VERSION_MISMATCH   -27
 
#define CUDBG_STATUS_NOT_IMPLEMENTED   -28
 
#define CUDBG_SYSTEM_ERROR   -29
 
#define CUDBG_STATUS_MMAP_FAILED   -30
 
#define CUDBG_STATUS_FILE_WRITE_FAILED   -31
 
#define CUDBG_STATUS_CCLK_NOT_DEFINED   -32
 
#define CUDBG_STATUS_FLASH_FULL   -33
 
#define CUDBG_STATUS_SECTOR_EMPTY   -34
 
#define CUDBG_STATUS_ENTITY_NOT_REQUESTED   -35
 
#define CUDBG_STATUS_NOT_SUPPORTED   -36
 
#define CUDBG_STATUS_FILE_READ_FAILED   -37
 
#define CUDBG_STATUS_CORRUPTED   -38
 
#define CUDBG_STATUS_INVALID_INDEX   -39
 
#define CUDBG_MAJOR_VERSION   1
 
#define CUDBG_MINOR_VERSION   14
 
#define CUDBG_BUILD_VERSION   0
 
#define CUDBG_FILE_NAME_LEN   256
 
#define CUDBG_DIR_NAME_LEN   256
 
#define CUDBG_MAX_BITMAP_LEN   16
 
#define ENTITY_FLAG_NULL   0
 
#define ENTITY_FLAG_REGISTER   1
 
#define ENTITY_FLAG_BINARY   2
 
#define ENTITY_FLAG_FW_NO_ATTACH   3
 
#define CUDBG_TCB_BRIEF_PARAM   0x1
 
#define CUDBG_TCB_FROM_CARD_PARAM   0x2
 
#define CUDBG_TCB_AS_SCB_PARAM   0x4
 

Typedefs

typedef int(* cudbg_print_cb) (char *str,...)
 

Enumerations

enum  CUDBG_DBG_ENTITY_TYPE {
  CUDBG_ALL = 0 , CUDBG_REG_DUMP = 1 , CUDBG_DEV_LOG = 2 , CUDBG_CIM_LA = 3 ,
  CUDBG_CIM_MA_LA = 4 , CUDBG_CIM_QCFG = 5 , CUDBG_CIM_IBQ_TP0 = 6 , CUDBG_CIM_IBQ_TP1 = 7 ,
  CUDBG_CIM_IBQ_ULP = 8 , CUDBG_CIM_IBQ_SGE0 = 9 , CUDBG_CIM_IBQ_SGE1 = 10 , CUDBG_CIM_IBQ_NCSI = 11 ,
  CUDBG_CIM_OBQ_ULP0 = 12 , CUDBG_CIM_OBQ_ULP1 = 13 , CUDBG_CIM_OBQ_ULP2 = 14 , CUDBG_CIM_OBQ_ULP3 = 15 ,
  CUDBG_CIM_OBQ_SGE = 16 , CUDBG_CIM_OBQ_NCSI = 17 , CUDBG_EDC0 = 18 , CUDBG_EDC1 = 19 ,
  CUDBG_MC0 = 20 , CUDBG_MC1 = 21 , CUDBG_RSS = 22 , CUDBG_RSS_PF_CONF = 23 ,
  CUDBG_RSS_KEY = 24 , CUDBG_RSS_VF_CONF = 25 , CUDBG_RSS_CONF = 26 , CUDBG_PATH_MTU = 27 ,
  CUDBG_SW_STATE = 28 , CUDBG_WTP = 29 , CUDBG_PM_STATS = 30 , CUDBG_HW_SCHED = 31 ,
  CUDBG_TCP_STATS = 32 , CUDBG_TP_ERR_STATS = 33 , CUDBG_FCOE_STATS = 34 , CUDBG_RDMA_STATS = 35 ,
  CUDBG_TP_INDIRECT = 36 , CUDBG_SGE_INDIRECT = 37 , CUDBG_CPL_STATS = 38 , CUDBG_DDP_STATS = 39 ,
  CUDBG_WC_STATS = 40 , CUDBG_ULPRX_LA = 41 , CUDBG_LB_STATS = 42 , CUDBG_TP_LA = 43 ,
  CUDBG_MEMINFO = 44 , CUDBG_CIM_PIF_LA = 45 , CUDBG_CLK = 46 , CUDBG_CIM_OBQ_RXQ0 = 47 ,
  CUDBG_CIM_OBQ_RXQ1 = 48 , CUDBG_MAC_STATS = 49 , CUDBG_PCIE_INDIRECT = 50 , CUDBG_PM_INDIRECT = 51 ,
  CUDBG_FULL = 52 , CUDBG_TX_RATE = 53 , CUDBG_TID_INFO = 54 , CUDBG_PCIE_CONFIG = 55 ,
  CUDBG_DUMP_CONTEXT = 56 , CUDBG_MPS_TCAM = 57 , CUDBG_VPD_DATA = 58 , CUDBG_LE_TCAM = 59 ,
  CUDBG_CCTRL = 60 , CUDBG_MA_INDIRECT = 61 , CUDBG_ULPTX_LA = 62 , CUDBG_EXT_ENTITY = 63 ,
  CUDBG_UP_CIM_INDIRECT = 64 , CUDBG_PBT_TABLE = 65 , CUDBG_MBOX_LOG = 66 , CUDBG_HMA_INDIRECT = 67 ,
  CUDBG_MAX_ENTITY = 68
}
 

Functions

static void set_dbg_bitmap (u8 *bitmap, enum CUDBG_DBG_ENTITY_TYPE type)
 
static void reset_dbg_bitmap (u8 *bitmap, enum CUDBG_DBG_ENTITY_TYPE type)
 
void * cudbg_alloc_handle (void)
 
static struct cudbg_initcudbg_get_init (void *handle)
 
int cudbg_collect (void *handle, void *outbuf, u32 *outbuf_size)
 
void cudbg_free_handle (IN void *handle)
 
int cudbg_read_flash_details (void *handle, struct cudbg_flash_hdr *data)
 
int cudbg_read_flash_data (void *handle, void *data_buf, u32 data_buf_size)
 

Variables

static char ATTRIBUTE_UNUSEDerr_msg []
 
static struct el ATTRIBUTE_UNUSED entity_list []
 

Macro Definition Documentation

◆ ATTRIBUTE_UNUSED

#define ATTRIBUTE_UNUSED

Definition at line 40 of file cudbg.h.

◆ CUDBG_BUILD_VERSION

#define CUDBG_BUILD_VERSION   0

Definition at line 99 of file cudbg.h.

◆ cudbg_debug

#define cudbg_debug (   pdbg_init,
  format,
  ... 
)    do { } while (0)

Definition at line 48 of file cudbg.h.

◆ CUDBG_DIR_NAME_LEN

#define CUDBG_DIR_NAME_LEN   256

Definition at line 102 of file cudbg.h.

◆ CUDBG_FILE_NAME_LEN

#define CUDBG_FILE_NAME_LEN   256

Definition at line 101 of file cudbg.h.

◆ CUDBG_MAJOR_VERSION

#define CUDBG_MAJOR_VERSION   1

Definition at line 97 of file cudbg.h.

◆ CUDBG_MAX_BITMAP_LEN

#define CUDBG_MAX_BITMAP_LEN   16

Definition at line 103 of file cudbg.h.

◆ CUDBG_METADATA_VERSION_MISMATCH

#define CUDBG_METADATA_VERSION_MISMATCH   -27

Definition at line 83 of file cudbg.h.

◆ CUDBG_MINOR_VERSION

#define CUDBG_MINOR_VERSION   14

Definition at line 98 of file cudbg.h.

◆ CUDBG_STATUS_ADAP_INVALID

#define CUDBG_STATUS_ADAP_INVALID   -8

Definition at line 64 of file cudbg.h.

◆ CUDBG_STATUS_BUFFER_SHORT

#define CUDBG_STATUS_BUFFER_SHORT   -26

Definition at line 82 of file cudbg.h.

◆ CUDBG_STATUS_CCLK_NOT_DEFINED

#define CUDBG_STATUS_CCLK_NOT_DEFINED   -32

Definition at line 88 of file cudbg.h.

◆ CUDBG_STATUS_CHKSUM_MISSMATCH

#define CUDBG_STATUS_CHKSUM_MISSMATCH   -18

Definition at line 74 of file cudbg.h.

◆ CUDBG_STATUS_CORRUPTED

#define CUDBG_STATUS_CORRUPTED   -38

Definition at line 94 of file cudbg.h.

◆ CUDBG_STATUS_DECOMPRESS_FAIL

#define CUDBG_STATUS_DECOMPRESS_FAIL   -25

Definition at line 81 of file cudbg.h.

◆ CUDBG_STATUS_DEVLOG_FAILED

#define CUDBG_STATUS_DEVLOG_FAILED   -16

Definition at line 72 of file cudbg.h.

◆ CUDBG_STATUS_DEVLOG_INT_FAIL

#define CUDBG_STATUS_DEVLOG_INT_FAIL   -23

Definition at line 79 of file cudbg.h.

◆ CUDBG_STATUS_ENTITY_NOT_FOUND

#define CUDBG_STATUS_ENTITY_NOT_FOUND   -24

Definition at line 80 of file cudbg.h.

◆ CUDBG_STATUS_ENTITY_NOT_REQUESTED

#define CUDBG_STATUS_ENTITY_NOT_REQUESTED   -35

Definition at line 91 of file cudbg.h.

◆ CUDBG_STATUS_FILE_OPEN_FAIL

#define CUDBG_STATUS_FILE_OPEN_FAIL   -22

Definition at line 78 of file cudbg.h.

◆ CUDBG_STATUS_FILE_READ_FAILED

#define CUDBG_STATUS_FILE_READ_FAILED   -37

Definition at line 93 of file cudbg.h.

◆ CUDBG_STATUS_FILE_WRITE_FAILED

#define CUDBG_STATUS_FILE_WRITE_FAILED   -31

Definition at line 87 of file cudbg.h.

◆ CUDBG_STATUS_FLASH_EMPTY

#define CUDBG_STATUS_FLASH_EMPTY   -9

Definition at line 65 of file cudbg.h.

◆ CUDBG_STATUS_FLASH_FULL

#define CUDBG_STATUS_FLASH_FULL   -33

Definition at line 89 of file cudbg.h.

◆ CUDBG_STATUS_FLASH_READ_FAIL

#define CUDBG_STATUS_FLASH_READ_FAIL   -4

Definition at line 60 of file cudbg.h.

◆ CUDBG_STATUS_FLASH_WRITE_FAIL

#define CUDBG_STATUS_FLASH_WRITE_FAIL   -3

Definition at line 59 of file cudbg.h.

◆ CUDBG_STATUS_INVALID_BUFF

#define CUDBG_STATUS_INVALID_BUFF   -21 /* Invalid magic */

Definition at line 77 of file cudbg.h.

◆ CUDBG_STATUS_INVALID_INDEX

#define CUDBG_STATUS_INVALID_INDEX   -39

Definition at line 95 of file cudbg.h.

◆ CUDBG_STATUS_MMAP_FAILED

#define CUDBG_STATUS_MMAP_FAILED   -30

Definition at line 86 of file cudbg.h.

◆ CUDBG_STATUS_MULTIPLE_REG

#define CUDBG_STATUS_MULTIPLE_REG   -12

Definition at line 68 of file cudbg.h.

◆ CUDBG_STATUS_NO_ADAPTER

#define CUDBG_STATUS_NO_ADAPTER   -10

Definition at line 66 of file cudbg.h.

◆ CUDBG_STATUS_NO_SCRATCH_MEM

#define CUDBG_STATUS_NO_SCRATCH_MEM   -19

Definition at line 75 of file cudbg.h.

◆ CUDBG_STATUS_NO_SIGNATURE

#define CUDBG_STATUS_NO_SIGNATURE   -11

Definition at line 67 of file cudbg.h.

◆ CUDBG_STATUS_NOSPACE

#define CUDBG_STATUS_NOSPACE   -2

Definition at line 58 of file cudbg.h.

◆ CUDBG_STATUS_NOT_IMPLEMENTED

#define CUDBG_STATUS_NOT_IMPLEMENTED   -28

Definition at line 84 of file cudbg.h.

◆ CUDBG_STATUS_NOT_SUPPORTED

#define CUDBG_STATUS_NOT_SUPPORTED   -36

Definition at line 92 of file cudbg.h.

◆ CUDBG_STATUS_OUTBUFF_OVERFLOW

#define CUDBG_STATUS_OUTBUFF_OVERFLOW   -20

Definition at line 76 of file cudbg.h.

◆ CUDBG_STATUS_REG_FAIlED

#define CUDBG_STATUS_REG_FAIlED   -15

Definition at line 71 of file cudbg.h.

◆ CUDBG_STATUS_SECTOR_EMPTY

#define CUDBG_STATUS_SECTOR_EMPTY   -34

Definition at line 90 of file cudbg.h.

◆ CUDBG_STATUS_SMALL_BUFF

#define CUDBG_STATUS_SMALL_BUFF   -17

Definition at line 73 of file cudbg.h.

◆ CUDBG_STATUS_SUCCESS

#define CUDBG_STATUS_SUCCESS   0

Definition at line 57 of file cudbg.h.

◆ CUDBG_STATUS_UNDEFINED_CBFN

#define CUDBG_STATUS_UNDEFINED_CBFN   -6

Definition at line 62 of file cudbg.h.

◆ CUDBG_STATUS_UNDEFINED_ENTITY

#define CUDBG_STATUS_UNDEFINED_ENTITY   -14

Definition at line 70 of file cudbg.h.

◆ CUDBG_STATUS_UNDEFINED_OUT_BUF

#define CUDBG_STATUS_UNDEFINED_OUT_BUF   -5

Definition at line 61 of file cudbg.h.

◆ CUDBG_STATUS_UNDEFINED_PRINTF_CBFN

#define CUDBG_STATUS_UNDEFINED_PRINTF_CBFN   -7

Definition at line 63 of file cudbg.h.

◆ CUDBG_STATUS_UNREGISTERED

#define CUDBG_STATUS_UNREGISTERED   -13

Definition at line 69 of file cudbg.h.

◆ CUDBG_SYSTEM_ERROR

#define CUDBG_SYSTEM_ERROR   -29

Definition at line 85 of file cudbg.h.

◆ CUDBG_TCB_AS_SCB_PARAM

#define CUDBG_TCB_AS_SCB_PARAM   0x4

Definition at line 362 of file cudbg.h.

◆ CUDBG_TCB_BRIEF_PARAM

#define CUDBG_TCB_BRIEF_PARAM   0x1

Definition at line 360 of file cudbg.h.

◆ CUDBG_TCB_FROM_CARD_PARAM

#define CUDBG_TCB_FROM_CARD_PARAM   0x2

Definition at line 361 of file cudbg.h.

◆ ENTITY_FLAG_BINARY

#define ENTITY_FLAG_BINARY   2

Definition at line 222 of file cudbg.h.

◆ ENTITY_FLAG_FW_NO_ATTACH

#define ENTITY_FLAG_FW_NO_ATTACH   3

Definition at line 223 of file cudbg.h.

◆ ENTITY_FLAG_NULL

#define ENTITY_FLAG_NULL   0

Definition at line 220 of file cudbg.h.

◆ ENTITY_FLAG_REGISTER

#define ENTITY_FLAG_REGISTER   1

Definition at line 221 of file cudbg.h.

◆ IN

#define IN

Definition at line 52 of file cudbg.h.

◆ INOUT

#define INOUT

Definition at line 53 of file cudbg.h.

◆ OUT

#define OUT

Definition at line 51 of file cudbg.h.

Typedef Documentation

◆ cudbg_print_cb

typedef int(* cudbg_print_cb) (char *str,...)

Definition at line 310 of file cudbg.h.

Enumeration Type Documentation

◆ CUDBG_DBG_ENTITY_TYPE

Enumerator
CUDBG_ALL 
CUDBG_REG_DUMP 
CUDBG_DEV_LOG 
CUDBG_CIM_LA 
CUDBG_CIM_MA_LA 
CUDBG_CIM_QCFG 
CUDBG_CIM_IBQ_TP0 
CUDBG_CIM_IBQ_TP1 
CUDBG_CIM_IBQ_ULP 
CUDBG_CIM_IBQ_SGE0 
CUDBG_CIM_IBQ_SGE1 
CUDBG_CIM_IBQ_NCSI 
CUDBG_CIM_OBQ_ULP0 
CUDBG_CIM_OBQ_ULP1 
CUDBG_CIM_OBQ_ULP2 
CUDBG_CIM_OBQ_ULP3 
CUDBG_CIM_OBQ_SGE 
CUDBG_CIM_OBQ_NCSI 
CUDBG_EDC0 
CUDBG_EDC1 
CUDBG_MC0 
CUDBG_MC1 
CUDBG_RSS 
CUDBG_RSS_PF_CONF 
CUDBG_RSS_KEY 
CUDBG_RSS_VF_CONF 
CUDBG_RSS_CONF 
CUDBG_PATH_MTU 
CUDBG_SW_STATE 
CUDBG_WTP 
CUDBG_PM_STATS 
CUDBG_HW_SCHED 
CUDBG_TCP_STATS 
CUDBG_TP_ERR_STATS 
CUDBG_FCOE_STATS 
CUDBG_RDMA_STATS 
CUDBG_TP_INDIRECT 
CUDBG_SGE_INDIRECT 
CUDBG_CPL_STATS 
CUDBG_DDP_STATS 
CUDBG_WC_STATS 
CUDBG_ULPRX_LA 
CUDBG_LB_STATS 
CUDBG_TP_LA 
CUDBG_MEMINFO 
CUDBG_CIM_PIF_LA 
CUDBG_CLK 
CUDBG_CIM_OBQ_RXQ0 
CUDBG_CIM_OBQ_RXQ1 
CUDBG_MAC_STATS 
CUDBG_PCIE_INDIRECT 
CUDBG_PM_INDIRECT 
CUDBG_FULL 
CUDBG_TX_RATE 
CUDBG_TID_INFO 
CUDBG_PCIE_CONFIG 
CUDBG_DUMP_CONTEXT 
CUDBG_MPS_TCAM 
CUDBG_VPD_DATA 
CUDBG_LE_TCAM 
CUDBG_CCTRL 
CUDBG_MA_INDIRECT 
CUDBG_ULPTX_LA 
CUDBG_EXT_ENTITY 
CUDBG_UP_CIM_INDIRECT 
CUDBG_PBT_TABLE 
CUDBG_MBOX_LOG 
CUDBG_HMA_INDIRECT 
CUDBG_MAX_ENTITY 

Definition at line 148 of file cudbg.h.

Function Documentation

◆ cudbg_alloc_handle()

void * cudbg_alloc_handle ( void  )

cudbg_alloc_handle - Allocates and initializes a handle that represents cudbg state. Needs to called first before calling any other function.

returns a pointer to memory that has a cudbg_init structure at the begining and enough space after that for internal book keeping.

Definition at line 81 of file cudbg_common.c.

References cudbg_private::dbg_init, cudbg_init::header, and init_cudbg_hdr().

Referenced by cudbg_dump().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cudbg_collect()

int cudbg_collect ( void *  handle,
void *  outbuf,
u32 outbuf_size 
)

cudbg_collect - Collect and store debug information.

Parameters

@handle : A pointer returned by cudbg_alloc_handle. @outbuf : pointer to output buffer, to store the collected information or to use it as a scratch buffer in case HW flash is used to store the debug information. @outbuf_size : Size of output buffer.

Return

If the function succeeds, the return value will be size of debug information collected and stored. -ve value represent error.

Definition at line 203 of file cudbg_lib.c.

References cudbg_init::adap, align_debug_buffer(), BUFFER_WARN_LIMIT, cudbg_hdr::chip_ver, adapter_params::chipid, CUDBG_ALL, CUDBG_EXT_DATA_VALID, CUDBG_EXT_ENTITY, CUDBG_MAJOR_VERSION, CUDBG_MAX_ENTITY, CUDBG_MINOR_VERSION, CUDBG_SIGNATURE, CUDBG_STATUS_SMALL_BUFF, CUDBG_SYSTEM_ERROR, cudbg_buffer::data, cudbg_hdr::data_len, large_entity::entity_code, ENTITY_FLAG_FW_NO_ATTACH, entity_list, cudbg_entity_hdr::entity_type, cudbg_entity_hdr::flag, get_entity_hdr(), get_next_ext_entity_hdr(), cudbg_hdr::hdr_flags, cudbg_entity_hdr::hdr_flags, cudbg_hdr::hdr_len, is_fw_attached(), is_large_entity(), large_entity_list, cudbg_hdr::major_ver, cudbg_hdr::max_entities, cudbg_hdr::minor_ver, cudbg_entity_hdr::next_ext_offset, cudbg_buffer::offset, adapter::params, cudbg_init::print, process_entity, reset_skip_entity(), cudbg_hdr::signature, cudbg_entity_hdr::size, cudbg_buffer::size, skip_entity(), cudbg_entity_hdr::start_offset, cudbg_entity_hdr::sys_err, cudbg_error::sys_err, cudbg_entity_hdr::sys_warn, cudbg_error::sys_warn, t4_get_flash_params(), cudbg_init::use_flash, cudbg_init::verbose, and wr_entity_to_flash().

Referenced by cudbg_dump().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cudbg_free_handle()

void cudbg_free_handle ( IN void *  handle)

cudbg_free_handle - Release cudbg resources.

Parameters

@handle : A pointer returned by cudbg_alloc_handle.

Referenced by cudbg_dump().

Here is the caller graph for this function:

◆ cudbg_get_init()

static struct cudbg_init * cudbg_get_init ( void *  handle)
inlinestatic

Definition at line 425 of file cudbg.h.

Referenced by cudbg_dump().

Here is the caller graph for this function:

◆ cudbg_read_flash_data()

int cudbg_read_flash_data ( void *  handle,
void *  data_buf,
u32  data_buf_size 
)

cudbg_read_flash_data - Read cudbg dump contents stored in flash.

Parameters

@handle : A pointer returned by cudbg_hello. @data_buf : A pointer to data buffer. @data_buf_size : Data buffer size.

Definition at line 302 of file cudbg_flash_utils.c.

References CUDBG_MAX_ENTITY, and cudbg_read_flash().

Here is the call graph for this function:

◆ cudbg_read_flash_details()

int cudbg_read_flash_details ( void *  handle,
struct cudbg_flash_hdr data 
)

cudbg_read_flash_data - Read cudbg “flash” header from adapter flash. This will be used by the consumer mainly to know the size of the data in flash.

Parameters

@handle : A pointer returned by cudbg_hello. @data : A pointer to data/header buffer

Definition at line 293 of file cudbg_flash_utils.c.

References cudbg_read_flash().

Here is the call graph for this function:

◆ reset_dbg_bitmap()

static void reset_dbg_bitmap ( u8 bitmap,
enum CUDBG_DBG_ENTITY_TYPE  type 
)
inlinestatic

Definition at line 403 of file cudbg.h.

Referenced by set_sector_availability().

Here is the caller graph for this function:

◆ set_dbg_bitmap()

static void set_dbg_bitmap ( u8 bitmap,
enum CUDBG_DBG_ENTITY_TYPE  type 
)
inlinestatic

Definition at line 395 of file cudbg.h.

Referenced by set_sector_availability().

Here is the caller graph for this function:

Variable Documentation

◆ entity_list

struct el ATTRIBUTE_UNUSED entity_list[]
static

Definition at line 227 of file cudbg.h.

Referenced by cudbg_collect().

◆ err_msg

char ATTRIBUTE_UNUSED* err_msg[]
static