Defined in 1 files as a prototype:

Defined in 2 files 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() -> ethtool_fec_caps_to_mcdi()

Type Parameter Key Value
PARAM_VALUE 1 ethtool_cap 1-u32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 ethtool_cap 1-u32max
LOCK2 &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() -> ethtool_fec_caps_to_mcdi()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &efx->mac_lock
TYPE_LOCK (struct efx_nic)->mac_lock

drivers/net/ethernet/sfc/siena/mcdi_port_common.c efx_siena_mcdi_port_reconfigure() -> ethtool_fec_caps_to_mcdi()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &efx->mac_lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/sfc/siena/mcdi_port_common.c ethtool_fec_supported() -> ethtool_fec_caps_to_mcdi()

Type Parameter Key Value
PARAM_VALUE 1 ethtool_cap 1-u32max
DATA_SOURCE 0 supported_cap $0
DATA_SOURCE 1 ethtool_cap $1
BIT_INFO 1 ethtool_cap 0x0,0xfffffffb
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 ethtool_cap 1-u32max
LOCK2 &efx->mac_lock
TYPE_LOCK (struct efx_nic)->mac_lock

drivers/net/ethernet/sfc/mcdi_port_common.c efx_mcdi_phy_set_fecparam() -> ethtool_fec_caps_to_mcdi()

Type Parameter Key Value
PARAM_VALUE 1 ethtool_cap 1-u32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 ethtool_cap 1-u32max
LOCK2 &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() -> ethtool_fec_caps_to_mcdi()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &efx->mac_lock
TYPE_LOCK (struct efx_nic)->mac_lock

drivers/net/ethernet/sfc/mcdi_port_common.c efx_mcdi_port_reconfigure() -> ethtool_fec_caps_to_mcdi()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &efx->mac_lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/sfc/mcdi_port_common.c ethtool_fec_supported() -> ethtool_fec_caps_to_mcdi()

Type Parameter Key Value
PARAM_VALUE 1 ethtool_cap 1-u32max
DATA_SOURCE 0 supported_cap $0
DATA_SOURCE 1 ethtool_cap $1
BIT_INFO 1 ethtool_cap 0x0,0xfffffffb
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 ethtool_cap 1-u32max
LOCK2 &efx->mac_lock
TYPE_LOCK (struct efx_nic)->mac_lock