Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/atheros/alx/main.c alx_mdio_read() -> alx_read_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | phy_data | 8619775100200206336 |
| BUF_SIZE | 0 | hw | 592 |
| CAPPED_DATA | 0 | hw->mdio.prtad | 1 |
| DATA_SOURCE | 1 | reg | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &efx->mac_lock |
drivers/net/ethernet/atheros/alx/hw.c alx_clear_phy_intr() -> alx_read_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 19 |
| PARAM_VALUE | 2 | phy_data | 515098956908285952 |
| BUF_SIZE | 0 | hw | 592 |
| DATA_SOURCE | 0 | hw | $0 |
| LOCK2 | &alx->mtx | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct alx_priv)->mtx |
drivers/net/ethernet/atheros/alx/hw.c alx_get_phy_config() -> alx_read_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->hw_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 1 | reg | 29 |
| PARAM_VALUE | 2 | phy_data | 2465943914105778176 |
| BUF_SIZE | 0 | hw | 592 |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &alx->mtx | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct alx_priv)->mtx |
drivers/net/ethernet/atheros/alx/hw.c alx_get_phy_info() -> alx_read_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mdio.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mdio.dev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mdio.dev->ethtool_ops | 5699814927878791168 |
| PARAM_VALUE | 0 | hw->mdio.dev->hw_features | 1099512741897 |
| PARAM_VALUE | 0 | hw->mdio.dev->netdev_ops | 1215388848333619200 |
| PARAM_VALUE | 0 | hw->mdio.dev->watchdog_timeo | 1250 |
| PARAM_VALUE | 0 | hw->mdio.mdio_read | 6625551961569218560 |
| PARAM_VALUE | 0 | hw->mdio.mdio_write | 5646974097886736384 |
| PARAM_VALUE | 0 | hw->mdio.mmds | 0 |
| PARAM_VALUE | 0 | hw->mdio.mode_support | 7 |
| PARAM_VALUE | 0 | hw->mdio.prtad | 0 |
| PARAM_VALUE | 0 | hw->mdio_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hw->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | hw->perm_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->phy_id | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->rx_ctrl | 0,4-4294967292 |
| PARAM_VALUE | 1 | reg | 2 |
| PARAM_VALUE | 2 | phy_data | 4096-ptr_max |
| BUF_SIZE | 0 | hw | 592 |
| BUF_SIZE | 2 | phy_data | 4 |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &alx->mtx | ||
| TYPE_LOCK | (struct alx_priv)->mtx |
drivers/net/ethernet/atheros/alx/hw.c alx_get_phy_info() -> alx_read_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mdio.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mdio.dev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mdio.dev->ethtool_ops | 5699814927878791168 |
| PARAM_VALUE | 0 | hw->mdio.dev->hw_features | 1099512741897 |
| PARAM_VALUE | 0 | hw->mdio.dev->netdev_ops | 1215388848333619200 |
| PARAM_VALUE | 0 | hw->mdio.dev->watchdog_timeo | 1250 |
| PARAM_VALUE | 0 | hw->mdio.mdio_read | 6625551961569218560 |
| PARAM_VALUE | 0 | hw->mdio.mdio_write | 5646974097886736384 |
| PARAM_VALUE | 0 | hw->mdio.mmds | 0 |
| PARAM_VALUE | 0 | hw->mdio.mode_support | 7 |
| PARAM_VALUE | 0 | hw->mdio.prtad | 0 |
| PARAM_VALUE | 0 | hw->mdio_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hw->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | hw->perm_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->phy_id | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->rx_ctrl | 0,4-4294967292 |
| PARAM_VALUE | 1 | reg | 3 |
| PARAM_VALUE | 2 | phy_data | 4096-ptr_max |
| BUF_SIZE | 0 | hw | 592 |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &alx->mtx | ||
| TYPE_LOCK | (struct alx_priv)->mtx |
drivers/net/ethernet/atheros/alx/hw.c alx_read_phy_link() -> alx_read_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mdio_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | reg | 1 |
| PARAM_VALUE | 2 | phy_data | 2439424567431852032 |
| BUF_SIZE | 0 | hw | 592 |
| DATA_SOURCE | 0 | hw | $0 |
| LOCK2 | &alx->mtx | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct alx_priv)->mtx |
drivers/net/ethernet/atheros/alx/hw.c alx_read_phy_link() -> alx_read_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mdio_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | reg | 1 |
| PARAM_VALUE | 2 | phy_data | 2439424567431852032 |
| BUF_SIZE | 0 | hw | 592 |
| DATA_SOURCE | 0 | hw | $0 |
| LOCK2 | &alx->mtx | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct alx_priv)->mtx |
drivers/net/ethernet/atheros/alx/hw.c alx_read_phy_link() -> alx_read_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mdio_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | reg | 17 |
| PARAM_VALUE | 2 | phy_data | 1412394607573086208 |
| BUF_SIZE | 0 | hw | 592 |
| DATA_SOURCE | 0 | hw | $0 |
| LOCK2 | &alx->mtx | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct alx_priv)->mtx |