Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/platform/arm64/huawei-gaokun-ec.c gaokun_ec_read() -> gaokun_ec_request()

Type Parameter Key Value
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 2 resp_len 3-4,6,9,22
PARAM_VALUE 3 resp 4096-ptr_max
BUF_SIZE 0 ec s32min-(-1),1-s32max
BUF_SIZE 0 ec s32min-(-1),1-s32max
BUF_SIZE 1 req 4-5
BUF_SIZE 1 req 4-5
BUF_SIZE 3 resp 3-4,6,9,22
BUF_SIZE 3 resp 3-4,6,9,22
DATA_SOURCE 0 ec $0
DATA_SOURCE 1 req $1
DATA_SOURCE 2 resp_len $2
DATA_SOURCE 3 resp $3
HARD_MAX 2 resp_len 22
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec unit_byte
UNITS 2 resp_len unit_byte
HALF_LOCKED2 _T->lock

drivers/platform/arm64/huawei-gaokun-ec.c gaokun_ec_write() -> gaokun_ec_request()

Type Parameter Key Value
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 2 resp_len 2
PARAM_VALUE 3 resp 4096-ptr_max
BUF_SIZE 0 ec s32min-(-1),1-s32max
BUF_SIZE 0 ec s32min-(-1),1-s32max
BUF_SIZE 1 req (-1),5,8,28
BUF_SIZE 1 req (-1),5,8,28
BUF_SIZE 3 resp 2
DATA_SOURCE 0 ec $0
DATA_SOURCE 1 req $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec unit_byte
UNITS 2 resp_len unit_byte
HALF_LOCKED2 &of->mutex