Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c __nfp_rtsym_read() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 1 destination 0-s32max
BUF_SIZE 3 kernel_vaddr (-1),12
BUF_SIZE 3 kernel_vaddr (-1),12
CAPPED_DATA 4 length 1
CAPPED_DATA 4 length 1
DATA_SOURCE 0 cpp $0
DATA_SOURCE 3 kernel_vaddr $5
DATA_SOURCE 4 length $6 [m]
RX_PATH
TASK_NOT_RUNNING
UNITS 4 length unit_byte

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c __nfp_rtsym_table_read() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 1 destination 117448728
PARAM_VALUE 3 kernel_vaddr 16,4096-ptr_max
PARAM_VALUE 4 length 0-4000000
BUF_SIZE 3 kernel_vaddr 0-u32max
DATA_SOURCE 0 cpp $0
DATA_SOURCE 3 kernel_vaddr r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c __nfp_rtsym_table_read() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 1 destination 117448728
PARAM_VALUE 3 kernel_vaddr 4096-ptr_max
DATA_SOURCE 0 cpp $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_nsp_command_buf_def() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 3 kernel_vaddr 4096-ptr_max
PARAM_VALUE 4 length 16-4111
BUF_SIZE 3 kernel_vaddr 16-4111
CAPPED_DATA 4 length 1
BIT_INFO 1 destination 0x0,0xffffff00
RX_PATH
TASK_NOT_RUNNING
UNITS 2 address unit_byte
UNITS 4 length unit_byte
HALF_LOCKED2 _T->lock

drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c nfp_dump_csr_range() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 1 destination 0-s32max
PARAM_VALUE 2 address 0-4294967294
PARAM_VALUE 4 length 4,8
CAPPED_DATA 2 address 1
CAPPED_DATA 4 length 1
DATA_SOURCE 1 destination r nfp_get_numeric_cpp_id

drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c nfp_read_indirect_csr() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 1 destination 0-s32max
PARAM_VALUE 2 address 32,1056-4294966304
PARAM_VALUE 3 kernel_vaddr 4096-ptr_max
PARAM_VALUE 4 length 4,8
CAPPED_DATA 2 address 1
CAPPED_DATA 4 length 1
DATA_SOURCE 0 cpp $0
DATA_SOURCE 1 destination r nfp_get_numeric_cpp_id
DATA_SOURCE 2 address r nfp_get_ind_csr_ctx_ptr_offs
DATA_SOURCE 3 kernel_vaddr $5
DATA_SOURCE 4 length $3
BIT_INFO 2 address 0x20,0xffffffff

drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c nfp_read_indirect_csr() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 1 destination 0-s32max
PARAM_VALUE 2 address 0-4294967294
PARAM_VALUE 3 kernel_vaddr 4096-ptr_max
PARAM_VALUE 4 length 4,8
CAPPED_DATA 2 address 1
CAPPED_DATA 4 length 1
DATA_SOURCE 0 cpp $0
DATA_SOURCE 1 destination r nfp_get_numeric_cpp_id
DATA_SOURCE 2 address $2
DATA_SOURCE 3 kernel_vaddr $5
DATA_SOURCE 4 length $3

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_cpp_resource_find() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 0 cpp 4096-ptr_max
PARAM_VALUE 0 cpp->resource_lock.raw_lock.wlocked 0
PARAM_VALUE 1 destination 117441280
PARAM_VALUE 2 address 554050781184-554050785248
PARAM_VALUE 3 kernel_vaddr 7715907922936455168
PARAM_VALUE 4 length 32
BUF_SIZE 3 kernel_vaddr 32
DATA_SOURCE 0 cpp $0
FUZZY_MAX 2 address 554050785248
STR_LEN 0 cpp 6,8
STR_LEN 0 cpp 6,8
HARD_MAX 2 address 554050785248
RX_PATH
TASK_NOT_RUNNING
UNITS 4 length unit_byte

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c nfp_cpp_readl() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 1 destination 0-s32max
PARAM_VALUE 3 kernel_vaddr 7494311106614960128
PARAM_VALUE 4 length 4
BUF_SIZE 0 cpp (-1),2064
BUF_SIZE 0 cpp (-1),2064
BUF_SIZE 0 cpp->priv (-1),2072
BUF_SIZE 3 kernel_vaddr 4
DATA_SOURCE 0 cpp $0
DATA_SOURCE 1 destination $1
DATA_SOURCE 2 address $2
STR_LEN 0 cpp (-1),6,8
STR_LEN 0 cpp (-1),6,8
STR_LEN 0 cpp->dev.init_name (-1)
RX_PATH
TASK_NOT_RUNNING
UNITS 4 length unit_byte

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c nfp_cpp_readq() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 3 kernel_vaddr 500524566998679552
PARAM_VALUE 4 length 8
BUF_SIZE 3 kernel_vaddr 8
DATA_SOURCE 0 cpp $0
DATA_SOURCE 1 destination $1
DATA_SOURCE 2 address $2
RX_PATH
TASK_NOT_RUNNING
UNITS 4 length unit_byte

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c nfp_nffw_info_open() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 0 cpp 4096-ptr_max
PARAM_VALUE 0 cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 *cpp->resource_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 3 kernel_vaddr 4096-ptr_max
PARAM_VALUE 4 length 3208
BUF_SIZE 3 kernel_vaddr 3208
DATA_SOURCE 0 cpp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 4 length unit_byte

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c hwinfo_try_fetch() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 3 kernel_vaddr 4096-ptr_max
PARAM_VALUE 4 length 256-3999999
BUF_SIZE 3 kernel_vaddr 257-9223372036854775808
DATA_SOURCE 0 cpp $0
DATA_SOURCE 3 kernel_vaddr r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 3 ==kernel_vaddr4 8052
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mip.c nfp_mip_try_read() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 0 cpp 4096-ptr_max
PARAM_VALUE 0 cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 3 kernel_vaddr 4096-ptr_max
PARAM_VALUE 4 length 96
BUF_SIZE 3 kernel_vaddr 96
DATA_SOURCE 0 cpp $0
DATA_SOURCE 1 destination $1
DATA_SOURCE 2 address $2
DATA_SOURCE 3 kernel_vaddr $3
RX_PATH
TASK_NOT_RUNNING
UNITS 4 length unit_byte

drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_dump_nsp_diag() -> nfp_cpp_read()

Type Parameter Key Value
PARAM_VALUE 0 cpp 4096-ptr_max
PARAM_VALUE 0 cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 *cpp->resource_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 3 kernel_vaddr 1-u64max
PARAM_VALUE 4 length 0,256-u32max
CAPPED_DATA 4 length 1
DATA_SOURCE 3 kernel_vaddr $2
UNITS 4 length unit_byte
HALF_LOCKED2 global &rtnl_mutex