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, line 764
- drivers/usb/typec/altmodes/thunderbolt.c, line 337
- drivers/usb/typec/bus.c, line 372
- drivers/usb/typec/class.c, line 1449
Smatch caller information:
drivers/usb/typec/altmodes/displayport.c dp_altmode_probe() -> typec_altmode_get_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/altmodes/thunderbolt.c tbt_ready() -> typec_altmode_get_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tbt->lock |
drivers/usb/typec/class.c typec_cable_check_altmode_support() -> typec_altmode_get_plug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->desc | 6290529388997193728,6480507199207358464 |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| BUF_SIZE | 0 | adev->desc | 12-13 |
| DATA_SOURCE | 0 | adev | $1 |
| STR_LEN | 0 | adev->desc | 11-12 |
| TERMINATED | 0 | adev->desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |