Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_check_link() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 1
PARAM_VALUE 2 phy_data 4661058637424971776
BUF_SIZE 0 hw 120
PREEMPT_ADD
NOCHECK_CALL
LOCK2 &adapter->mdio_lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct atl1e_adapter)->mdio_lock

drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_check_link() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 1
PARAM_VALUE 2 phy_data 4661058637424971776
BUF_SIZE 0 hw 120
PREEMPT_ADD
NOCHECK_CALL
HOST_DATA 2 *phy_data 0-u16max
LOCK2 &adapter->mdio_lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct atl1e_adapter)->mdio_lock

drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_clear_phy_int() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 19
PARAM_VALUE 2 phy_data 1097687738174451712
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adapter->mdio_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct atl1e_adapter)->mdio_lock

drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_link_chg_event() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 1
PARAM_VALUE 2 phy_data 6213575261229023232
PARAM_VALUE 2 *phy_data 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adapter->mdio_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct atl1e_adapter)->mdio_lock

drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_link_chg_event() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 1
PARAM_VALUE 2 phy_data 6213575261229023232
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 *phy_data 0-u16max
LOCK2 &adapter->mdio_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct atl1e_adapter)->mdio_lock

drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_mdio_read() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 0-31
PARAM_VALUE 2 phy_data 3409275715209134080
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_mii_ioctl() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 0-31
PARAM_VALUE 2 phy_data 4096-ptr_max
PREEMPT_ADD <- disables preempt
LOCK2 &adapter->mdio_lock
LOCK2 flags
TYPE_LOCK (struct atl1e_adapter)->mdio_lock

drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_suspend() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 1
PARAM_VALUE 2 phy_data 8942215624160788480
PARAM_VALUE 2 *phy_data 0
BUF_SIZE 0 hw 120
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_suspend() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 1
PARAM_VALUE 2 phy_data 8942215624160788480
BUF_SIZE 0 hw 120
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 *phy_data 0-u16max
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_suspend() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->phy_configured 0
PARAM_VALUE 0 *hw->adapter->netdev->name 0-255
PARAM_VALUE 1 reg_addr 1
PARAM_VALUE 2 phy_data 8942215624160788480
BUF_SIZE 0 hw 120
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 *phy_data 0-u16max
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_suspend() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->phy_configured 0
PARAM_VALUE 0 *hw->adapter->netdev->name 0-255
PARAM_VALUE 1 reg_addr 19
PARAM_VALUE 2 phy_data 3907820192494841856
PARAM_VALUE 2 *phy_data 0
BUF_SIZE 0 hw 120
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/atheros/atl1e/atl1e_hw.c atl1e_get_speed_and_duplex() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 1 reg_addr 17
PARAM_VALUE 2 phy_data 7990641069569761280
DATA_SOURCE 0 hw $0

drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c atl1e_get_regs() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 0
PARAM_VALUE 2 phy_data 5914857929031831552
BUF_SIZE 0 hw 120
NOCHECK_CALL

drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c atl1e_get_regs() -> atl1e_read_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 1
PARAM_VALUE 2 phy_data 5914857929031831552
BUF_SIZE 0 hw 120
NOCHECK_CALL
HOST_DATA 2 *phy_data 0-u16max