Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m_get_module_eeprom() -> mlxsw_env_get_module_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->get_module_eeprom 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->get_module_info 0,4096-ptr_max
PARAM_VALUE 0 netdev->phydev 0,4096-ptr_max
PARAM_VALUE 0 netdev->priv->mlxsw_m 4096-ptr_max
PARAM_VALUE 0 netdev->sfp_bus 0
PARAM_VALUE 4 ee 6609599417395372032
PARAM_VALUE 4 ee->len 1-4096
PARAM_VALUE 5 data 4096-ptr_max
BUF_SIZE 5 data 4096
BUF_SIZE 5 data 4096
DATA_SOURCE 0 netdev $0
DATA_SOURCE 4 ee $1
DATA_SOURCE 5 data $2
NOSPEC 4 ee->offset
RX_PATH
USER_DATA 4 ee->cmd 0-u32max
USER_DATA 4 ee->len 1-4095[c]
USER_DATA 4 ee->magic 0-u32max
USER_DATA 4 ee->offset 0-2147487742[c]
NO_OVERFLOW_SIMPLE 4 ee->len
NO_OVERFLOW_SIMPLE 4 ee->offset
USER_PTR 4 ee->data

drivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c mlxsw_sp_get_module_eeprom() -> mlxsw_env_get_module_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->get_module_eeprom 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->get_module_info 0,4096-ptr_max
PARAM_VALUE 0 netdev->phydev 0,4096-ptr_max
PARAM_VALUE 0 netdev->sfp_bus 0
PARAM_VALUE 4 ee 6609599417395372032
PARAM_VALUE 4 ee->len 1-4096
PARAM_VALUE 5 data 4096-ptr_max
BUF_SIZE 5 data 4096
BUF_SIZE 5 data 4096
DATA_SOURCE 0 netdev $0
DATA_SOURCE 4 ee $1
DATA_SOURCE 5 data $2
NOSPEC 4 ee->offset
RX_PATH
USER_DATA 4 ee->cmd 0-u32max
USER_DATA 4 ee->len 1-4095[c]
USER_DATA 4 ee->magic 0-u32max
USER_DATA 4 ee->offset 0-2147487742[c]
NO_OVERFLOW_SIMPLE 4 ee->len
NO_OVERFLOW_SIMPLE 4 ee->offset
USER_PTR 4 ee->data