/linux-6.3-rc2/drivers/usb/cdns3/ |
A D | core.c | 101 dr_mode = USB_DR_MODE_OTG; in cdns_core_init_role() 109 dr_mode = USB_DR_MODE_OTG; in cdns_core_init_role() 127 if (dr_mode == USB_DR_MODE_OTG) { in cdns_core_init_role() 129 } else if (cdns->dr_mode == USB_DR_MODE_OTG) { in cdns_core_init_role() 138 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_HOST) { in cdns_core_init_role() 154 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in cdns_core_init_role() 179 case USB_DR_MODE_OTG: in cdns_core_init_role() 216 if (cdns->dr_mode != USB_DR_MODE_OTG) { in cdns_hw_role_state_machine()
|
A D | drd.c | 38 case USB_DR_MODE_OTG: in cdns_set_mode() 146 else if (cdns->dr_mode == USB_DR_MODE_OTG) in cdns_is_device() 294 ret = cdns_set_mode(cdns, USB_DR_MODE_OTG); in cdns_init_otg_mode() 320 case USB_DR_MODE_OTG: in cdns_drd_update_mode() 355 if (cdns->dr_mode != USB_DR_MODE_OTG) in cdns_drd_irq() 440 cdns->dr_mode = USB_DR_MODE_OTG; in cdns_drd_init()
|
/linux-6.3-rc2/drivers/usb/mtu3/ |
A D | mtu3_plat.c | 270 ssusb->dr_mode = USB_DR_MODE_OTG; in get_ssusb_rscs() 406 case USB_DR_MODE_OTG: in mtu3_probe() 465 case USB_DR_MODE_OTG: in mtu3_remove() 492 case USB_DR_MODE_OTG: in resume_ip_and_ports() 522 case USB_DR_MODE_OTG: in mtu3_suspend_common()
|
A D | mtu3_dr.c | 178 if (ssusb->dr_mode != USB_DR_MODE_OTG) in ssusb_set_mode()
|
A D | mtu3_core.c | 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()
|
/linux-6.3-rc2/include/linux/usb/ |
A D | otg.h | 120 USB_DR_MODE_OTG, enumerator
|
/linux-6.3-rc2/drivers/usb/dwc2/ |
A D | params.c | 445 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_set_default_params() 458 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_set_default_params() 490 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_get_device_properties() 739 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_check_params() 760 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_check_params()
|
A D | platform.c | 58 hsotg->dr_mode = USB_DR_MODE_OTG; in dwc2_get_dr_mode() 580 (hsotg->dr_mode == USB_DR_MODE_OTG && dwc2_is_device_mode(hsotg))) in dwc2_driver_probe()
|
A D | drd.c | 149 if (!already && hsotg->dr_mode == USB_DR_MODE_OTG) in dwc2_drd_role_sw_set()
|
A D | core.c | 586 case USB_DR_MODE_OTG: in dwc2_force_dr_mode()
|
A D | gadget.c | 4553 (hsotg->dr_mode == USB_DR_MODE_OTG && dwc2_is_device_mode(hsotg))) { in dwc2_hsotg_udc_start() 4616 (hsotg->dr_mode == USB_DR_MODE_OTG && dwc2_is_device_mode(hsotg))) in dwc2_hsotg_udc_stop() 4999 if (hsotg->dr_mode == USB_DR_MODE_OTG) in dwc2_gadget_init()
|
/linux-6.3-rc2/drivers/usb/dwc3/ |
A D | dwc3-meson-g12a.c | 382 if (priv->otg_mode != USB_DR_MODE_OTG && in dwc3_meson_g12a_usb_otg_apply_mode() 397 if (priv->otg_mode != USB_DR_MODE_OTG && in dwc3_meson_g12a_usb_otg_apply_mode() 595 if (priv->otg_mode == USB_DR_MODE_OTG) { in dwc3_meson_g12a_otg_init() 611 if (priv->otg_mode == USB_DR_MODE_OTG) { in dwc3_meson_g12a_otg_init()
|
A D | core.c | 56 dwc->dr_mode = USB_DR_MODE_OTG; in dwc3_get_dr_mode() 89 if (mode == USB_DR_MODE_OTG && !dwc->edev && in dwc3_get_dr_mode() 244 if (dwc->dr_mode != USB_DR_MODE_OTG) in dwc3_set_mode() 901 dwc->dr_mode == USB_DR_MODE_OTG) && in dwc3_core_setup_global_control() 1245 dwc->dr_mode == USB_DR_MODE_OTG) { in dwc3_core_init() 1403 case USB_DR_MODE_OTG: in dwc3_core_init_mode() 1426 case USB_DR_MODE_OTG: in dwc3_core_exit_mode()
|
A D | drd.c | 335 if (dwc->dr_mode != USB_DR_MODE_OTG) in dwc3_otg_update()
|
A D | debugfs.c | 431 if (dwc->dr_mode != USB_DR_MODE_OTG) in dwc3_mode_write()
|
/linux-6.3-rc2/drivers/usb/chipidea/ |
A D | core.c | 684 platdata->dr_mode = USB_DR_MODE_OTG; in ci_get_platdata() 705 if (platdata->dr_mode == USB_DR_MODE_OTG) { in ci_get_platdata() 925 return USB_DR_MODE_OTG; in ci_hdrc_query_available_role() 1117 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_HOST) { in ci_hdrc_probe() 1127 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in ci_hdrc_probe()
|
A D | usbmisc_imx.c | 378 if (data->ext_id || data->available_role != USB_DR_MODE_OTG) in usbmisc_wakeup_setting()
|
/linux-6.3-rc2/drivers/phy/allwinner/ |
A D | phy-sun4i-usb.c | 408 case USB_DR_MODE_OTG: in sun4i_usb_phy0_get_id_det() 535 new_mode = USB_DR_MODE_OTG; in sun4i_usb_phy_set_mode() 613 if (data->dr_mode == USB_DR_MODE_OTG && in sun4i_usb_phy0_id_vbus_det_scan()
|
/linux-6.3-rc2/drivers/usb/common/ |
A D | common.c | 179 [USB_DR_MODE_OTG] = "otg",
|
/linux-6.3-rc2/drivers/usb/musb/ |
A D | mpfs.c | 195 pdata->mode = USB_DR_MODE_OTG; in mpfs_probe()
|
A D | mediatek.c | 445 case USB_DR_MODE_OTG: in mtk_musb_probe()
|
A D | sunxi.c | 713 case USB_DR_MODE_OTG: in sunxi_musb_probe()
|
/linux-6.3-rc2/drivers/phy/tegra/ |
A D | xusb.c | 583 [USB_DR_MODE_OTG] = "otg", 761 usb2->mode == USB_DR_MODE_OTG) { in tegra_xusb_usb2_port_parse_dt() 1083 if ((usb2->mode == USB_DR_MODE_OTG || in tegra_xusb_update_usb3_fake_port()
|
A D | xusb-tegra186.c | 857 else if (port->mode == USB_DR_MODE_OTG) in tegra186_utmi_phy_power_on() 1263 else if (usb2->mode == USB_DR_MODE_OTG) in tegra186_usb3_phy_power_on()
|
/linux-6.3-rc2/drivers/usb/phy/ |
A D | phy-tegra-usb.c | 1035 if (phy->mode == USB_DR_MODE_OTG) in tegra_usb_phy_configure_pmc()
|