Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/usb/roles/class.c, line 167 (as a function)
- include/linux/usb/role.h, line 81 (as a function)
Referenced in 7 files:
- drivers/extcon/extcon-ptn5150.c, line 354
- drivers/usb/common/usb-conn-gpio.c, line 234
- drivers/usb/misc/qcom_eud.c, line 203
- drivers/usb/roles/class.c, line 181
- drivers/usb/typec/anx7411.c, line 1258
- drivers/usb/typec/hd3ss3220.c, line 394
- drivers/usb/typec/tcpm/tcpm.c, line 8909
Smatch caller information:
drivers/extcon/extcon-ptn5150.c ptn5150_i2c_probe() -> usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/misc/qcom_eud.c eud_probe() -> usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/hd3ss3220.c hd3ss3220_probe() -> usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/common/usb-conn-gpio.c usb_conn_probe() -> usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/anx7411.c anx7411_typec_port_probe() -> usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/tcpm/tcpm.c tcpm_register_port() -> usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |