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_reg_read()

Type Parameter Key Value
PARAM_VALUE 1 offset 32

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

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 304,312
BIT_INFO 1 offset 0x130,0x138

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

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 512

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

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 544

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

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 576

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

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 608

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

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 8416

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

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 8704,8712-8736
BIT_INFO 1 offset 0x2200,0x2238

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

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16384,16392-16416
BIT_INFO 1 offset 0x4000,0x4038

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

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16680

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

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 65552

drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_set_rxfh_fields() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 1 offset 8416
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->ethtool->rss_lock
TYPE_LOCK (struct ethtool_netdev_state)->rss_lock

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_dump_intr_status() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 512
DATA_SOURCE 0 nic $0
BIT_INFO 0 nic->msg_enable 0x200,0xffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 nic unit_byte
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_handle_mbx_intr() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 304,312-u64max
DATA_SOURCE 0 nic $0
FUZZY_MAX 1 offset 304
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_misc_intr_handler() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 512
DATA_SOURCE 0 nic $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16640
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16648
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16656
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16664
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16704
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16712
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16672
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16680
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16688
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16696
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16720
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16728
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16736
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16744
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16384
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16392
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16400
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16408
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 16416
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_enable_intr() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 608
BUF_SIZE 0 nic->drv_stats (-1),352
BUF_SIZE 0 nic->pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nic->num_vec 1[c]
HOST_DATA 0 nic->pdev->current_state 0-3[c]
UNITS 0 nic unit_byte

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_is_intr_enabled() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 608
DATA_SOURCE 0 nic $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_update_rq_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67328,329472-66651904
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 nic $0
BIT_INFO 1 offset 0x10700,0x3fd0700
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nic->hw_stats.rx_bcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.rx_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_bcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_l3_bcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_l3_mcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_mcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_overrun 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_overrun_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_red 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_red_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.rx_fcs_errors 0-u64max
HOST_DATA 0 nic->hw_stats.rx_l2_errors 0-u64max
HOST_DATA 0 nic->hw_stats.rx_mcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.rx_ucast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.tx_bcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.tx_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.tx_drops 0-u64max
HOST_DATA 0 nic->hw_stats.tx_mcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.tx_ucast_frames 0-u64max

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_update_rq_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67336,329480-66651912
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 nic $0
BIT_INFO 1 offset 0x10708,0x3fd0708
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nic->hw_stats.rx_bcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.rx_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_bcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_l3_bcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_l3_mcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_mcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_overrun 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_overrun_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_red 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_red_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.rx_fcs_errors 0-u64max
HOST_DATA 0 nic->hw_stats.rx_l2_errors 0-u64max
HOST_DATA 0 nic->hw_stats.rx_mcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.rx_ucast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.tx_bcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.tx_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.tx_drops 0-u64max
HOST_DATA 0 nic->hw_stats.tx_mcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.tx_ucast_frames 0-u64max

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_update_sq_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67840,329984-66652416
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 nic $0
BIT_INFO 1 offset 0x10900,0x3fd0900
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nic->hw_stats.rx_bcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.rx_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_bcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_l3_bcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_l3_mcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_mcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_overrun 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_overrun_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_red 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_red_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.rx_fcs_errors 0-u64max
HOST_DATA 0 nic->hw_stats.rx_l2_errors 0-u64max
HOST_DATA 0 nic->hw_stats.rx_mcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.rx_ucast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.tx_bcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.tx_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.tx_drops 0-u64max
HOST_DATA 0 nic->hw_stats.tx_mcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.tx_ucast_frames 0-u64max

drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_update_sq_stats() -> nicvf_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 nic 4096-ptr_max
PARAM_VALUE 1 offset 67848,329992-66652424
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 nic $0
BIT_INFO 1 offset 0x10908,0x3fd0908
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nic->hw_stats.rx_bcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.rx_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_bcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_l3_bcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_l3_mcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_mcast 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_overrun 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_overrun_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_red 0-u64max
HOST_DATA 0 nic->hw_stats.rx_drop_red_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.rx_fcs_errors 0-u64max
HOST_DATA 0 nic->hw_stats.rx_l2_errors 0-u64max
HOST_DATA 0 nic->hw_stats.rx_mcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.rx_ucast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.tx_bcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.tx_bytes 0-u64max
HOST_DATA 0 nic->hw_stats.tx_drops 0-u64max
HOST_DATA 0 nic->hw_stats.tx_mcast_frames 0-u64max
HOST_DATA 0 nic->hw_stats.tx_ucast_frames 0-u64max