Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/usb/typec/ucsi/ucsi.c ucsi_read_error() -> ucsi_run_command()

Type Parameter Key Value
PARAM_VALUE 0 ucsi 4096-ptr_max
PARAM_VALUE 0 ucsi->ppm_lock.dep_map->name 0-255
PARAM_VALUE 0 ucsi->ppm_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ucsi->ppm_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ucsi->ppm_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ucsi->ppm_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ucsi->ppm_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ucsi->ppm_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 command 19,65555-8323091
PARAM_VALUE 2 cci 5084543531923378176
PARAM_VALUE 3 data 7888388951648608256
PARAM_VALUE 4 size 2
PARAM_VALUE 5 msg_out 0
PARAM_VALUE 6 msg_out_size 0
PARAM_VALUE 7 conn_ack 0
BUF_SIZE 0 ucsi s32min-(-1),1-s32max
BUF_SIZE 0 ucsi s32min-(-1),1-s32max
BUF_SIZE 3 data 2
DATA_SOURCE 0 ucsi $0
BIT_INFO 1 command 0x13,0x7f0013
BIT_INFO 1 command 0x13,0x7f0013
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 command 19,65555-8323091[c]
UNITS 4 size unit_byte
LOCK2 0 &ucsi->ppm_lock
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &con->lock
TYPE_LOCK (struct ucsi)->ppm_lock

drivers/usb/typec/ucsi/ucsi.c ucsi_run_command() -> ucsi_run_command()

Type Parameter Key Value
PARAM_VALUE 0 ucsi 4096-ptr_max
PARAM_VALUE 0 ucsi->ops 4096-ptr_max
PARAM_VALUE 1 command 2
PARAM_VALUE 2 cci 4096-ptr_max
PARAM_VALUE 3 data 0
PARAM_VALUE 4 size 0
PARAM_VALUE 5 msg_out 0
PARAM_VALUE 6 msg_out_size 0
PARAM_VALUE 7 conn_ack 0
BUF_SIZE 0 ucsi s32min-(-1),1-s32max
BUF_SIZE 0 ucsi s32min-(-1),1-s32max
DATA_SOURCE 0 ucsi $0
DATA_SOURCE 2 cci $2
BIT_INFO 2 *cci 0x10000000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 &ucsi->ppm_lock

drivers/usb/typec/ucsi/ucsi.c ucsi_send_command_common() -> ucsi_run_command()

Type Parameter Key Value
PARAM_VALUE 0 ucsi 4096-ptr_max
PARAM_VALUE 0 ucsi->ppm_lock.dep_map->name 0-255
PARAM_VALUE 0 ucsi->ppm_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ucsi->ppm_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ucsi->ppm_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ucsi->ppm_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ucsi->ppm_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ucsi->ppm_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 cci 57546508215693312
PARAM_VALUE 4 size 0-1,5-6,8,12-16,24,28
PARAM_VALUE 6 msg_out_size 0-255
BUF_SIZE 0 ucsi s32min-(-1),1-s32max
BUF_SIZE 0 ucsi s32min-(-1),1-s32max
BUF_SIZE 3 data (-1),5-6,8,12,16,24
BUF_SIZE 3 data (-1),5-6,8,12,16,24
BUF_SIZE 5 msg_out (-1),256
BUF_SIZE 5 msg_out (-1),256
CAPPED_DATA 0 &ucsi->ppm_lock 1
CAPPED_DATA 4 size 1
CAPPED_DATA 4 size 1
CAPPED_DATA 6 msg_out_size 1
CAPPED_DATA 6 msg_out_size 1
DATA_SOURCE 0 ucsi $0
DATA_SOURCE 1 command $1
DATA_SOURCE 3 data $2
DATA_SOURCE 4 size $3
DATA_SOURCE 5 msg_out $4
DATA_SOURCE 6 msg_out_size $5
DATA_SOURCE 7 conn_ack $6
NOSPEC 6 msg_out_size
NOSPEC 6 msg_out_size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 command 0-u64max
USER_DATA 6 msg_out_size 0-255[c]
UNITS 3 data unit_byte
UNITS 4 size unit_byte
LOCK2 0 &ucsi->ppm_lock
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &con->lock
TYPE_LOCK (struct ucsi)->ppm_lock