Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/typec/ucsi/ucsi.c ucsi_dr_swap() -> ucsi_role_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| PARAM_VALUE | 0 | con->complete.done | 0 |
| PARAM_VALUE | 0 | con->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | con->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | con->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | con->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | con->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | con->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | con->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | con->partner | 1-u64max |
| PARAM_VALUE | 0 | con->ucsi | 4096-ptr_max |
| PARAM_VALUE | 1 | command | 0,33554432-u64max |
| BUF_SIZE | 0 | con | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | con | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &con->lock | 1 |
| DATA_SOURCE | 0 | con | r typec_get_drvdata |
| BIT_INFO | 1 | command | 0x2000009,0xffffffffffff0009 |
| BIT_INFO | 1 | command | 0x2000009,0xffffffffffff0009 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &port->port_type_lock | ||
| LOCK2 | 0 | &con->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 | ||
| TYPE_LOCK | (struct ucsi_connector)->lock |
drivers/usb/typec/ucsi/ucsi.c ucsi_pr_swap() -> ucsi_role_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| PARAM_VALUE | 0 | con->complete.done | 0 |
| PARAM_VALUE | 0 | con->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | con->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | con->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | con->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | con->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | con->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | con->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | con->partner | 1-u64max |
| PARAM_VALUE | 0 | con->ucsi | 4096-ptr_max |
| PARAM_VALUE | 1 | command | 0,33554432-u64max |
| BUF_SIZE | 0 | con | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | con | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &con->lock | 1 |
| DATA_SOURCE | 0 | con | r typec_get_drvdata |
| BIT_INFO | 1 | command | 0x200000b,0xffffffffffff000b |
| BIT_INFO | 1 | command | 0x200000b,0xffffffffffff000b |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &port->port_type_lock | ||
| LOCK2 | 0 | &con->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 | ||
| TYPE_LOCK | (struct ucsi_connector)->lock |