Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/atheros/atlx/atl2.c atl2_force_ps() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 29
PARAM_VALUE 2 phy_data 0
BUF_SIZE 0 hw (-1),96
BUF_SIZE 0 hw (-1),96
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/atheros/atlx/atl2.c atl2_force_ps() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_addr 4096-ptr_max
PARAM_VALUE 1 reg_addr 30
BUF_SIZE 0 hw (-1),96
BUF_SIZE 0 hw (-1),96
DATA_SOURCE 0 hw $0
BIT_INFO 2 phy_data 0x1000,0xffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 phy_data 0-u16max
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/atheros/atlx/atl2.c atl2_force_ps() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_addr 4096-ptr_max
PARAM_VALUE 1 reg_addr 29
PARAM_VALUE 2 phy_data 2
BUF_SIZE 0 hw (-1),96
BUF_SIZE 0 hw (-1),96
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/atheros/atlx/atl2.c atl2_force_ps() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_addr 4096-ptr_max
PARAM_VALUE 1 reg_addr 30
PARAM_VALUE 2 phy_data 12288
BUF_SIZE 0 hw (-1),96
BUF_SIZE 0 hw (-1),96
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/atheros/atlx/atl2.c atl2_force_ps() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_addr 4096-ptr_max
PARAM_VALUE 1 reg_addr 29
PARAM_VALUE 2 phy_data 3
BUF_SIZE 0 hw (-1),96
BUF_SIZE 0 hw (-1),96
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/atheros/atlx/atl2.c atl2_force_ps() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_addr 4096-ptr_max
PARAM_VALUE 1 reg_addr 30
PARAM_VALUE 2 phy_data 0
BUF_SIZE 0 hw (-1),96
BUF_SIZE 0 hw (-1),96
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/atheros/atlx/atl2.c atl2_mii_ioctl() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 0-30
PREEMPT_ADD <- disables preempt
LOCK2 &adapter->stats_lock
LOCK2 flags
TYPE_LOCK (struct atl2_adapter)->stats_lock

drivers/net/ethernet/atheros/atlx/atl2.c atl2_phy_commit() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->autoneg_advertised 1-2,4,8,15
PARAM_VALUE 0 hw->hw_addr 4096-ptr_max
PARAM_VALUE 0 hw->mii_autoneg_adv_reg 3104,3136,3200,3328,3552
PARAM_VALUE 0 hw->phy_configured 0
PARAM_VALUE 1 reg_addr 0
PARAM_VALUE 2 phy_data 37376
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 hw->pci_cmd_word 0

drivers/net/ethernet/atheros/atlx/atl2.c atl2_phy_config() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 reg_addr 4
BUF_SIZE 0 hw 96
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adapter->stats_lock
LOCK2 flags
TYPE_LOCK (struct atl2_adapter)->stats_lock

drivers/net/ethernet/atheros/atlx/atl2.c atl2_phy_config() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_addr 4096-ptr_max
PARAM_VALUE 1 reg_addr 0
PARAM_VALUE 2 phy_data 37376
BUF_SIZE 0 hw 96
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adapter->stats_lock
LOCK2 flags
TYPE_LOCK (struct atl2_adapter)->stats_lock

drivers/net/ethernet/atheros/atlx/atl2.c atl2_phy_init() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_addr 0-ptr_max
PARAM_VALUE 0 hw->phy_configured 0
PARAM_VALUE 1 reg_addr 29
PARAM_VALUE 2 phy_data 0
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 hw->pci_cmd_word 0

drivers/net/ethernet/atheros/atlx/atl2.c atl2_phy_init() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_addr 4096-ptr_max
PARAM_VALUE 0 hw->phy_configured 0
PARAM_VALUE 1 reg_addr 30
PARAM_VALUE 2 phy_data 0-61439
DATA_SOURCE 0 hw $0
BIT_INFO 2 phy_data 0x0,0xefff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 hw->pci_cmd_word 0
HOST_DATA 2 phy_data 0-61439[c]

drivers/net/ethernet/atheros/atlx/atl2.c atl2_phy_init() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_addr 4096-ptr_max
PARAM_VALUE 0 hw->phy_configured 0
PARAM_VALUE 1 reg_addr 18
PARAM_VALUE 2 phy_data 3072
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 hw->pci_cmd_word 0

drivers/net/ethernet/atheros/atlx/atl2.c atl2_phy_setup_autoneg_adv() -> atl2_write_phy_reg()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->autoneg_advertised 1-2,4,8,15
PARAM_VALUE 0 hw->hw_addr 4096-ptr_max
PARAM_VALUE 0 hw->mii_autoneg_adv_reg 3104,3136,3200,3328,3552
PARAM_VALUE 0 hw->phy_configured 0
PARAM_VALUE 1 reg_addr 4
PARAM_VALUE 2 phy_data 3104,3136,3200,3328,3552
DATA_SOURCE 0 hw $0
FUZZY_MAX 0 hw->autoneg_advertised 15
BIT_INFO 0 hw->mii_autoneg_adv_reg 0xc00,0xde0
BIT_INFO 2 phy_data 0xc00,0xde0
HARD_MAX 0 hw->autoneg_advertised 15
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 hw->pci_cmd_word 0