Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_check_free_pages() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->comp | 0-1 |
| PARAM_VALUE | 1 | offset | 16 |
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_check_free_pages() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->comp | 0-1 |
| PARAM_VALUE | 1 | offset | 16 |
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_hard_xmit() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 18 |
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_hard_xmit() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 6 |
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_hard_xmit() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 18 |
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_load_mac_addr() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 98 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_load_mac_addr() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 100 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_load_mac_addr() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 102 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_open() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->comp | 0-1 |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_open() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->comp | 0-1 |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_open() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->comp | 0-1 |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 78 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_probe() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->comp | 0-1 |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 82 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_probe() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->comp | 0-1 |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_process_isr() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 6 |
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_receive() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 26 |
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_receive() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 24 |
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_receive() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 28 |
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_receive() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->comp | 0-1 |
| PARAM_VALUE | 0 | ax_spi->rx_msg.optimized | 1 |
| PARAM_VALUE | 0 | ax_spi->rx_msg.queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->rx_msg.resources.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->rx_msg.spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->rx_msg.transfers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 24 |
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_reload_eeprom() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->comp | 0-1 |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_set_mac() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| LOCK2 | &phydev->lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock | ||
| TYPE_LOCK | (struct phy_device)->lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_soft_reset() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_soft_reset() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 138 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_ioctl.c ax88796c_get_regs() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,2-255 |
| LOCK2 | &ax_local->spi_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_ioctl.c ax88796c_mdio_read() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 74 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | &mdiobus->mdio_lock | ||
| HALF_LOCKED2 | &priv->bus->mdio_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_ioctl.c ax88796c_mdio_read() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 72 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | &mdiobus->mdio_lock | ||
| HALF_LOCKED2 | &priv->bus->mdio_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_ioctl.c ax88796c_mdio_write() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ax_spi->spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 74 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| HALF_LOCKED2 | &bus->mdio_lock | ||
| HALF_LOCKED2 | &mdiobus->mdio_lock | ||
| HALF_LOCKED2 | &priv->bus->mdio_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/net/ethernet/asix/ax88796c_ioctl.c ax88796c_set_pauseparam() -> AX_READ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ax_spi | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |