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_check_for_link() -> atl2_read_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 | 1 |
| PARAM_VALUE | 2 | phy_data | 8733336153333395456 |
| PARAM_VALUE | 2 | *phy_data | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adapter->stats_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct atl2_adapter)->stats_lock |
drivers/net/ethernet/atheros/atlx/atl2.c atl2_check_for_link() -> atl2_read_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 | 1 |
| PARAM_VALUE | 2 | phy_data | 8733336153333395456 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | *phy_data | 0-u16max |
| LOCK2 | &adapter->stats_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct atl2_adapter)->stats_lock |
drivers/net/ethernet/atheros/atlx/atl2.c atl2_check_link() -> atl2_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 | 337878795100200960 |
| BUF_SIZE | 0 | hw | 96 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &adapter->stats_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct atl2_adapter)->stats_lock |
drivers/net/ethernet/atheros/atlx/atl2.c atl2_check_link() -> atl2_read_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 | 1 |
| PARAM_VALUE | 2 | phy_data | 337878795100200960 |
| BUF_SIZE | 0 | hw | 96 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | *phy_data | 0-u16max |
| LOCK2 | &adapter->stats_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct atl2_adapter)->stats_lock |
drivers/net/ethernet/atheros/atlx/atl2.c atl2_clear_phy_int() -> atl2_read_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 | 19 |
| PARAM_VALUE | 2 | phy_data | 8583004623618048000 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adapter->stats_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct atl2_adapter)->stats_lock |
drivers/net/ethernet/atheros/atlx/atl2.c atl2_force_ps() -> atl2_read_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 | 908115403995516928 |
| 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_get_regs() -> atl2_read_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 | 3938909404867190784 |
| BUF_SIZE | 0 | hw | 96 |
| NOCHECK_CALL |
drivers/net/ethernet/atheros/atlx/atl2.c atl2_get_regs() -> atl2_read_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 | 1 |
| PARAM_VALUE | 2 | phy_data | 3938909404867190784 |
| BUF_SIZE | 0 | hw | 96 |
| NOCHECK_CALL | |||
| HOST_DATA | 2 | *phy_data | 0-u16max |
drivers/net/ethernet/atheros/atlx/atl2.c atl2_get_speed_and_duplex() -> atl2_read_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 | 17 |
| PARAM_VALUE | 2 | phy_data | 6696641439578501120 |
| BUF_SIZE | 0 | hw | 96 |
| DATA_SOURCE | 0 | hw | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adapter->stats_lock | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/atheros/atlx/atl2.c atl2_mii_ioctl() -> atl2_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->stats_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct atl2_adapter)->stats_lock |
drivers/net/ethernet/atheros/atlx/atl2.c atl2_phy_init() -> atl2_read_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 | 5240909955102670848 |
| 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_suspend() -> atl2_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 | 5358947524303908864 |
| PARAM_VALUE | 2 | *phy_data | 0 |
| BUF_SIZE | 0 | hw | 96 |
| BUF_SIZE | 2 | phy_data | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/ethernet/atheros/atlx/atl2.c atl2_suspend() -> atl2_read_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 | 1 |
| PARAM_VALUE | 2 | phy_data | 5358947524303908864 |
| BUF_SIZE | 0 | hw | 96 |
| BUF_SIZE | 2 | phy_data | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | *phy_data | 0-u16max |
| HALF_LOCKED2 | &dev->mutex |