Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/usb/roles/class.c, line 190 (as a function)
- include/linux/usb/role.h, line 87 (as a function)
Referenced in 11 files:
- drivers/extcon/extcon-ptn5150.c, line 356
- drivers/extcon/extcon-usbc-tusb320.c, line 485
- drivers/gpu/drm/bridge/analogix/anx7625.c, line 1632
- drivers/platform/chrome/cros_ec_typec.c, line 231
- drivers/usb/roles/class.c, line 203
- drivers/usb/typec/hd3ss3220.c, line 385
- drivers/usb/typec/rt1719.c, line 871
- drivers/usb/typec/stusb160x.c, line 750
- drivers/usb/typec/tcpm/tcpm.c, line 8907
- drivers/usb/typec/tipd/core.c, line 1868
- drivers/usb/typec/ucsi/ucsi.c, line 1836
Smatch caller information:
drivers/usb/typec/stusb160x.c stusb160x_probe() -> fwnode_usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| DATA_SOURCE | 0 | fwnode | r device_get_named_child_node |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/chrome/cros_ec_typec.c cros_typec_get_switch_handles() -> fwnode_usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | fwnode->ops->get_parent | 0,4096-ptr_max |
| BUF_SIZE | 0 | fwnode | (-1)-0,64 |
| BUF_SIZE | 0 | fwnode | (-1)-0,64 |
| DATA_SOURCE | 0 | fwnode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/extcon/extcon-ptn5150.c ptn5150_i2c_probe() -> fwnode_usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| DATA_SOURCE | 0 | fwnode | r device_get_named_child_node |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/ucsi/ucsi.c ucsi_register_port() -> fwnode_usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 0,248,4096-ptr_max |
| BUF_SIZE | 0 | fwnode | (-1)-0,64 |
| BUF_SIZE | 0 | fwnode | (-1)-0,64 |
| DATA_SOURCE | 0 | fwnode | r ucsi_find_fwnode |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/typec/hd3ss3220.c hd3ss3220_probe() -> fwnode_usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| DATA_SOURCE | 0 | fwnode | r device_get_named_child_node |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/rt1719.c rt1719_probe() -> fwnode_usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| DATA_SOURCE | 0 | fwnode | r device_get_named_child_node |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/tipd/core.c tps6598x_probe() -> fwnode_usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 0,4096-ptr_max |
| DATA_SOURCE | 0 | fwnode | r device_get_named_child_node |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/tcpm/tcpm.c tcpm_register_port() -> fwnode_usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/extcon/extcon-usbc-tusb320.c tusb320_typec_probe() -> fwnode_usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| DATA_SOURCE | 0 | fwnode | r device_get_named_child_node |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/bridge/analogix/anx7625.c anx7625_typec_register() -> fwnode_usb_role_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| DATA_SOURCE | 0 | fwnode | r device_get_named_child_node |
| RX_PATH | |||
| TASK_NOT_RUNNING |