Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/net/ethernet/sfc/mcdi_port_common.c, line 232 (as a function)
- drivers/net/ethernet/sfc/siena/mcdi_port_common.c, line 233 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/sfc/siena/mcdi_port_common.c efx_siena_mcdi_phy_set_fecparam() -> efx_get_mcdi_phy_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &efx->mac_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/siena/mcdi_port_common.c efx_siena_mcdi_phy_set_link_ksettings() -> efx_get_mcdi_phy_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| 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_siena_mcdi_port_reconfigure() -> efx_get_mcdi_phy_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| BUF_SIZE | 0 | efx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | efx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | efx->loopback_selftest | (-1),144 |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | efx->pci_dev->acs_capabilities | 0-u16max |
| HOST_DATA | 0 | efx->pci_dev->class | 0-16777215 |
| HOST_DATA | 0 | efx->pci_dev->current_state | 0-3[c] |
| HOST_DATA | 0 | efx->pci_dev->devcap | 0-u32max |
| HOST_DATA | 0 | efx->pci_dev->device | 0-u16max |
| HOST_DATA | 0 | efx->pci_dev->eetlp_prefix_max | 0-7[c] |
| HOST_DATA | 0 | efx->pci_dev->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | efx->pci_dev->hdr_type | 0-255[c] |
| HOST_DATA | 0 | efx->pci_dev->ide_cfg | 0-1[c] |
| HOST_DATA | 0 | efx->pci_dev->ide_tee_limit | 0-1[c] |
| HOST_DATA | 0 | efx->pci_dev->irq | 0-255 |
| HOST_DATA | 0 | efx->pci_dev->is_cxl | 0-1 |
| HOST_DATA | 0 | efx->pci_dev->multifunction | 0-1[c] |
| HOST_DATA | 0 | efx->pci_dev->nr_ide_mem | 0-255[c] |
| HOST_DATA | 0 | efx->pci_dev->pcie_flags_reg | 0-u16max |
| HOST_DATA | 0 | efx->pci_dev->pcie_mpss | 0-7[c] |
| HOST_DATA | 0 | efx->pci_dev->pin | 0 |
| HOST_DATA | 0 | efx->pci_dev->pme_support | 0-31[c] |
| HOST_DATA | 0 | efx->pci_dev->ptm_granularity | 0-255[c] |
| HOST_DATA | 0 | efx->pci_dev->revision | 0-255 |
| HOST_DATA | 0 | efx->pci_dev->subsystem_device | 0-u16max |
| HOST_DATA | 0 | efx->pci_dev->subsystem_vendor | 0-u16max |
| HOST_DATA | 0 | efx->pci_dev->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | efx->pci_dev->transparent | 0[c] |
| HOST_DATA | 0 | efx->pci_dev->vendor | 0-u16max |
| USER_DATA | 0 | efx->wanted_fc | 0-7[c] |
| UNITS | 0 | efx | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &efx->filter_sem | |
| HALF_LOCKED2 | 0 | &efx->mac_lock |
drivers/net/ethernet/sfc/mcdi_port_common.c efx_mcdi_phy_set_fecparam() -> efx_get_mcdi_phy_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| BUF_SIZE | 0 | efx | 5888 |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &efx->mac_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/mcdi_port_common.c efx_mcdi_phy_set_link_ksettings() -> efx_get_mcdi_phy_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| 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_port_reconfigure() -> efx_get_mcdi_phy_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| BUF_SIZE | 0 | efx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | efx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | efx->loopback_selftest | (-1),144 |
| BUF_SIZE | 0 | efx->phy_data | (-1),76 |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | efx->pci_dev->acs_capabilities | 0-u16max |
| HOST_DATA | 0 | efx->pci_dev->class | 0-16777215 |
| HOST_DATA | 0 | efx->pci_dev->current_state | 0-3[c] |
| HOST_DATA | 0 | efx->pci_dev->devcap | 0-u32max |
| HOST_DATA | 0 | efx->pci_dev->device | 0-u16max |
| HOST_DATA | 0 | efx->pci_dev->eetlp_prefix_max | 0-7[c] |
| HOST_DATA | 0 | efx->pci_dev->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | efx->pci_dev->hdr_type | 0-255[c] |
| HOST_DATA | 0 | efx->pci_dev->ide_cfg | 0-1[c] |
| HOST_DATA | 0 | efx->pci_dev->ide_tee_limit | 0-1[c] |
| HOST_DATA | 0 | efx->pci_dev->irq | 0-255 |
| HOST_DATA | 0 | efx->pci_dev->is_cxl | 0-1 |
| HOST_DATA | 0 | efx->pci_dev->multifunction | 0-1[c] |
| HOST_DATA | 0 | efx->pci_dev->nr_ide_mem | 0-255[c] |
| HOST_DATA | 0 | efx->pci_dev->pcie_flags_reg | 0-u16max |
| HOST_DATA | 0 | efx->pci_dev->pcie_mpss | 0-7[c] |
| HOST_DATA | 0 | efx->pci_dev->pin | 0 |
| HOST_DATA | 0 | efx->pci_dev->pme_support | 0-31[c] |
| HOST_DATA | 0 | efx->pci_dev->ptm_granularity | 0-255[c] |
| HOST_DATA | 0 | efx->pci_dev->revision | 0-255 |
| HOST_DATA | 0 | efx->pci_dev->subsystem_device | 0-u16max |
| HOST_DATA | 0 | efx->pci_dev->subsystem_vendor | 0-u16max |
| HOST_DATA | 0 | efx->pci_dev->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | efx->pci_dev->transparent | 0[c] |
| HOST_DATA | 0 | efx->pci_dev->vendor | 0-u16max |
| USER_DATA | 0 | efx->wanted_fc | 0-7[c] |
| UNITS | 0 | efx | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &efx->filter_sem | |
| HALF_LOCKED2 | 0 | &efx->mac_lock | |
| HALF_LOCKED2 | 0 | &efx->net_dev->ethtool->rss_lock |