Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/usb/typec/ucsi/displayport.c, line 312 (as a function)
- drivers/usb/typec/ucsi/ucsi.h, line 614 (as a function)
Referenced in 1 files:
Smatch caller information:
drivers/usb/typec/ucsi/ucsi.c ucsi_register_altmode() -> ucsi_register_displayport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| 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.first_waiter->list.prev->prev | 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_altmode | 4096-ptr_max |
| PARAM_VALUE | 0 | con->pd->id | s32min-s32max |
| PARAM_VALUE | 0 | con->pd->version | 0-u16max |
| PARAM_VALUE | 0 | con->port->id | 0-4294967295 |
| PARAM_VALUE | 0 | con->port->ops | 0-s64max |
| PARAM_VALUE | 0 | con->port->prefer_role | s32min-s32max |
| PARAM_VALUE | 0 | con->port_altmode | 4096-ptr_max |
| PARAM_VALUE | 0 | con->ucsi | 4096-ptr_max |
| PARAM_VALUE | 0 | con->ucsi->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | *con->src_pdos | 0-4294967295 |
| PARAM_VALUE | 2 | offset | 0-29 |
| PARAM_VALUE | 3 | desc | 2283276497289809920,6454239552941371392 |
| PARAM_VALUE | 3 | desc->mode | 1-255 |
| PARAM_VALUE | 3 | desc->roles | 2 |
| PARAM_VALUE | 3 | desc->svid | 65281 |
| BUF_SIZE | 0 | con->port | (-1),2136 |
| BUF_SIZE | 0 | con->wq | (-1),512,528-8720 |
| DATA_SOURCE | 0 | con | $0 |
| DATA_SOURCE | 2 | offset | r ucsi_next_altmode |
| DATA_SOURCE | 3 | desc | $1 |
| BIT_INFO | 0 | con->ucsi->cap.features | 0x4,0xffff |
| MEM_ZERO | 3 | desc | |
| LOCK2 | 0 | &con->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ucsi_connector)->lock |
drivers/usb/typec/ucsi/ucsi.c ucsi_register_altmode() -> ucsi_register_displayport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| 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.first_waiter->list.prev->prev | 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_altmode | 4096-ptr_max |
| PARAM_VALUE | 0 | con->pd->id | s32min-s32max |
| PARAM_VALUE | 0 | con->pd->version | 0-u16max |
| PARAM_VALUE | 0 | con->port->id | 0-4294967295 |
| PARAM_VALUE | 0 | con->port->ops | 0-s64max |
| PARAM_VALUE | 0 | con->port->prefer_role | s32min-s32max |
| PARAM_VALUE | 0 | con->port_altmode | 4096-ptr_max |
| PARAM_VALUE | 0 | con->ucsi | 4096-ptr_max |
| PARAM_VALUE | 0 | con->ucsi->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | *con->src_pdos | 0-4294967295 |
| PARAM_VALUE | 2 | offset | 0-29 |
| PARAM_VALUE | 3 | desc | 2283276497289809920,6454239552941371392 |
| PARAM_VALUE | 3 | desc->mode | 1-255 |
| PARAM_VALUE | 3 | desc->roles | 2 |
| PARAM_VALUE | 3 | desc->svid | 2389 |
| BUF_SIZE | 0 | con->port | (-1),2136 |
| BUF_SIZE | 0 | con->wq | (-1),512,528-8720 |
| DATA_SOURCE | 0 | con | $0 |
| DATA_SOURCE | 2 | offset | r ucsi_next_altmode |
| DATA_SOURCE | 3 | desc | $1 |
| BIT_INFO | 0 | con->ucsi->cap.features | 0x4,0xffff |
| MEM_ZERO | 3 | desc | |
| LOCK2 | 0 | &con->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ucsi_connector)->lock |