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_info() -> mlxsw_env_get_module_info()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq->status 0-4294967295
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_info 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 modinfo 2265250253310009344,2277471432850599936,3786866435546800128
DATA_SOURCE 0 netdev $0
DATA_SOURCE 4 modinfo $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 modinfo->cmd 0-u32max
USER_DATA 4 modinfo->eeprom_len 0-u32max
USER_DATA 4 modinfo->type 0-u32max
USER_PTR 4 modinfo->reserved

drivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c mlxsw_sp_get_module_info() -> mlxsw_env_get_module_info()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq->status 0-4294967295
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_info 4096-ptr_max
PARAM_VALUE 0 netdev->phydev 0,4096-ptr_max
PARAM_VALUE 0 netdev->sfp_bus 0
PARAM_VALUE 4 modinfo 2265250253310009344,2277471432850599936,3786866435546800128
DATA_SOURCE 0 netdev $0
DATA_SOURCE 4 modinfo $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 modinfo->cmd 0-u32max
USER_DATA 4 modinfo->eeprom_len 0-u32max
USER_DATA 4 modinfo->type 0-u32max
USER_PTR 4 modinfo->reserved