Defined in 2 files as a function:
- drivers/net/ethernet/sfc/mcdi_port_common.c, line 927 (as a function)
- drivers/net/ethernet/sfc/siena/mcdi_port_common.c, line 946 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/sfc/siena/mcdi_port_common.c efx_mcdi_phy_diag_type() -> efx_mcdi_phy_get_module_eeprom_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->phy_data->media | 0-4294967295 |
| PARAM_VALUE | 0 | efx->reset_work.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | *efx->net_dev->name | 0-255 |
| PARAM_VALUE | 1 | page | 0 |
| PARAM_VALUE | 2 | byte | 92 |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &efx->mac_lock | |
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/siena/mcdi_port_common.c efx_mcdi_phy_module_type() -> efx_mcdi_phy_get_module_eeprom_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 1 | page | 0 |
| PARAM_VALUE | 2 | byte | 0 |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &efx->mac_lock | |
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/siena/mcdi_port_common.c efx_mcdi_phy_sff_8472_level() -> efx_mcdi_phy_get_module_eeprom_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->phy_data->media | 0-4294967295 |
| PARAM_VALUE | 1 | page | 0 |
| PARAM_VALUE | 2 | byte | 94 |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &efx->mac_lock | |
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/mcdi_port_common.c efx_mcdi_phy_diag_type() -> efx_mcdi_phy_get_module_eeprom_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->phy_data->media | 0-4294967295 |
| PARAM_VALUE | 0 | *efx->net_dev->name | 0-255 |
| PARAM_VALUE | 1 | page | 0 |
| PARAM_VALUE | 2 | byte | 92 |
| BUF_SIZE | 0 | efx | 5888 |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &efx->mac_lock | |
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/mcdi_port_common.c efx_mcdi_phy_module_type() -> efx_mcdi_phy_get_module_eeprom_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 1 | page | 0 |
| PARAM_VALUE | 2 | byte | 0 |
| BUF_SIZE | 0 | efx | 5888 |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &efx->mac_lock | |
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/mcdi_port_common.c efx_mcdi_phy_sff_8472_level() -> efx_mcdi_phy_get_module_eeprom_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->phy_data->media | 0-4294967295 |
| PARAM_VALUE | 1 | page | 0 |
| PARAM_VALUE | 2 | byte | 94 |
| BUF_SIZE | 0 | efx | 5888 |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &efx->mac_lock | |
| TYPE_LOCK | (struct efx_nic)->mac_lock |