Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_copy_from_w32be() -> vcap_apply_width()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 width 1-u16max
PARAM_VALUE 2 bytes 1,4,6-9,14,16
BUF_SIZE 0 dst 6-9,14,16
BUF_SIZE 0 dst 6-9,14,16
CAPPED_DATA 2 bytes 1
DATA_SOURCE 0 dst $0
DATA_SOURCE 1 width $3
DATA_SOURCE 2 bytes $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &admin->vctrl->lock

drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_copy_limited_actionfield() -> vcap_apply_width()

Type Parameter Key Value
PARAM_VALUE 1 width 1-u16max
PARAM_VALUE 2 bytes 1,4,6-9,14,16
BUF_SIZE 0 dst 4,6-9,14,16
BUF_SIZE 0 dst 4,6-9,14,16
DATA_SOURCE 0 dst $0
DATA_SOURCE 1 width $2
DATA_SOURCE 2 bytes $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &admin->vctrl->lock

drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_copy_limited_keyfield() -> vcap_apply_width()

Type Parameter Key Value
PARAM_VALUE 1 width 1-u16max
PARAM_VALUE 2 bytes 1,4,6-9,14,16
BUF_SIZE 0 dst 4,6-9,14,16
BUF_SIZE 0 dst 4,6-9,14,16
DATA_SOURCE 0 dst $0
DATA_SOURCE 1 width $4
DATA_SOURCE 2 bytes $5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &admin->vctrl->lock

drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_copy_limited_keyfield() -> vcap_apply_width()

Type Parameter Key Value
PARAM_VALUE 1 width 1-u16max
PARAM_VALUE 2 bytes 1,4,6-9,14,16
BUF_SIZE 0 dst 4,6-9,14,16
BUF_SIZE 0 dst 4,6-9,14,16
CAPPED_DATA 2 bytes 1
DATA_SOURCE 0 dst $1
DATA_SOURCE 1 width $4
DATA_SOURCE 2 bytes $5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &admin->vctrl->lock