Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/usb/common/common.c, line 413 (as a function)
- include/linux/usb/of.h, line 61 (as a function)
Referenced in 3 files:
- drivers/usb/common/common.c, line 426
- drivers/usb/gadget/udc/renesas_usb3.c, line 2949
- drivers/usb/host/ehci-platform.c
Smatch caller information:
drivers/usb/gadget/udc/renesas_usb3.c renesas_usb3_probe() -> usb_of_get_companion_dev()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/host/ehci-platform.c ehci_platform_resume() -> usb_of_get_companion_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/host/ehci-platform.c quirk_poll_rebind_companion() -> usb_of_get_companion_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |