Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/typec/class.c data_role_store() -> (struct typec_operations)->dr_set()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->cap 4096-ptr_max
PARAM_VALUE 0 port->cap->data 2
PARAM_VALUE 0 port->ops 4096-ptr_max
PARAM_VALUE 0 port->ops->dr_set 434805370254917632,2594394751384051712,4794790602804273152,5396003677776818176,6121032334441897984,6348138530173440000,6620086623342305280
PARAM_VALUE 0 port->port_type_lock.dep_map->name 0-255
PARAM_VALUE 0 port->port_type_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->port_type_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->port_type_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 port->port_type_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->port_type_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->port_type_lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->port_type_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 role 0-1
CAPPED_DATA 0 &port->port_type_lock 1
CAPPED_DATA 1 role 1
DATA_SOURCE 1 role r __sysfs_match_string
CONTAINER 0 -8-2096+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &port->port_type_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct typec_port)->port_type_lock