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_write() -> alx_write_phy_ext()

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

drivers/net/ethernet/atheros/alx/hw.c alx_post_phy_link() -> alx_write_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
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
BIT_INFO 0 hw->link_speed 0x60,0xffffffffffffffff
BIT_INFO 3 data 0x40,0xffff
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_write_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 data 0-65471
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
BIT_INFO 3 data 0x0,0xffbf
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_write_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 data 0-65471
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
BIT_INFO 3 data 0x0,0xffbf
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_write_phy_ext()

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 dev 3
PARAM_VALUE 2 reg 32866
PARAM_VALUE 3 data 3
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_write_phy_ext()

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 dev 7
PARAM_VALUE 2 reg 60
PARAM_VALUE 3 data 0
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_write_phy_ext()

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 dev 7
PARAM_VALUE 2 reg 32807
PARAM_VALUE 3 data 35333
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_write_phy_ext()

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 dev 7
PARAM_VALUE 2 reg 32803
PARAM_VALUE 3 data 0
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_write_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
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
BIT_INFO 3 data 0x8000,0xffff
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_write_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
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
BIT_INFO 3 data 0x4000,0xffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &alx->mtx
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct alx_priv)->mtx