Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/socionext/netsec.c netsec_clean_tx_dring() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 1044 |
| DATA_SOURCE | 0 | priv | $0 |
| NOCHECK_CALL |
drivers/net/ethernet/socionext/netsec.c netsec_irq_handler() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg_addr | 512 |
| DATA_SOURCE | 0 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/socionext/netsec.c netsec_irq_handler() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 1024 |
| DATA_SOURCE | 0 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/socionext/netsec.c netsec_irq_handler() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 1088 |
| DATA_SOURCE | 0 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/socionext/netsec.c netsec_mac_read() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 4544 |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->tx_queue_len | |
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_probe() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ioaddr | 1-u64max |
| PARAM_VALUE | 1 | reg_addr | 560 |
| BUF_SIZE | 0 | priv->dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/socionext/netsec.c netsec_process_rx() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 1108 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/socionext/netsec.c netsec_reset_hardware() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 536 |
| CAPPED_DATA | 0 | priv | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_reset_hardware() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 532 |
| CAPPED_DATA | 0 | priv | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_reset_hardware() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 532 |
| CAPPED_DATA | 0 | priv | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_reset_hardware() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 544 |
| CAPPED_DATA | 0 | priv | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_reset_hardware() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 544 |
| CAPPED_DATA | 0 | priv | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_reset_hardware() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 288 |
| CAPPED_DATA | 0 | priv | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_reset_hardware() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 288 |
| CAPPED_DATA | 0 | priv | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_reset_hardware() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 512 |
| CAPPED_DATA | 0 | priv | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_reset_hardware() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 1280 |
| CAPPED_DATA | 0 | priv | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_reset_hardware() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 1280 |
| CAPPED_DATA | 0 | priv | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_wait_while_busy() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 4548,4604,4612 |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | reg_addr | $1 |
| HARD_MAX | 1 | reg_addr | 4612 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->tx_queue_len | |
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_wait_while_busy() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 4548,4604,4612 |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | reg_addr | $1 |
| HARD_MAX | 1 | reg_addr | 4612 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->tx_queue_len | |
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_wait_while_busy() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 4548,4604,4612 |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | reg_addr | $1 |
| HARD_MAX | 1 | reg_addr | 4612 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->tx_queue_len | |
| UNITS | 0 | priv | unit_byte |
drivers/net/ethernet/socionext/netsec.c netsec_wait_while_busy() -> netsec_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_addr | 4548,4604,4612 |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | reg_addr | $1 |
| HARD_MAX | 1 | reg_addr | 4612 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | priv->phydev->attached_dev->tx_queue_len | |
| UNITS | 0 | priv | unit_byte |