Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->dev 4096-ptr_max
PARAM_VALUE 0 info->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 info->dev->of_node 0,4096-ptr_max
PARAM_VALUE 0 info->dev->parent 4096-ptr_max
PARAM_VALUE 1 command 258
PARAM_VALUE 2 version 0
PARAM_VALUE 3 outdata 0
PARAM_VALUE 4 outsize 0
PARAM_VALUE 5 indata 7307722218781687808
PARAM_VALUE 6 insize 1
BUF_SIZE 0 info 72
BUF_SIZE 0 info->dev 1616
BUF_SIZE 0 info->ec s32min-(-2),1-s32max
DATA_SOURCE 0 info $0
MEM_ZERO 0 info
RX_PATH
TASK_NOT_RUNNING
UNITS 6 insize unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->dr 0-2
PARAM_VALUE 0 info->ec->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 info->ec->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 info->ec->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 info->ec->dout->hdr.channel 1
PARAM_VALUE 0 info->ec->dout->token 0-255
PARAM_VALUE 0 info->ec->host_event_wake_mask 48879,4288675598
PARAM_VALUE 0 info->ec->lock.dep_map->name 0-255
PARAM_VALUE 0 info->ec->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 info->ec->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 info->ec->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 info->ec->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 info->ec->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 info->ec->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 info->ec->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 info->ec->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 info->ec->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 info->ec->priv->high_pri_worker->lock.owner (-1)
PARAM_VALUE 0 info->ec->priv->high_pri_worker->lock.owner_cpu 4294967295
PARAM_VALUE 0 info->ec->priv->high_pri_worker->task->se.cfs_rq->rq->donor->is_blocked 0
PARAM_VALUE 0 info->ec->priv->xfer_ack->wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *info->ec->priv->high_pri_worker->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 command 282
PARAM_VALUE 2 version 0
PARAM_VALUE 3 outdata 4920025834233044992
PARAM_VALUE 4 outsize 1
PARAM_VALUE 5 indata 2263177913348108288
PARAM_VALUE 6 insize 1
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info->dev (-1),1616
BUF_SIZE 0 info->ec s32min-(-1),1-s32max
BUF_SIZE 0 info->edev (-1),1888
DATA_SOURCE 0 info $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 info->edev->max_supported
UNITS 0 info unit_byte
UNITS 4 outsize unit_byte
UNITS 6 insize unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->dr 0-2
PARAM_VALUE 1 command 259
PARAM_VALUE 2 version 0
PARAM_VALUE 3 outdata 1554181996182958080
PARAM_VALUE 4 outsize 1
PARAM_VALUE 5 indata 1071016097700749312
PARAM_VALUE 6 insize 16
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info->dev (-1),1616
BUF_SIZE 0 info->ec s32min-(-1),1-s32max
BUF_SIZE 0 info->edev (-1),1888
BUF_SIZE 5 indata 16
DATA_SOURCE 0 info $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 info->edev->max_supported
UNITS 0 info unit_byte
UNITS 4 outsize unit_byte
UNITS 6 insize unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->dr 0-2
PARAM_VALUE 0 info->ec->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 info->ec->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 info->ec->dout->hdr.channel 1
PARAM_VALUE 0 info->ec->dout->token 0-255
PARAM_VALUE 0 info->ec->lock.dep_map->name 0-255
PARAM_VALUE 0 info->ec->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 info->ec->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 info->ec->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 info->ec->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 info->ec->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 info->ec->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 info->ec->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 info->ec->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 info->ec->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 info->ec->priv->high_pri_worker->lock.owner (-1)
PARAM_VALUE 0 info->ec->priv->high_pri_worker->lock.owner_cpu 4294967295
PARAM_VALUE 1 command 257
PARAM_VALUE 2 version 1
PARAM_VALUE 3 outdata 6291924801514532864
PARAM_VALUE 4 outsize 4
PARAM_VALUE 5 indata 7789068920378699776
PARAM_VALUE 6 insize 35
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info->dev (-1),1616
BUF_SIZE 0 info->ec s32min-(-1),1-s32max
BUF_SIZE 0 info->edev (-1),1888
BUF_SIZE 3 outdata 4
BUF_SIZE 5 indata 35
DATA_SOURCE 0 info $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 info->edev->max_supported
UNITS 0 info unit_byte
UNITS 4 outsize unit_byte
UNITS 6 insize unit_byte