Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/amd/xgbe/xgbe-dev.c xgbe_write_ext_mii_regs_c22() -> xgbe_write_ext_mii_regs()

Type Parameter Key Value
PARAM_VALUE 0 pdata 4096-ptr_max
PARAM_VALUE 0 pdata->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 pdata->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 pdata->i2c.op_state.op->cmd 0-1
PARAM_VALUE 0 pdata->i2c.op_state.op->len 1-3,5,128,256
PARAM_VALUE 0 pdata->netdev->rtnl_link_ops->priv_size 0-s64max
PARAM_VALUE 0 pdata->phy_data 4096-ptr_max
PARAM_VALUE 0 pdata->vdata->ecc_support 0-1
PARAM_VALUE 0 pdata->vdata->enable_rrc 0-1
PARAM_VALUE 0 pdata->vdata->rx_desc_prefetch 0,5
PARAM_VALUE 0 pdata->vdata->tstamp_ptp_clock_freq 0-1
PARAM_VALUE 0 pdata->vdata->tx_desc_prefetch 0,5
PARAM_VALUE 0 pdata->vdata->xpcs_access 0-2
PARAM_VALUE 0 pdata->xprop_regs 4096-ptr_max
PARAM_VALUE 0 *pdata->pfcq 0-4294967295
PARAM_VALUE 0 *pdata->prio2q_map 0-4294967295
PARAM_VALUE 0 *pdata->q2tc_map 0-4294967295
PARAM_VALUE 0 *pdata->rx_rfa 0-4294967295
PARAM_VALUE 0 *pdata->rx_rfd 0-4294967295
PARAM_VALUE 1 mdio_sca 0-2097151
BUF_SIZE 0 pdata s32min-(-1),1-s32max
BUF_SIZE 0 pdata s32min-(-1),1-s32max
BUF_SIZE 0 pdata->an_workqueue (-1)-s32max
BUF_SIZE 0 pdata->dev_workqueue (-1)-s32max
DATA_SOURCE 0 pdata $0
DATA_SOURCE 1 mdio_sca r xgbe_create_mdio_sca_c22
DATA_SOURCE 2 val $3
STR_LEN 0 pdata->an_name (-1),46
STR_LEN 0 pdata->ecc_name (-1),46
STR_LEN 0 pdata->i2c_name (-1),46
NOSPEC 0 pdata->channel_count
NOSPEC 0 pdata->rx_ring_count
NOSPEC 0 pdata->tx_q_count
NOSPEC 0 pdata->tx_ring_count
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 val 0-u16max
USER_DATA 0 pdata->channel_count 1-s32max[c]
USER_DATA 0 pdata->netdev->num_tc 2-16[c]
USER_DATA 0 pdata->new_tx_ring_count 0[c]
USER_DATA 0 pdata->phy.autoneg 0
USER_DATA 0 pdata->phy.duplex 0-255
USER_DATA 0 pdata->phy.pause_autoneg s32min-s32max
USER_DATA 0 pdata->phy.rx_pause s32min-s32max
USER_DATA 0 pdata->phy.speed s32min-s32max
USER_DATA 0 pdata->phy.tx_pause s32min-s32max
USER_DATA 0 pdata->rx_ring_count 1-4294967294[c]
USER_DATA 0 pdata->tx_q_count 1-4294967294[c]
USER_DATA 0 pdata->tx_ring_count 1-4294967294[c]
USER_DATA 2 val 0-u16max
NO_OVERFLOW_SIMPLE 0 pdata->napi.skb->extensions
NO_OVERFLOW_SIMPLE 0 pdata->num_tcs
LOCK2 global &xgbe_phy_comm_lock
HALF_LOCKED2 0 &pdata->an_mutex

drivers/net/ethernet/amd/xgbe/xgbe-dev.c xgbe_write_ext_mii_regs_c45() -> xgbe_write_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-(-2),1-s32max
BUF_SIZE 0 pdata s32min-(-2),1-s32max
DATA_SOURCE 0 pdata $0
DATA_SOURCE 1 mdio_sca r xgbe_create_mdio_sca_c45
DATA_SOURCE 2 val $4
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 val 0-u16max
LOCK2 global &xgbe_phy_comm_lock
HALF_LOCKED2 &mii->mdio_lock
TYPE_LOCK (struct mii_bus)->mdio_lock