Defined in 1 files as a function:
Referenced in 6 files:
- drivers/usb/dwc2/hcd.c
- drivers/usb/host/ehci-fsl.c
- drivers/usb/host/ehci-mv.c
- drivers/usb/host/ohci-omap.c
- drivers/usb/host/xhci-tegra.c
- drivers/usb/musb/musb_host.c, line 2746
Smatch caller information:
drivers/usb/dwc2/hcd.c dwc2_hcd_init() -> otg_set_host()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | host | 4096-ptr_max |
| PARAM_VALUE | 1 | host->otg_port | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/dwc2/hcd.c dwc2_hcd_remove() -> otg_set_host()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | otg->usb_phy->io_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | host | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/musb/musb_host.c musb_host_setup() -> otg_set_host()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | otg->state | 1,6 |
| PARAM_VALUE | 1 | host | 4096-ptr_max |
| PARAM_VALUE | 1 | host->uses_pio_for_control | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/host/ehci-mv.c mv_ehci_probe() -> otg_set_host()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | host | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/host/ehci-mv.c mv_ehci_remove() -> otg_set_host()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | host | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/usb/host/ehci-fsl.c fsl_ehci_drv_probe() -> otg_set_host()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | host | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/host/ehci-fsl.c fsl_ehci_drv_remove() -> otg_set_host()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | host | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |