Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/broadcom/bnx2.c bnx2_nvram_write() -> bnx2_nvram_write_dword()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->flash_info | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->flash_info->flags | 1,3-4 |
| PARAM_VALUE | 0 | bp->flash_info->page_size | 4,256,264 |
| PARAM_VALUE | 1 | offset | 0-4294967294 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| PARAM_VALUE | 3 | cmd_flags | 0 |
| CAPPED_DATA | 0 | bp->flash_info->page_size | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| FUZZY_MAX | 0 | bp->flash_info->page_size | 4 |
| BIT_INFO | 0 | bp->flash_info->flags | 0x0,0x6 |
| USER_DATA | 1 | offset | 0-4294967294[c] |
| NO_OVERFLOW_SIMPLE | 1 | offset | |
| UNITS | 1 | offset | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/broadcom/bnx2.c bnx2_nvram_write() -> bnx2_nvram_write_dword()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->flash_info | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->flash_info->flags | 1,3-4 |
| PARAM_VALUE | 0 | bp->flash_info->page_size | 4,256,264 |
| PARAM_VALUE | 1 | offset | 0-4294967294 |
| PARAM_VALUE | 3 | cmd_flags | 0,128,256,384 |
| BUF_SIZE | 2 | val | 2-4103,u64max |
| BUF_SIZE | 2 | val | 2-4103,u64max |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| FUZZY_MAX | 0 | bp->flash_info->page_size | 4 |
| FUZZY_MAX | 3 | cmd_flags | 128 |
| BIT_INFO | 3 | cmd_flags | 0x0,0x180 |
| NOSPEC | 1 | offset | |
| USER_DATA | 1 | offset | 0-s32max[c] |
| USER_DATA | 2 | *val | 0-255 |
| UNITS | 1 | offset | unit_byte |
| USER_PTR | 2 | val | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/broadcom/bnx2.c bnx2_nvram_write() -> bnx2_nvram_write_dword()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->flash_info | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->flash_info->flags | 1,3-4 |
| PARAM_VALUE | 0 | bp->flash_info->page_size | 4,256,264 |
| PARAM_VALUE | 1 | offset | 0-4294967294 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| PARAM_VALUE | 3 | cmd_flags | 0,256 |
| CAPPED_DATA | 0 | bp->flash_info->page_size | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| FUZZY_MAX | 0 | bp->flash_info->page_size | 4 |
| FUZZY_MAX | 3 | cmd_flags | 256 |
| BIT_INFO | 0 | bp->flash_info->flags | 0x0,0x6 |
| BIT_INFO | 3 | cmd_flags | 0x0,0x100 |
| HARD_MAX | 3 | cmd_flags | 256 |
| UNITS | 1 | offset | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |