Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/typec/class.c power_role_store() -> (struct typec_operations)->pr_set()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->ops 4096-ptr_max
PARAM_VALUE 0 p->ops->pr_set 1342710203730563072,2385043966476656640,5019105706942029824,7964579725448462336
PARAM_VALUE 0 p->port_type 2
PARAM_VALUE 0 p->port_type_lock.dep_map->name 0-255
PARAM_VALUE 0 p->port_type_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 p->port_type_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 p->port_type_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 p->port_type_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 p->port_type_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 p->port_type_lock.wait_lock.owner (-1)
PARAM_VALUE 0 p->port_type_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 p->pwr_opmode 3
PARAM_VALUE 1 role 0-1
CAPPED_DATA 0 &p->port_type_lock 1
CAPPED_DATA 1 role 1
DATA_SOURCE 1 role r __sysfs_match_string
CONTAINER 0 -16-2096+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &p->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