Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/switch.c tb_switch_nvm_read() -> usb4_switch_nvm_read()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->dev.power.wakeirq->status 0-4294967295
BUF_SIZE 2 buf (-1)-s32max
BUF_SIZE 2 buf (-1)-s32max
DATA_SOURCE 0 sw $0
DATA_SOURCE 1 address $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 3 size $3
PARAM_COMPARE 2 buf >= $3
NOSPEC 1 address
NOSPEC 1 address
NOSPEC 2 buf
NOSPEC 2 buf
NOSPEC 3 size
NOSPEC 3 size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 address 0-4294967294
USER_DATA 2 buf 4096-ptr_max[u]
USER_DATA 3 size 0-u32max[c]
NO_OVERFLOW_SIMPLE 2 buf->node.size
UNITS 3 size unit_byte
BYTE_COUNT 2 ==buf3 8050
HALF_LOCKED2 0 &sw->tb->lock