Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/typec/class.c typec_partner_attach() -> typec_get_partner()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->partner_link_lock.dep_map->name 0-255
PARAM_VALUE 0 port->partner_link_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->partner_link_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->partner_link_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->partner_link_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->partner_link_lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->partner_link_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->usb3_dev 4096-ptr_max
CAPPED_DATA 0 &port->partner_link_lock 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &port->partner_link_lock
TYPE_LOCK (struct typec_port)->partner_link_lock

drivers/usb/typec/class.c typec_partner_deattach() -> typec_get_partner()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->partner_link_lock.dep_map->name 0-255
PARAM_VALUE 0 port->partner_link_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->partner_link_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->partner_link_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->partner_link_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->partner_link_lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->partner_link_lock.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &port->partner_link_lock 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &port->partner_link_lock
HALF_LOCKED2 &udev->dev.mutex
TYPE_LOCK (struct typec_port)->partner_link_lock

drivers/usb/typec/class.c typec_set_data_role() -> typec_get_partner()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->data_role 0-1
PARAM_VALUE 0 port->dev.kobj.sd->__parent 0
PARAM_VALUE 0 port->ops->dr_set 0,4096-ptr_max
BUF_SIZE 0 port (-1),2136
BUF_SIZE 0 port (-1),2136
CAPPED_DATA 0 port->data_role 1
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &con->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &port->port_type_lock