Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/atheros/alx/hw.c __alx_read_phy_dbg() -> __alx_write_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 29
PARAM_VALUE 2 phy_data 28,35,61
DATA_SOURCE 0 hw $0
DATA_SOURCE 2 phy_data $1
HARD_MAX 2 phy_data 61
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &alx->mtx
LOCK2 0 &hw->mdio_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct alx_hw)->mdio_lock
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/hw.c __alx_write_phy_dbg() -> __alx_write_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 29
PARAM_VALUE 2 phy_data 0,4-5,18,21,24,28,41,54,61
DATA_SOURCE 0 hw $0
DATA_SOURCE 2 phy_data $1
HARD_MAX 2 phy_data 61
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &alx->mtx
LOCK2 0 &hw->mdio_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct alx_hw)->mdio_lock
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/hw.c __alx_write_phy_dbg() -> __alx_write_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 30
DATA_SOURCE 0 hw $0
DATA_SOURCE 2 phy_data $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &alx->mtx
LOCK2 0 &hw->mdio_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct alx_hw)->mdio_lock
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/hw.c alx_write_phy_reg() -> __alx_write_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
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
DATA_SOURCE 1 reg $1
DATA_SOURCE 2 phy_data $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 phy_data 0-u16max[c]
LOCK2 0 &hw->mdio_lock
HALF_LOCKED2 &alx->mtx
TYPE_LOCK (struct alx_hw)->mdio_lock