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/thunderbolt.c, line 357
- drivers/usb/typec/class.c, line 1430
- drivers/usb/typec/tcpm/tcpm.c, line 2347
Smatch caller information:
drivers/usb/typec/tcpm/tcpm.c tcpm_cable_vdm_supported() -> typec_cable_is_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cable | 1-ptr_max |
| RX_PATH | |||
| LOCK2 | &port->lock | ||
| TYPE_LOCK | (struct tcpm_port)->lock |
drivers/usb/typec/altmodes/thunderbolt.c tbt_ready() -> typec_cable_is_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cable | 4096-ptr_max |
| DATA_SOURCE | 0 | cable | r typec_cable_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tbt->lock |