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/altmodes/displayport.c
- drivers/usb/typec/altmodes/thunderbolt.c
- drivers/usb/typec/bus.c, line 177
- drivers/usb/typec/class.c, line 388
Smatch caller information:
drivers/usb/typec/altmodes/displayport.c dp_altmode_activate() -> typec_altmode_exit()
| 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 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/usb/typec/altmodes/displayport.c dp_altmode_work() -> typec_altmode_exit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &dp->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dp_altmode)->lock |
drivers/usb/typec/altmodes/thunderbolt.c tbt_altmode_activate() -> typec_altmode_exit()
| 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 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tbt->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct tbt_altmode)->lock |
drivers/usb/typec/altmodes/thunderbolt.c tbt_altmode_work() -> typec_altmode_exit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | &tbt->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tbt_altmode)->lock |
drivers/usb/typec/class.c active_store() -> typec_altmode_exit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->active | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |