Home
last modified time | relevance | path

Searched refs:USB_DR_MODE_OTG (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/drivers/usb/cdns3/
Ddrd.c40 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()
Dcore.c111 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()
/Linux-v5.4/drivers/usb/dwc2/
Dparams.c355 (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()
Dplatform.c88 hsotg->dr_mode = USB_DR_MODE_OTG; in dwc2_get_dr_mode()
Dcore.c657 case USB_DR_MODE_OTG: in dwc2_force_dr_mode()
Dgadget.c4817 if (hsotg->dr_mode == USB_DR_MODE_OTG) in dwc2_gadget_init()
/Linux-v5.4/drivers/usb/mtu3/
Dmtu3_plat.c273 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()
Dmtu3_core.c113 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()
/Linux-v5.4/include/linux/usb/
Dotg.h120 USB_DR_MODE_OTG, enumerator
/Linux-v5.4/drivers/usb/dwc3/
Dcore.c54 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()
Ddwc3-meson-g12a.c451 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()
Ddrd.c335 if (dwc->dr_mode != USB_DR_MODE_OTG) in dwc3_otg_update()
/Linux-v5.4/drivers/usb/common/
Dcommon.c120 [USB_DR_MODE_OTG] = "otg",
/Linux-v5.4/drivers/phy/allwinner/
Dphy-sun4i-usb.c365 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()
/Linux-v5.4/drivers/usb/chipidea/
Dcore.c682 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()
/Linux-v5.4/drivers/phy/tegra/
Dxusb-tegra186.c335 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()
Dxusb.c551 [USB_DR_MODE_OTG] = "otg",
/Linux-v5.4/drivers/usb/musb/
Dsunxi.c698 case USB_DR_MODE_OTG: in sunxi_musb_probe()
Dmusb_core.c119 case USB_DR_MODE_OTG: in musb_get_mode()