Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c xgbe_phy_use_mode() -> xgbe_phy_use_sfp_mode()

Type Parameter Key Value
PARAM_VALUE 0 pdata 4096-ptr_max
PARAM_VALUE 0 pdata->phy_data 4096-ptr_max
PARAM_VALUE 1 mode 0-7
BUF_SIZE 0 pdata->an_workqueue (-1),512,528-8720
BUF_SIZE 0 pdata->dev_workqueue (-1),512,528-8720
DATA_SOURCE 0 pdata $0
DATA_SOURCE 1 mode $1
STR_LEN 0 pdata->an_name (-1),46
STR_LEN 0 pdata->ecc_name (-1),46
STR_LEN 0 pdata->i2c_name (-1),46
BIT_INFO 0 pdata->msg_enable 0x0,0xffffffff
NOSPEC 0 pdata->channel_count
NOSPEC 0 pdata->tx_q_count
NOSPEC 0 pdata->tx_ring_count
HARD_MAX 1 mode 7
RX_PATH
TASK_NOT_RUNNING
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_buf_size 1536-4096[c]
USER_DATA 0 pdata->tx_q_count 1-u32max[c]
USER_DATA 0 pdata->tx_ring_count 1-u32max[c]
NO_OVERFLOW_SIMPLE 0 pdata->num_tcs
HALF_LOCKED2 0 &pdata->an_mutex