Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/usb/typec/class.c, line 1093
- drivers/usb/typec/pd.c, line 727
- drivers/usb/typec/tcpm/tcpm.c
- drivers/usb/typec/ucsi/ucsi.c, line 1046
Smatch caller information:
drivers/usb/typec/ucsi/ucsi.c ucsi_register_device_pdos() -> usb_power_delivery_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | desc | 5834651242634043392 |
| PARAM_VALUE | 1 | desc->version | 0 |
| LOCK2 | &con->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ucsi_connector)->lock |
drivers/usb/typec/tcpm/tcpm.c tcpm_port_register_pd() -> usb_power_delivery_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0 |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 9195409373355245568 |
| PARAM_VALUE | 1 | desc->revision | 0 |
| PARAM_VALUE | 1 | desc->version | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/tcpm/tcpm.c tcpm_register_sink_caps() -> usb_power_delivery_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0 |
| PARAM_VALUE | 1 | desc | 7315036899452497920 |
| PARAM_VALUE | 1 | desc->version | 0 |
| RX_PATH | |||
| LOCK2 | &port->lock | ||
| TYPE_LOCK | (struct tcpm_port)->lock |
drivers/usb/typec/tcpm/tcpm.c tcpm_register_source_caps() -> usb_power_delivery_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0 |
| PARAM_VALUE | 1 | desc | 53970647861907456 |
| PARAM_VALUE | 1 | desc->version | 0 |
| RX_PATH | |||
| LOCK2 | &port->lock | ||
| TYPE_LOCK | (struct tcpm_port)->lock |
drivers/usb/typec/class.c typec_partner_usb_power_delivery_register() -> usb_power_delivery_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 1-u64max |
| PARAM_VALUE | 1 | desc | 1017407045712900096,1160723585831661568 |
| PARAM_VALUE | 1 | desc->version | 0 |
| DATA_SOURCE | 1 | desc | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &con->lock | ||
| HALF_LOCKED2 | &pool->lock |