Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/amd/xgbe/xgbe-dev.c xgbe_write_mmd_regs() -> xgbe_write_mmd_regs_v3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | pdata->vdata | 4096-ptr_max |
| PARAM_VALUE | 0 | pdata->vdata->xpcs_access | 2 |
| PARAM_VALUE | 1 | prtad | 0 |
| 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 | prtad | $1 |
| DATA_SOURCE | 2 | mmd_reg | $2 |
| DATA_SOURCE | 3 | mmd_data | $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 |
| BIT_INFO | 2 | mmd_reg | 0x40000000,0x7fffffff |
| 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 | 0 | pdata->an_int | 0-s32max |
| HOST_DATA | 0 | pdata->an_status | 0,2-2147483646 |
| HOST_DATA | 0 | pdata->lpm_ctrl | 2048-2147485695[c] |
| HOST_DATA | 3 | mmd_data | s32min-s32max |
| USER_DATA | 0 | pdata->channel_count | 1-s32max[c] |
| USER_DATA | 0 | pdata->new_tx_ring_count | 0-u32max[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->rx_ring_count | 1-4294967294[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 | &pdata->an_mutex | ||
| HALF_LOCKED2 | &pool->lock |