Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/qlogic/qed/qed_debug.c qed_grc_dump_mcp_hw_dump() -> qed_find_nvram_image()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p_hwfn | 4096-ptr_max |
| PARAM_VALUE | 0 | p_hwfn->dbg_info.initialized | 1-255 |
| PARAM_VALUE | 0 | p_hwfn->p_ptt_pool | 4096-ptr_max |
| PARAM_VALUE | 1 | p_ptt | 4096-ptr_max |
| PARAM_VALUE | 2 | image_type | 44 |
| PARAM_VALUE | 3 | nvram_offset_bytes | 3163150913558487040 |
| PARAM_VALUE | 3 | *nvram_offset_bytes | 0 |
| PARAM_VALUE | 4 | nvram_size_bytes | 7162893322114723840 |
| PARAM_VALUE | 4 | *nvram_size_bytes | 0 |
| PARAM_VALUE | 5 | b_can_sleep | 0 |
| DATA_SOURCE | 0 | p_hwfn | $0 |
| DATA_SOURCE | 1 | p_ptt | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | p_hwfn->dmae_info.p_dmae_cmd->src_addr_hi | 0[c] |
| HOST_DATA | 0 | p_hwfn->dmae_info.p_dmae_cmd->src_addr_lo | 0,3702784-540631039[c] |
| HOST_DATA | 0 | p_hwfn->mcp_info->drv_mb_seq | 0-u16max |
| HOST_DATA | 0 | p_hwfn->mcp_info->drv_pulse_seq | 0-s16max |
| HOST_DATA | 0 | p_hwfn->mcp_info->mcp_hist | 0-u32max |
| HOST_DATA | 0 | p_hwfn->mcp_info->public_base | 0,2097152-u32max |
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | global &qed_dbg_lock |
drivers/net/ethernet/qlogic/qed/qed_debug.c qed_mcp_trace_get_meta_info() -> qed_find_nvram_image()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p_hwfn | 4096-ptr_max |
| PARAM_VALUE | 0 | p_hwfn->dbg_info.initialized | 1-255 |
| PARAM_VALUE | 0 | p_hwfn->dmae_info.p_dmae_cmd->comp_val | 0,53678 |
| PARAM_VALUE | 0 | p_hwfn->dmae_info.p_dmae_cmd->length_dw | 0-8192 |
| PARAM_VALUE | 0 | p_hwfn->p_ptt_pool | 4096-ptr_max |
| PARAM_VALUE | 1 | p_ptt | 4096-ptr_max |
| PARAM_VALUE | 1 | p_ptt->pxp.offset | 0-1073741823 |
| PARAM_VALUE | 2 | image_type | 8-9 |
| PARAM_VALUE | 3 | nvram_offset_bytes | 8782883592974372864 |
| PARAM_VALUE | 3 | *nvram_offset_bytes | 0 |
| PARAM_VALUE | 4 | nvram_size_bytes | 2439284242230435840 |
| PARAM_VALUE | 5 | b_can_sleep | 1 |
| DATA_SOURCE | 0 | p_hwfn | $0 |
| DATA_SOURCE | 1 | p_ptt | $1 |
| DATA_SOURCE | 3 | nvram_offset_bytes | $4 |
| DATA_SOURCE | 4 | nvram_size_bytes | $5 |
| FUZZY_MAX | 2 | image_type | 9 |
| BIT_INFO | 2 | image_type | 0x8,0x9 |
| HARD_MAX | 2 | image_type | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | p_hwfn->dmae_info.p_dmae_cmd->src_addr_hi | 0[c] |
| HOST_DATA | 0 | p_hwfn->dmae_info.p_dmae_cmd->src_addr_lo | 0,3702784-540631039[c] |
| HOST_DATA | 0 | p_hwfn->mcp_info->drv_mb_seq | 0-u16max |
| HOST_DATA | 0 | p_hwfn->mcp_info->drv_pulse_seq | 0-s16max |
| HOST_DATA | 0 | p_hwfn->mcp_info->mcp_hist | 0-u32max |
| HOST_DATA | 0 | p_hwfn->mcp_info->public_base | 0,2097152-u32max |
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | global &qed_dbg_lock |