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

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 reg $3
DATA_SOURCE 2 phy_data $4
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 phy_data 0-u16max[c]

drivers/net/ethernet/atheros/alx/hw.c alx_reset_phy() -> 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 18
PARAM_VALUE 2 phy_data 3072
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_setup_speed_duplex() -> alx_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg 29
PARAM_VALUE 2 phy_data 0
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &alx->mtx
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/hw.c alx_setup_speed_duplex() -> 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 0 hw->pdev 4096-ptr_max
PARAM_VALUE 1 reg 4
PARAM_VALUE 2 phy_data 1-3553,8193-11745,16385-19937,24577-28129
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
BIT_INFO 2 phy_data 0x1,0x6fff
RX_PATH
TASK_NOT_RUNNING
LOCK2 &alx->mtx
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/hw.c alx_setup_speed_duplex() -> 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 0 hw->pdev 4096-ptr_max
PARAM_VALUE 1 reg 9
PARAM_VALUE 2 phy_data 0,256,512,768
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
FUZZY_MAX 2 phy_data 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &alx->mtx
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/hw.c alx_setup_speed_duplex() -> 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 0 hw->pdev 4096-ptr_max
PARAM_VALUE 1 reg 0
PARAM_VALUE 2 phy_data 37376
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_setup_speed_duplex() -> 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 0
PARAM_VALUE 2 phy_data 32768,33024,40960,41216
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
FUZZY_MAX 2 phy_data 32768
BIT_INFO 2 phy_data 0x8000,0xa100
RX_PATH
TASK_NOT_RUNNING
LOCK2 &alx->mtx
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/hw.c alx_setup_speed_duplex() -> 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 63
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &alx->mtx
TYPE_LOCK (struct alx_priv)->mtx