Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_get_module_eeprom() -> bnxt_read_sfp_module_eeprom_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->flags | 2-u32max |
| PARAM_VALUE | 1 | i2c_addr | 160 |
| PARAM_VALUE | 2 | page_number | 0 |
| PARAM_VALUE | 3 | bank | 0 |
| PARAM_VALUE | 4 | start_addr | 0-255 |
| PARAM_VALUE | 5 | data_length | 1-256 |
| PARAM_VALUE | 6 | buf | 4096-ptr_max |
| BUF_SIZE | 6 | buf | 4096 |
| BUF_SIZE | 6 | buf | 4096 |
| DATA_SOURCE | 6 | buf | $2 |
| FUZZY_MAX | 4 | start_addr | 255 |
| FUZZY_MAX | 5 | data_length | 256 |
| NOSPEC | 4 | start_addr | |
| NOSPEC | 4 | start_addr | |
| HARD_MAX | 4 | start_addr | 255 |
| MEM_ZERO | 6 | buf | |
| RX_PATH | |||
| USER_DATA | 4 | start_addr | 0-255[c] |
| USER_DATA | 5 | data_length | 1-256[c] |
| NO_OVERFLOW_SIMPLE | 4 | start_addr | |
| NO_OVERFLOW_SIMPLE | 5 | data_length | |
| UNITS | 4 | start_addr | unit_byte |
| UNITS | 5 | data_length | unit_byte |
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_get_module_eeprom() -> bnxt_read_sfp_module_eeprom_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | bp->flags | 2-u32max |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | i2c_addr | 162 |
| PARAM_VALUE | 2 | page_number | 0 |
| PARAM_VALUE | 3 | bank | 0 |
| PARAM_VALUE | 4 | start_addr | 0-65279,65281-u16max |
| PARAM_VALUE | 5 | data_length | 1-4096,65281-u16max |
| PARAM_VALUE | 6 | buf | 4096-ptr_max |
| BUF_SIZE | 6 | buf | (-1),4096 |
| BUF_SIZE | 6 | buf | (-1),4096 |
| DATA_SOURCE | 6 | buf | $2 [m] |
| NOSPEC | 4 | start_addr | |
| NOSPEC | 4 | start_addr | |
| RX_PATH | |||
| USER_DATA | 4 | start_addr | 0-65279,65281-u16max |
| USER_DATA | 5 | data_length | 1-4095,65281-u16max |
| USER_DATA | 6 | buf | 4096-ptr_max[c][u] |
| NO_OVERFLOW_SIMPLE | 4 | start_addr | |
| NO_OVERFLOW_SIMPLE | 5 | data_length | |
| UNITS | 4 | start_addr | unit_byte |
| UNITS | 5 | data_length | unit_byte |
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_get_module_eeprom_by_page() -> bnxt_read_sfp_module_eeprom_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->flags | 2-u32max |
| PARAM_VALUE | 0 | bp->hwrm_spec_code | 66050-u32max |
| PARAM_VALUE | 0 | bp->link_info.module_status | 0-2 |
| PARAM_VALUE | 1 | i2c_addr | 0,2-510 |
| PARAM_VALUE | 6 | buf | 16,4096-ptr_max |
| BUF_SIZE | 6 | buf | (-1),2,4,20,38 |
| BUF_SIZE | 6 | buf | (-1),2,4,20,38 |
| BIT_INFO | 1 | i2c_addr | 0x0,0xfe |
| HARD_MAX | 0 | bp->link_info.module_status | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 5 | data_length | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_get_module_info() -> bnxt_read_sfp_module_eeprom_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->flags | 2-u32max |
| PARAM_VALUE | 0 | bp->hwrm_spec_code | 66050-u32max |
| PARAM_VALUE | 0 | bp->link_info.module_status | 0-2 |
| PARAM_VALUE | 1 | i2c_addr | 160 |
| PARAM_VALUE | 2 | page_number | 0 |
| PARAM_VALUE | 3 | bank | 0 |
| PARAM_VALUE | 4 | start_addr | 0 |
| PARAM_VALUE | 5 | data_length | 93 |
| PARAM_VALUE | 6 | buf | 2127619956426375168 |
| BUF_SIZE | 6 | buf | 93 |
| FUZZY_MAX | 0 | bp->hwrm_spec_code | 66050 |
| FUZZY_MAX | 0 | bp->link_info.module_status | 2 |
| HARD_MAX | 0 | bp->link_info.module_status | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |