Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 24 files:

Smatch caller information:

drivers/pwm/pwm-cros-ec.c cros_ec_pwm_get_duty() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->command 38
PARAM_VALUE 1 msg->insize 2
PARAM_VALUE 1 msg->outsize 2
PARAM_VALUE 1 msg->version 0
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 1 msg 20
DATA_SOURCE 0 ec_dev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/pwm/pwm-cros-ec.c cros_ec_pwm_set_duty() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 1-u64max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->command 37
PARAM_VALUE 1 msg->insize 0
PARAM_VALUE 1 msg->outsize 4
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 20
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/rtc/rtc-cros-ec.c cros_ec_rtc_get() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 7307431320834670592
PARAM_VALUE 1 msg->command 68-69
PARAM_VALUE 1 msg->insize 4
BUF_SIZE 1 msg 24
BUF_SIZE 1 msg 24
DATA_SOURCE 0 ec_dev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-cros-ec.c cros_ec_rtc_set() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 7361434265675902976
PARAM_VALUE 1 msg->command 70-71
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->outsize 4
BUF_SIZE 1 msg 24
BUF_SIZE 1 msg 24
DATA_SOURCE 0 ec_dev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
HALF_LOCKED2 &rtc->ops_lock

drivers/platform/chrome/cros_ec_proto.c cros_ec_cmd() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->insize 0-2,4-6,8,12-17,24,28,32-33,40-41,44,50,108,255
BUF_SIZE 0 ec_dev s32min-s32max
BUF_SIZE 1 msg 20-4294967315
BUF_SIZE 1 msg 20-4294967315
CAPPED_DATA 1 msg->insize 1
DATA_SOURCE 0 ec_dev $0
DATA_SOURCE 1 msg r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
HALF_LOCKED2 &adap->devnode.lock
HALF_LOCKED2 &adap->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &tc_port->port_type_lock
HALF_LOCKED2 _T->lock

drivers/platform/chrome/cros_ec_proto.c cros_ec_get_sensor_count() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->command 43-65578
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 0
PARAM_VALUE 1 msg->insize 16
PARAM_VALUE 1 msg->outsize 13
PARAM_VALUE 1 msg->version 1
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 1 msg 36
BUF_SIZE 1 msg 36
DATA_SOURCE 1 msg r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_ec_proto.c get_keyboard_state_event() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->mkbp_event_supported 0
PARAM_VALUE 1 msg 1801122296348295168
PARAM_VALUE 1 msg->command 96
PARAM_VALUE 1 msg->insize 18
PARAM_VALUE 1 msg->outsize 0
PARAM_VALUE 1 msg->version 0
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 1 msg 38
BUF_SIZE 1 msg 38
DATA_SOURCE 0 ec_dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ec_dev->event_size
NO_OVERFLOW_SIMPLE 0 ec_dev->event_size->msg.outsize
HALF_LOCKED2 &pool->lock

drivers/platform/chrome/cros_ec_proto.c get_next_event_xfer() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->mkbp_event_supported 1-255
PARAM_VALUE 0 ec_dev->suspended 0
PARAM_VALUE 1 msg 4255866755174993920
PARAM_VALUE 1 msg->command 103
PARAM_VALUE 1 msg->insize 14,17,19
PARAM_VALUE 1 msg->outsize 0
PARAM_VALUE 1 msg->version 0-3
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 1 msg 40
BUF_SIZE 1 msg 40
DATA_SOURCE 0 ec_dev $0
DATA_SOURCE 1 msg $1
FUZZY_MAX 0 ec_dev->mkbp_event_supported 4
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ec_dev->event_size
NO_OVERFLOW_SIMPLE 0 ec_dev->event_size->msg.outsize
UNITS 0 ec_dev unit_byte
HALF_LOCKED2 &pool->lock

drivers/i2c/busses/i2c-cros-ec-tunnel.c ec_i2c_xfer() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->command 158
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->num_msgs 0-255
PARAM_VALUE 1 msg->data->port 0-255
PARAM_VALUE 1 msg->insize 2-s32max
PARAM_VALUE 1 msg->outsize 0-s32max
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 22-2147483667
BUF_SIZE 1 msg 22-2147483667
DATA_SOURCE 1 msg r _kmalloc_noprof
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_ec_debugfs.c cros_ec_console_log_work() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 1848353572126126080
PARAM_VALUE 1 msg->insize 0
PARAM_VALUE 1 msg->outsize 0
PARAM_VALUE 1 msg->result 0
PARAM_VALUE 1 msg->version 0
UNITS 0 ec_dev unit_byte
HALF_LOCKED2 &pool->lock

drivers/platform/chrome/cros_ec_debugfs.c cros_ec_console_log_work() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ec_dev->host_event_wake_mask 48879,4288675598
PARAM_VALUE 0 ec_dev->lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ec_dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ec_dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ec_dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ec_dev->priv->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->priv->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->task->se.avg.util_avg 0-4294967295
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->task->se.cfs_rq->tasks_timeline.rb_leftmost->rb_left 0
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->task->se.cfs_rq->tasks_timeline.rb_leftmost->rb_right 0
PARAM_VALUE 0 ec_dev->priv->xfer_ack.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->priv->xfer_ack.wait.lock.owner (-1)
PARAM_VALUE 0 ec_dev->priv->xfer_ack.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 *ec_dev->priv->high_pri_worker->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data->subcmd 1
UNITS 0 ec_dev unit_byte
LOCK2 &debug_info->log_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct cros_ec_debugfs)->log_mutex

drivers/platform/chrome/cros_ec_debugfs.c cros_ec_get_panicinfo() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->max_response 1-u16max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->command 211
PARAM_VALUE 1 msg->insize 1-u16max
BUF_SIZE 1 msg 21-65555
BUF_SIZE 1 msg 21-65555
CAPPED_DATA 1 msg->insize 1
DATA_SOURCE 0 ec_dev $0
DATA_SOURCE 1 msg r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_ec_debugfs.c cros_ec_pdinfo_read() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 3648076826587889664
PARAM_VALUE 1 msg->command 257
PARAM_VALUE 1 msg->data->mux 0
PARAM_VALUE 1 msg->data->port 0-7
PARAM_VALUE 1 msg->data->role 0
PARAM_VALUE 1 msg->data->swap 0
PARAM_VALUE 1 msg->insize 0-u16max
PARAM_VALUE 1 msg->outsize 4
PARAM_VALUE 1 msg->version 1
BUF_SIZE 1 msg 56
BUF_SIZE 1 msg 56
FUZZY_MAX 1 msg->insize 35
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_ec_debugfs.c cros_ec_uptime_is_supported() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 8166053075161735168
PARAM_VALUE 1 msg->command 289
PARAM_VALUE 1 msg->insize 44
BUF_SIZE 1 msg 64
BUF_SIZE 1 msg 64
DATA_SOURCE 0 ec_dev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_ec_debugfs.c cros_ec_uptime_read() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 6410160186231496704
PARAM_VALUE 1 msg->command 289
PARAM_VALUE 1 msg->insize 44
BUF_SIZE 1 msg 64
BUF_SIZE 1 msg 64
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_ec_debugfs.c ec_read_version_supported() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 152
PARAM_VALUE 1 msg->insize 4
PARAM_VALUE 1 msg->outsize 2
PARAM_VALUE 1 msg->version 1
BUF_SIZE 1 msg 24
BUF_SIZE 1 msg 24
DATA_SOURCE 1 msg r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/extcon/extcon-usbc-cros-ec.c cros_ec_pd_command() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->command 257-259,282
PARAM_VALUE 1 msg->insize 1,16,35
PARAM_VALUE 1 msg->outsize 0-1,4
PARAM_VALUE 1 msg->version 0-1
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 1 msg 20-21,36,55
BUF_SIZE 1 msg 20-21,36,55
DATA_SOURCE 1 msg r _kzalloc_noprof
HARD_MAX 1 msg->command 282
HARD_MAX 1 msg->version 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_ec_lightbar.c brightness_store() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 4
PARAM_VALUE 1 msg->insize 128
PARAM_VALUE 1 msg->outsize 194
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 20-65555
BUF_SIZE 1 msg 20-65555
DATA_SOURCE 1 msg r alloc_lightbar_cmd_msg
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_lightbar.c get_lightbar_version() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 12
PARAM_VALUE 1 msg->insize 8
PARAM_VALUE 1 msg->outsize 1
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 20-65555
BUF_SIZE 1 msg 20-65555
DATA_SOURCE 1 msg r alloc_lightbar_cmd_msg
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
HALF_LOCKED2 &of->mutex

drivers/platform/chrome/cros_ec_lightbar.c lb_manual_suspend_ctrl() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 19
PARAM_VALUE 1 msg->data->manual_suspend_ctrl.enable 0-1
PARAM_VALUE 1 msg->insize 128
PARAM_VALUE 1 msg->outsize 194
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 20-65555
BUF_SIZE 1 msg 20-65555
DATA_SOURCE 1 msg r alloc_lightbar_cmd_msg
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/platform/chrome/cros_ec_lightbar.c lb_send_empty_cmd() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 20-21
PARAM_VALUE 1 msg->insize 128
PARAM_VALUE 1 msg->outsize 194
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 20-65555
BUF_SIZE 1 msg 20-65555
DATA_SOURCE 1 msg r alloc_lightbar_cmd_msg
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
HALF_LOCKED2 &fsm->lock

drivers/platform/chrome/cros_ec_lightbar.c led_rgb_store() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 7
PARAM_VALUE 1 msg->insize 0-u16max
PARAM_VALUE 1 msg->outsize 194
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 20-65555
BUF_SIZE 1 msg 20-65555
DATA_SOURCE 1 msg r alloc_lightbar_cmd_msg
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_lightbar.c num_segments_show() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 34
PARAM_VALUE 1 msg->insize 1
PARAM_VALUE 1 msg->outsize 1
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 20-65555
BUF_SIZE 1 msg 20-65555
DATA_SOURCE 1 msg r alloc_lightbar_cmd_msg
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_lightbar.c program_store() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 18
PARAM_VALUE 1 msg->data->set_program.size 1-192
PARAM_VALUE 1 msg->insize 0
PARAM_VALUE 1 msg->outsize 3-194
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 20-65555
BUF_SIZE 1 msg 20-65555
CAPPED_DATA 1 msg->outsize 1
DATA_SOURCE 1 msg r alloc_lightbar_cmd_msg
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_lightbar.c program_store() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 35
PARAM_VALUE 1 msg->insize 0-u16max
PARAM_VALUE 1 msg->outsize 4-259
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 20-65555
BUF_SIZE 1 msg 20-65555
CAPPED_DATA 1 msg->outsize 1
DATA_SOURCE 1 msg r alloc_lightbar_cmd_msg
FUZZY_MAX 1 msg->insize 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_lightbar.c sequence_show() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 8
PARAM_VALUE 1 msg->insize 128
PARAM_VALUE 1 msg->outsize 194
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 20-65555
BUF_SIZE 1 msg 20-65555
DATA_SOURCE 1 msg r alloc_lightbar_cmd_msg
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_lightbar.c sequence_store() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 5
PARAM_VALUE 1 msg->insize 0
PARAM_VALUE 1 msg->outsize 2
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 20-65555
BUF_SIZE 1 msg 20-65555
DATA_SOURCE 1 msg r alloc_lightbar_cmd_msg
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

sound/soc/codecs/cros_ec_codec.c send_ec_host_command() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->command 188-191
PARAM_VALUE 1 msg->insize 0-1,4,8,16,32,132
PARAM_VALUE 1 msg->outsize 8,20,176
PARAM_VALUE 1 msg->version 0
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 1 msg 28,36,40,52,152,196
BUF_SIZE 1 msg 28,36,40,52,152,196
DATA_SOURCE 0 ec_dev $0
DATA_SOURCE 1 msg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

drivers/hid/hid-google-hammer.c cbas_ec_query_base() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->command 97
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->event_type 4
PARAM_VALUE 1 msg->data->info_type 1-2
PARAM_VALUE 1 msg->insize 4
PARAM_VALUE 1 msg->outsize 2
PARAM_VALUE 1 msg->version 1
BUF_SIZE 0 ec_dev s32min-(-2),1-s32max
BUF_SIZE 0 ec_dev s32min-(-2),1-s32max
BUF_SIZE 1 msg 24
BUF_SIZE 1 msg 24
DATA_SOURCE 0 ec_dev $0
DATA_SOURCE 1 msg r _kzalloc_noprof
FUZZY_MAX 1 msg->data->info_type 2
HARD_MAX 1 msg->data->info_type 2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
HALF_LOCKED2 global &cbas_ec_reglock

drivers/power/supply/cros_usbpd-charger.c cros_usbpd_charger_ec_command() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->insize 0-1,5,16
PARAM_VALUE 1 msg->outsize 0-1,4
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 20-21,24-25,36
BUF_SIZE 1 msg 20-21,24-25,36
DATA_SOURCE 1 msg r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_ec_sysfs.c flashinfo_show() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->insize 16
PARAM_VALUE 1 msg->outsize 0
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 36
BUF_SIZE 1 msg 36
DATA_SOURCE 1 msg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_sysfs.c kb_wake_angle_show() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 5
PARAM_VALUE 1 msg->data->kb_wake_angle.data (-1)
PARAM_VALUE 1 msg->insize 16
PARAM_VALUE 1 msg->outsize 13
PARAM_VALUE 1 msg->version 2
BUF_SIZE 1 msg 272
BUF_SIZE 1 msg 272
DATA_SOURCE 1 msg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_sysfs.c kb_wake_angle_store() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->cmd 5
PARAM_VALUE 1 msg->insize 16
PARAM_VALUE 1 msg->outsize 13
PARAM_VALUE 1 msg->version 2
BUF_SIZE 1 msg 272
BUF_SIZE 1 msg 272
DATA_SOURCE 1 msg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_sysfs.c reboot_store() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->flags 0
PARAM_VALUE 1 msg->insize 0
PARAM_VALUE 1 msg->outsize 2
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 22
BUF_SIZE 1 msg 22
DATA_SOURCE 1 msg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_sysfs.c version_show() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->insize 100
PARAM_VALUE 1 msg->outsize 0
PARAM_VALUE 1 msg->version 0
BUF_SIZE 1 msg 272
BUF_SIZE 1 msg 272
DATA_SOURCE 1 msg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_sysfs.c version_show() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ec_dev->host_event_wake_mask 48879,4288675598
PARAM_VALUE 0 ec_dev->lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ec_dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ec_dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ec_dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ec_dev->priv->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->priv->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->task->se.avg.util_avg 0-4294967295
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->task->se.cfs_rq->tasks_timeline.rb_leftmost->rb_left 0
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->task->se.cfs_rq->tasks_timeline.rb_leftmost->rb_right 0
PARAM_VALUE 0 ec_dev->priv->xfer_ack.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->priv->xfer_ack.wait.lock.owner (-1)
PARAM_VALUE 0 ec_dev->priv->xfer_ack.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 *ec_dev->priv->high_pri_worker->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->current_image 3
PARAM_VALUE 1 msg->data->version_string_ro 4096-ptr_max
PARAM_VALUE 1 msg->data->version_string_rw 4096-ptr_max
PARAM_VALUE 1 msg->insize 252
PARAM_VALUE 1 msg->outsize 0
PARAM_VALUE 1 msg->result 0
PARAM_VALUE 1 msg->version 0
PARAM_VALUE 1 *msg->data 0-255
BUF_SIZE 1 msg 272
BUF_SIZE 1 msg 272
DATA_SOURCE 1 msg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_sysfs.c version_show() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ec_dev->host_event_wake_mask 48879,4288675598
PARAM_VALUE 0 ec_dev->lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ec_dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ec_dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ec_dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ec_dev->priv->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->priv->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->task->se.avg.util_avg 0-4294967295
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->task->se.cfs_rq->tasks_timeline.rb_leftmost->rb_left 0
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->task->se.cfs_rq->tasks_timeline.rb_leftmost->rb_right 0
PARAM_VALUE 0 ec_dev->priv->xfer_ack.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->priv->xfer_ack.wait.lock.owner (-1)
PARAM_VALUE 0 ec_dev->priv->xfer_ack.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 *ec_dev->priv->high_pri_worker->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->current_image 3
PARAM_VALUE 1 msg->data->version_string_ro 4096-ptr_max
PARAM_VALUE 1 msg->data->version_string_rw 4096-ptr_max
PARAM_VALUE 1 msg->insize 96
PARAM_VALUE 1 msg->outsize 0
PARAM_VALUE 1 msg->version 0
PARAM_VALUE 1 *msg->data 0-255
BUF_SIZE 1 msg 272
BUF_SIZE 1 msg 272
DATA_SOURCE 1 msg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_sysfs.c version_show() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 0 ec_dev->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ec_dev->host_event_wake_mask 48879,4288675598
PARAM_VALUE 0 ec_dev->lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ec_dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ec_dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ec_dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ec_dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ec_dev->priv->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->priv->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->task->se.avg.util_avg 0-4294967295
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->task->se.cfs_rq->tasks_timeline.rb_leftmost->rb_left 0
PARAM_VALUE 0 ec_dev->priv->high_pri_worker->task->se.cfs_rq->tasks_timeline.rb_leftmost->rb_right 0
PARAM_VALUE 0 ec_dev->priv->xfer_ack.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ec_dev->priv->xfer_ack.wait.lock.owner (-1)
PARAM_VALUE 0 ec_dev->priv->xfer_ack.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 *ec_dev->priv->high_pri_worker->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->current_image 3
PARAM_VALUE 1 msg->data->name 4096-ptr_max
PARAM_VALUE 1 msg->data->revision 4096-ptr_max
PARAM_VALUE 1 msg->data->vendor 4096-ptr_max
PARAM_VALUE 1 msg->data->version_string_ro 4096-ptr_max
PARAM_VALUE 1 msg->data->version_string_rw 4096-ptr_max
PARAM_VALUE 1 msg->insize 2
PARAM_VALUE 1 msg->outsize 0
PARAM_VALUE 1 msg->version 0
PARAM_VALUE 1 *msg->data 0-255
BUF_SIZE 1 msg 272
BUF_SIZE 1 msg 272
DATA_SOURCE 1 msg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_get_host_cmd_version_mask() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 5393491785291886592
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->insize 4
PARAM_VALUE 1 msg->outsize 1
BUF_SIZE 1 msg 24
BUF_SIZE 1 msg 24
DATA_SOURCE 0 ec_dev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_motion_send_host_cmd() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->insize 0-u16max
BUF_SIZE 1 msg (-1),33-65555
BUF_SIZE 1 msg (-1),33-65555
BUF_SIZE 1 msg->data (-1),13-u16max
CAPPED_DATA 1 msg->insize 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &st->core.cmd_lock
HALF_LOCKED2 &state->cmd_lock
HALF_LOCKED2 _T->lock

drivers/watchdog/cros_ec_wdt.c cros_ec_wdt_send_cmd() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 2756082423761096704
PARAM_VALUE 1 msg->command 159
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->command 0-4
PARAM_VALUE 1 msg->insize 0-1
PARAM_VALUE 1 msg->outsize 4
PARAM_VALUE 1 msg->version 0
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 1 msg 24
BUF_SIZE 1 msg 24
DATA_SOURCE 0 ec_dev $0
FUZZY_MAX 1 msg->insize 1
HARD_MAX 1 msg->insize 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 msg->data->reboot_timeout_sec 0-u16max[c]
NO_OVERFLOW_SIMPLE 1 msg->data->reboot_timeout_sec
UNITS 0 ec_dev unit_byte

drivers/power/supply/cros_peripheral_charger.c cros_pchg_ec_command() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->insize 1,4,16
PARAM_VALUE 1 msg->outsize 0-2
BUF_SIZE 1 msg 20-21,24,36
BUF_SIZE 1 msg 20-21,24,36
DATA_SOURCE 1 msg r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_ec_sensorhub.c cros_ec_sensorhub_register() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->insize 0-u16max
PARAM_VALUE 1 msg->outsize 13
PARAM_VALUE 1 msg->version 1
BUF_SIZE 1 msg 33-65555
BUF_SIZE 1 msg 33-65555
FUZZY_MAX 1 msg->insize 16
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_ec_vbc.c vboot_context_read() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->command 23
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->insize 16
PARAM_VALUE 1 msg->outsize 4
PARAM_VALUE 1 msg->version 1
PARAM_VALUE 1 *msg->data 0
BUF_SIZE 1 msg 36
BUF_SIZE 1 msg 36
DATA_SOURCE 1 msg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_vbc.c vboot_context_write() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->command 23
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->op 1
PARAM_VALUE 1 msg->insize 0
PARAM_VALUE 1 msg->outsize 20
PARAM_VALUE 1 msg->version 1
BUF_SIZE 1 msg 40
BUF_SIZE 1 msg 40
DATA_SOURCE 1 msg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/chrome/cros_ec_sensorhub_ring.c cros_ec_sensorhub_ring_add() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 0
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->command 0
PARAM_VALUE 1 msg->insize 12-520
PARAM_VALUE 1 msg->outsize 1
PARAM_VALUE 1 msg->version 2
PARAM_VALUE 1 *msg->data 0-255
BUF_SIZE 1 msg 33-65555
BUF_SIZE 1 msg 33-65555
CAPPED_DATA 1 msg->insize 1
MEM_ZERO 1 msg
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_ec_sensorhub_ring.c cros_ec_sensorhub_ring_fifo_enable() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->insize 16
PARAM_VALUE 1 msg->outsize 13
PARAM_VALUE 1 *msg->data 0-255
BUF_SIZE 1 msg (-1),33-65555
BUF_SIZE 1 msg (-1),33-65555
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
LOCK2 &sensorhub->cmd_lock
TYPE_LOCK (struct cros_ec_sensorhub)->cmd_lock

drivers/platform/chrome/cros_ec_sensorhub_ring.c cros_ec_sensorhub_ring_handler() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->outsize 1
BIT_INFO 1 msg->insize 0x0,0x7fffffff
UNITS 0 ec_dev unit_byte
LOCK2 &sensorhub->cmd_lock
TYPE_LOCK (struct cros_ec_sensorhub)->cmd_lock

drivers/platform/chrome/cros_ec_sensorhub_ring.c cros_ec_sensorhub_ring_handler() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->insize 12-524284
PARAM_VALUE 1 msg->outsize 13
CAPPED_DATA 1 msg->insize 1
UNITS 0 ec_dev unit_byte
LOCK2 &sensorhub->cmd_lock
TYPE_LOCK (struct cros_ec_sensorhub)->cmd_lock

drivers/platform/chrome/cros_usbpd_logger.c ec_get_log_entry() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->insize 24
BUF_SIZE 1 msg 44
BUF_SIZE 1 msg 44
UNITS 0 ec_dev unit_byte
HALF_LOCKED2 &pool->lock

drivers/platform/chrome/cros_ec.c cros_ec_sleep_event() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 4096-ptr_max
PARAM_VALUE 1 msg->command 169
PARAM_VALUE 1 msg->outsize 1,4
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 0 ec_dev->dev (-1),1616
BUF_SIZE 0 ec_dev->ec (-1),1688
BUF_SIZE 0 ec_dev->pd (-1),1688
BUF_SIZE 0 ec_dev->phys_name s32min,(-10),(-1),1-s32max
BUF_SIZE 0 ec_dev->priv (-1),32,48,152,200,800
DATA_SOURCE 0 ec_dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ec_dev->irq
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_kbd_led_backlight.c keyboard_led_get_brightness_ec_pwm() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 6720887773303947264
PARAM_VALUE 1 msg->command 34
PARAM_VALUE 1 msg->insize 2
BUF_SIZE 1 msg 24
BUF_SIZE 1 msg 24
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte
HALF_LOCKED2 &cdev->led_access
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/platform/chrome/cros_kbd_led_backlight.c keyboard_led_set_brightness_ec_pwm() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 577993103134576640
PARAM_VALUE 1 msg->command 35
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->outsize 1
BUF_SIZE 1 msg 24
BUF_SIZE 1 msg 24
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_cmd_xfer_status_normal() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 8506121138767081472
BUF_SIZE 0 ec_dev 704
MEM_ZERO 1 msg

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_cmd_xfer_status_return_error() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 2555250082028003328
PARAM_VALUE 1 msg->insize 0-u16max
BUF_SIZE 0 ec_dev 704
MEM_ZERO 1 msg

drivers/platform/chrome/cros_ec_proto_test.c cros_ec_proto_test_cmd_xfer_status_xfer_error() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 1977231091527602176
BUF_SIZE 0 ec_dev 704
MEM_ZERO 1 msg

drivers/iio/proximity/cros_ec_mkbp_proximity.c cros_ec_mkbp_proximity_query() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 1211718504590827520
PARAM_VALUE 1 msg->command 97
PARAM_VALUE 1 msg->insize 4
PARAM_VALUE 1 msg->outsize 2
PARAM_VALUE 1 msg->version 1
BUF_SIZE 1 msg 24
BUF_SIZE 1 msg 24
DATA_SOURCE 0 ec_dev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/input/keyboard/cros_ec_keyb.c cros_ec_keyb_info() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->command 97
PARAM_VALUE 1 msg->data 4096-ptr_max
PARAM_VALUE 1 msg->data->event_type 3-4
PARAM_VALUE 1 msg->data->info_type 1-2
PARAM_VALUE 1 msg->insize 4
PARAM_VALUE 1 msg->outsize 2
PARAM_VALUE 1 msg->version 1
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 0 ec_dev s32min-(-1),1-s32max
BUF_SIZE 1 msg 24
BUF_SIZE 1 msg 24
DATA_SOURCE 0 ec_dev $0
DATA_SOURCE 1 msg r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec_dev unit_byte

drivers/platform/chrome/cros_ec_chardev.c ec_get_version() -> cros_ec_cmd_xfer_status()

Type Parameter Key Value
PARAM_VALUE 0 ec_dev 1-u64max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->insize 100
BUF_SIZE 1 msg 120
BUF_SIZE 1 msg 120
DATA_SOURCE 1 msg r _kzalloc_noprof
UNITS 0 ec_dev unit_byte
LOCK2 _T->lock