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 383
- drivers/usb/typec/class.c, line 1451
Smatch caller information:
drivers/usb/typec/altmodes/displayport.c dp_altmode_activate() -> typec_altmode_put_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plug | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/usb/typec/altmodes/displayport.c dp_altmode_probe() -> typec_altmode_put_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plug | 0,4096-ptr_max |
| BUF_SIZE | 0 | plug | (-1),1656 |
| BUF_SIZE | 0 | plug | (-1),1656 |
| DATA_SOURCE | 0 | plug | r typec_altmode_get_plug |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/altmodes/displayport.c dp_altmode_probe() -> typec_altmode_put_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plug | 0,4096-ptr_max |
| BUF_SIZE | 0 | plug | (-1),1656 |
| BUF_SIZE | 0 | plug | (-1),1656 |
| DATA_SOURCE | 0 | plug | r typec_altmode_get_plug |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/altmodes/displayport.c dp_altmode_probe() -> typec_altmode_put_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plug | 0,4096-ptr_max |
| BUF_SIZE | 0 | plug | (-1),1656 |
| BUF_SIZE | 0 | plug | (-1),1656 |
| DATA_SOURCE | 0 | plug | r typec_altmode_get_plug |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/altmodes/displayport.c dp_altmode_remove() -> typec_altmode_put_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/typec/altmodes/displayport.c dp_altmode_work() -> typec_altmode_put_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | &dp->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dp_altmode)->lock |
drivers/usb/typec/altmodes/displayport.c dp_cable_altmode_vdm() -> typec_altmode_put_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &dp->lock | ||
| HALF_LOCKED2 | &dp->lock | ||
| TYPE_LOCK | (struct dp_altmode)->lock |
drivers/usb/typec/altmodes/thunderbolt.c tbt_altmode_remove() -> typec_altmode_put_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plug | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/typec/altmodes/thunderbolt.c tbt_altmode_work() -> typec_altmode_put_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plug | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | &tbt->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tbt_altmode)->lock |
drivers/usb/typec/altmodes/thunderbolt.c tbt_enter_modes_ordered() -> typec_altmode_put_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plug | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tbt->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct tbt_altmode)->lock |
drivers/usb/typec/class.c typec_cable_check_altmode_support() -> typec_altmode_put_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plug | 4096-ptr_max |
| BUF_SIZE | 0 | plug | 1656 |
| DATA_SOURCE | 0 | plug | r typec_altmode_get_plug |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |