Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/usb/typec/altmodes/displayport.c
- drivers/usb/typec/altmodes/thunderbolt.c
- drivers/usb/typec/bus.c, line 280
Smatch caller information:
drivers/usb/typec/altmodes/displayport.c dp_altmode_activate() -> typec_cable_altmode_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->ops->activate | 5507274055070978048,6418996211218378752 |
| PARAM_VALUE | 1 | sop | 0 |
| PARAM_VALUE | 2 | vdo | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/usb/typec/altmodes/displayport.c dp_altmode_work() -> typec_cable_altmode_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sop | 0 |
| PARAM_VALUE | 2 | vdo | 0 |
| LOCK2 | &dp->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dp_altmode)->lock |
drivers/usb/typec/altmodes/thunderbolt.c tbt_altmode_work() -> typec_cable_altmode_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sop | 0 |
| PARAM_VALUE | 2 | vdo | 0 |
| LOCK2 | &tbt->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tbt_altmode)->lock |
drivers/usb/typec/altmodes/thunderbolt.c tbt_altmode_work() -> typec_cable_altmode_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sop | 1 |
| PARAM_VALUE | 2 | vdo | 0 |
| LOCK2 | &tbt->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tbt_altmode)->lock |
drivers/usb/typec/altmodes/thunderbolt.c tbt_enter_modes_ordered() -> typec_cable_altmode_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->ops->activate | 5507274055070978048,6418996211218378752 |
| PARAM_VALUE | 1 | sop | 0 |
| PARAM_VALUE | 2 | vdo | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tbt->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct tbt_altmode)->lock |