Searched refs:USB_DR_MODE_OTG (Results 1 – 19 of 19) sorted by relevance
40 case USB_DR_MODE_OTG: in cdns3_set_mode()101 else if (cdns->dr_mode == USB_DR_MODE_OTG) in cdns3_is_device()221 ret = cdns3_set_mode(cdns, USB_DR_MODE_OTG); in cdns3_init_otg_mode()246 case USB_DR_MODE_OTG: in cdns3_drd_update_mode()281 if (cdns->dr_mode != USB_DR_MODE_OTG) in cdns3_drd_irq()348 cdns->dr_mode = USB_DR_MODE_OTG; in cdns3_drd_init()
111 dr_mode = USB_DR_MODE_OTG; in cdns3_core_init_role()128 if (dr_mode == USB_DR_MODE_OTG) { in cdns3_core_init_role()130 } else if (cdns->dr_mode == USB_DR_MODE_OTG) { in cdns3_core_init_role()139 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_HOST) { in cdns3_core_init_role()148 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in cdns3_core_init_role()169 case USB_DR_MODE_OTG: in cdns3_core_init_role()206 if (cdns->dr_mode != USB_DR_MODE_OTG) in cdsn3_hw_role_state_machine()384 if (!cdns->role_override && cdns->dr_mode == USB_DR_MODE_OTG) { in cdns3_role_set()
355 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_set_default_params()368 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_set_default_params()400 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_get_device_properties()649 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_check_params()670 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_check_params()
88 hsotg->dr_mode = USB_DR_MODE_OTG; in dwc2_get_dr_mode()
657 case USB_DR_MODE_OTG: in dwc2_force_dr_mode()
4817 if (hsotg->dr_mode == USB_DR_MODE_OTG) in dwc2_gadget_init()
273 ssusb->dr_mode = USB_DR_MODE_OTG; in get_ssusb_rscs()381 case USB_DR_MODE_OTG: in mtu3_probe()433 case USB_DR_MODE_OTG: in mtu3_remove()
113 if (mtu->ssusb->dr_mode == USB_DR_MODE_OTG) { in mtu3_device_enable()134 if (mtu->ssusb->dr_mode == USB_DR_MODE_OTG) in mtu3_device_disable()905 if (mtu->ssusb->dr_mode == USB_DR_MODE_OTG) in ssusb_gadget_init()
120 USB_DR_MODE_OTG, enumerator
54 dwc->dr_mode = USB_DR_MODE_OTG; in dwc3_get_dr_mode()87 if (mode == USB_DR_MODE_OTG && in dwc3_get_dr_mode()121 if (dwc->dr_mode != USB_DR_MODE_OTG) in __dwc3_set_mode()749 dwc->dr_mode == USB_DR_MODE_OTG) && in dwc3_core_setup_global_control()999 dwc->dr_mode == USB_DR_MODE_OTG) { in dwc3_core_init()1179 case USB_DR_MODE_OTG: in dwc3_core_init_mode()1205 case USB_DR_MODE_OTG: in dwc3_core_exit_mode()
451 if (priv->otg_mode == USB_DR_MODE_OTG) { in dwc3_meson_g12a_probe()487 if (priv->otg_mode == USB_DR_MODE_OTG) { in dwc3_meson_g12a_probe()
335 if (dwc->dr_mode != USB_DR_MODE_OTG) in dwc3_otg_update()
120 [USB_DR_MODE_OTG] = "otg",
365 case USB_DR_MODE_OTG: in sun4i_usb_phy0_get_id_det()493 new_mode = USB_DR_MODE_OTG; in sun4i_usb_phy_set_mode()570 if (data->dr_mode == USB_DR_MODE_OTG && in sun4i_usb_phy0_id_vbus_det_scan()
682 platdata->dr_mode = USB_DR_MODE_OTG; in ci_get_platdata()703 if (platdata->dr_mode == USB_DR_MODE_OTG) { in ci_get_platdata()1084 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_HOST) { in ci_hdrc_probe()1094 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in ci_hdrc_probe()
335 else if (port->mode == USB_DR_MODE_OTG) in tegra186_utmi_phy_power_on()633 else if (usb2->mode == USB_DR_MODE_OTG) in tegra186_usb3_phy_power_on()
551 [USB_DR_MODE_OTG] = "otg",
698 case USB_DR_MODE_OTG: in sunxi_musb_probe()
119 case USB_DR_MODE_OTG: in musb_get_mode()