Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66560
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66568
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66576
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66592
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66600
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66608
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66616
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66624
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66632
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66640
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67072
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67328
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67336
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67584
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67600
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67616
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67624
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67632
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67640
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67648
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67656
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67840
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67848
PARAM_VALUE 2 qidx 0-7

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68608
PARAM_VALUE 2 qidx 0-1

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68624
PARAM_VALUE 2 qidx 0-1

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68640
PARAM_VALUE 2 qidx 0-1

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68648
PARAM_VALUE 2 qidx 0-1

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68656
PARAM_VALUE 2 qidx 0-1

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68664
PARAM_VALUE 2 qidx 0-1

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68672
PARAM_VALUE 2 qidx 0-1

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68680
PARAM_VALUE 2 qidx 0-1

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_get_regs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68688
PARAM_VALUE 2 qidx 0-1

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_cq_intr_handler() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66624
DATA_SOURCE 2 qidx $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size
LOCK2 &cq->lock
LOCK2 bh
TYPE_LOCK (struct cmp_queue)->lock

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_cq_intr_handler() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66600
DATA_SOURCE 2 qidx $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size
LOCK2 &cq->lock
LOCK2 bh
TYPE_LOCK (struct cmp_queue)->lock

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_handle_qs_err() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66624
PARAM_VALUE 2 qidx 0-254
CAPPED_DATA 0 nic->netdev->num_tx_queues 1
CAPPED_DATA 2 qidx 1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size
HALF_LOCKED2 bh

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_poll() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 66600
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_config_vlan_stripping() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 1 offset 65552
PARAM_VALUE 2 qidx 0
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_poll_reg() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67648,68672
PARAM_VALUE 2 qidx 0-254
CAPPED_DATA 0 nic->qs->cq_cnt 1
CAPPED_DATA 2 qidx 1
DATA_SOURCE 0 nic $0
DATA_SOURCE 1 offset $2
DATA_SOURCE 2 qidx $1
HARD_MAX 1 offset 68672
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_reclaim_rbdr() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68648
PARAM_VALUE 2 qidx 0
CAPPED_DATA 0 nic->qs->cq_cnt 1
DATA_SOURCE 0 nic $0
DATA_SOURCE 2 qidx $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_reclaim_rbdr() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68656
PARAM_VALUE 2 qidx 0
CAPPED_DATA 0 nic->qs->cq_cnt 1
DATA_SOURCE 0 nic $0
DATA_SOURCE 2 qidx $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_reclaim_rbdr() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68672
PARAM_VALUE 2 qidx 0
CAPPED_DATA 0 nic->qs->cq_cnt 1
DATA_SOURCE 0 nic $0
DATA_SOURCE 2 qidx $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_reclaim_rbdr() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68688
PARAM_VALUE 2 qidx 0
CAPPED_DATA 0 nic->qs->cq_cnt 1
DATA_SOURCE 0 nic $0
DATA_SOURCE 2 qidx $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_refill_rbdr() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68672
PARAM_VALUE 2 qidx 0,18446744071562067968-u64max
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_refill_rbdr() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 68656
PARAM_VALUE 2 qidx 0,18446744071562067968-u64max
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_sq_disable() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67584
PARAM_VALUE 2 qidx 0-254
CAPPED_DATA 0 nic->netdev->num_tx_queues 1
CAPPED_DATA 2 qidx 1
DATA_SOURCE 0 nic $0
DATA_SOURCE 2 qidx $1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size
HALF_LOCKED2 bh

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_sq_enable() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67584
PARAM_VALUE 2 qidx 0-254
CAPPED_DATA 0 nic->netdev->num_tx_queues 1
CAPPED_DATA 2 qidx 1
DATA_SOURCE 0 nic $0
DATA_SOURCE 2 qidx $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size
HALF_LOCKED2 bh

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_sq_free_used_descs() -> nicvf_queue_reg_read()

Type Parameter Key Value
PARAM_VALUE 1 offset 67624
PARAM_VALUE 2 qidx 0-254
CAPPED_DATA 2 qidx 1
DATA_SOURCE 2 qidx $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 qidx unit_array_size
HALF_LOCKED2 bh