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_ext()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 3 pdata 8619775100200206336
BUF_SIZE 0 hw 592
CAPPED_DATA 0 hw->mdio.prtad 1
DATA_SOURCE 1 dev $2
DATA_SOURCE 2 reg $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 reg 0-u16max[c]
HALF_LOCKED2 &efx->mac_lock

drivers/net/ethernet/atheros/alx/hw.c alx_get_phy_info() -> alx_read_phy_ext()

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 dev 3
PARAM_VALUE 2 reg 5
PARAM_VALUE 3 pdata 8198362498755637248
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_get_phy_info() -> alx_read_phy_ext()

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 dev 3
PARAM_VALUE 2 reg 6
PARAM_VALUE 3 pdata 1505151117176705024
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_post_phy_link() -> alx_read_phy_ext()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->duplex 0-1
PARAM_VALUE 0 hw->link_speed 10,100,1000
PARAM_VALUE 0 hw->mdio_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->pdev 4096-ptr_max
PARAM_VALUE 1 dev 3
PARAM_VALUE 2 reg 32774
PARAM_VALUE 3 pdata 3390413965830451200
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
NOCHECK_CALL
LOCK2 &alx->mtx
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/hw.c alx_post_phy_link() -> alx_read_phy_ext()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->duplex 0-1
PARAM_VALUE 0 hw->link_speed 100,1000
PARAM_VALUE 0 hw->mdio_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->pdev 4096-ptr_max
PARAM_VALUE 1 dev 7
PARAM_VALUE 2 reg 32794
PARAM_VALUE 3 pdata 3390413965830451200
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
BIT_INFO 0 hw->link_speed 0x60,0xffffffffffffffff
NOCHECK_CALL
LOCK2 &alx->mtx
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/hw.c alx_post_phy_link() -> alx_read_phy_ext()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->duplex 0-1
PARAM_VALUE 0 hw->link_speed 10,100,1000
PARAM_VALUE 0 hw->mdio_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->pdev 4096-ptr_max
PARAM_VALUE 1 dev 7
PARAM_VALUE 2 reg 32794
PARAM_VALUE 3 pdata 3390413965830451200
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
NOCHECK_CALL
LOCK2 &alx->mtx
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/hw.c alx_post_phy_link() -> alx_read_phy_ext()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->duplex 255
PARAM_VALUE 0 hw->link_speed (-1)
PARAM_VALUE 0 hw->mdio_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->pdev 4096-ptr_max
PARAM_VALUE 0 hw->rx_ctrl 0,4-4294967292
PARAM_VALUE 1 dev 7
PARAM_VALUE 2 reg 32794
PARAM_VALUE 3 pdata 3390413965830451200
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
NOCHECK_CALL
LOCK2 &alx->mtx
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/hw.c alx_reset_phy() -> alx_read_phy_ext()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->lnk_patch 1
PARAM_VALUE 0 hw->mdio_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dev 3
PARAM_VALUE 2 reg 32771
PARAM_VALUE 3 pdata 1843951425134141440
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &alx->mtx
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/hw.c alx_reset_phy() -> alx_read_phy_ext()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->lnk_patch 1
PARAM_VALUE 0 hw->mdio_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dev 3
PARAM_VALUE 2 reg 32773
PARAM_VALUE 3 pdata 1843951425134141440
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &alx->mtx
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct alx_priv)->mtx