Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/amd/xgbe/xgbe-dev.c xgbe_read_ext_mii_regs_c22() -> xgbe_read_ext_mii_regs()

Type Parameter Key Value
PARAM_VALUE 0 pdata 4096-ptr_max
PARAM_VALUE 0 pdata->phy_data 4096-ptr_max
PARAM_VALUE 0 pdata->xprop_regs 4096-ptr_max
PARAM_VALUE 1 mdio_sca 0-2097151
BUF_SIZE 0 pdata s32min-(-1),1-s32max
BUF_SIZE 0 pdata s32min-(-1),1-s32max
DATA_SOURCE 0 pdata $0
DATA_SOURCE 1 mdio_sca r xgbe_create_mdio_sca_c22
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 mdio_sca 0-2097151[c][u]
LOCK2 global &xgbe_phy_comm_lock
HALF_LOCKED2 &mii->mdio_lock
HALF_LOCKED2 &priv->bus->mdio_lock

drivers/net/ethernet/amd/xgbe/xgbe-dev.c xgbe_read_ext_mii_regs_c45() -> xgbe_read_ext_mii_regs()

Type Parameter Key Value
PARAM_VALUE 0 pdata 4096-ptr_max
PARAM_VALUE 0 pdata->phy_data 4096-ptr_max
PARAM_VALUE 0 pdata->xprop_regs 4096-ptr_max
PARAM_VALUE 1 mdio_sca 0-67108863
BUF_SIZE 0 pdata s32min-(-1),1-s32max
BUF_SIZE 0 pdata s32min-(-1),1-s32max
DATA_SOURCE 0 pdata $0
DATA_SOURCE 1 mdio_sca r xgbe_create_mdio_sca_c45
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 mdio_sca 0-67108863[c]
USER_DATA 1 mdio_sca 0-67108863[c][u]
LOCK2 global &xgbe_phy_comm_lock
HALF_LOCKED2 &mii->mdio_lock
TYPE_LOCK (struct mii_bus)->mdio_lock