/Linux-v6.6/drivers/usb/cdns3/ |
D | core.c | 102 dr_mode = USB_DR_MODE_OTG; in cdns_core_init_role() 110 dr_mode = USB_DR_MODE_OTG; in cdns_core_init_role() 128 if (dr_mode == USB_DR_MODE_OTG) { in cdns_core_init_role() 130 } else if (cdns->dr_mode == USB_DR_MODE_OTG) { in cdns_core_init_role() 139 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_HOST) { in cdns_core_init_role() 155 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in cdns_core_init_role() 180 case USB_DR_MODE_OTG: in cdns_core_init_role() 217 if (cdns->dr_mode != USB_DR_MODE_OTG) { in cdns_hw_role_state_machine()
|
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() 298 ret = cdns_set_mode(cdns, USB_DR_MODE_OTG); in cdns_init_otg_mode() 324 case USB_DR_MODE_OTG: in cdns_drd_update_mode() 359 if (cdns->dr_mode != USB_DR_MODE_OTG) in cdns_drd_irq() 444 cdns->dr_mode = USB_DR_MODE_OTG; in cdns_drd_init()
|
/Linux-v6.6/drivers/usb/mtu3/ |
D | mtu3_plat.c | 272 ssusb->dr_mode = USB_DR_MODE_OTG; in get_ssusb_rscs() 408 case USB_DR_MODE_OTG: in mtu3_probe() 467 case USB_DR_MODE_OTG: in mtu3_remove() 494 case USB_DR_MODE_OTG: in resume_ip_and_ports() 524 case USB_DR_MODE_OTG: in mtu3_suspend_common()
|
D | mtu3_dr.c | 178 if (ssusb->dr_mode != USB_DR_MODE_OTG) in ssusb_set_mode()
|
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-v6.6/include/linux/usb/ |
D | otg.h | 120 USB_DR_MODE_OTG, enumerator
|
/Linux-v6.6/drivers/usb/dwc2/ |
D | params.c | 496 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_set_default_params() 509 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_set_default_params() 541 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_get_device_properties() 789 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_check_params() 810 (hsotg->dr_mode == USB_DR_MODE_OTG)) { in dwc2_check_params()
|
D | drd.c | 150 if (!already && hsotg->dr_mode == USB_DR_MODE_OTG) in dwc2_drd_role_sw_set()
|
D | platform.c | 58 hsotg->dr_mode = USB_DR_MODE_OTG; in dwc2_get_dr_mode()
|
D | core.c | 586 case USB_DR_MODE_OTG: in dwc2_force_dr_mode()
|
/Linux-v6.6/drivers/usb/dwc3/ |
D | dwc3-meson-g12a.c | 376 if (priv->otg_mode != USB_DR_MODE_OTG && in dwc3_meson_g12a_usb_otg_apply_mode() 391 if (priv->otg_mode != USB_DR_MODE_OTG && in dwc3_meson_g12a_usb_otg_apply_mode() 586 if (priv->otg_mode == USB_DR_MODE_OTG) { in dwc3_meson_g12a_otg_init() 602 if (priv->otg_mode == USB_DR_MODE_OTG) { in dwc3_meson_g12a_otg_init()
|
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() 924 dwc->dr_mode == USB_DR_MODE_OTG) && in dwc3_core_setup_global_control() 1379 case USB_DR_MODE_OTG: in dwc3_core_init_mode() 1402 case USB_DR_MODE_OTG: in dwc3_core_exit_mode()
|
D | drd.c | 335 if (dwc->dr_mode != USB_DR_MODE_OTG) in dwc3_otg_update()
|
D | debugfs.c | 450 if (dwc->dr_mode != USB_DR_MODE_OTG) in dwc3_mode_write()
|
/Linux-v6.6/drivers/usb/chipidea/ |
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() 1127 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_HOST) { in ci_hdrc_probe() 1137 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in ci_hdrc_probe()
|
D | usbmisc_imx.c | 381 if (data->ext_id || data->available_role != USB_DR_MODE_OTG) in usbmisc_wakeup_setting()
|
/Linux-v6.6/drivers/phy/allwinner/ |
D | phy-sun4i-usb.c | 406 case USB_DR_MODE_OTG: in sun4i_usb_phy0_get_id_det() 533 new_mode = USB_DR_MODE_OTG; in sun4i_usb_phy_set_mode() 611 if (data->dr_mode == USB_DR_MODE_OTG && in sun4i_usb_phy0_id_vbus_det_scan()
|
/Linux-v6.6/drivers/usb/common/ |
D | common.c | 180 [USB_DR_MODE_OTG] = "otg",
|
/Linux-v6.6/drivers/usb/musb/ |
D | mpfs.c | 196 pdata->mode = USB_DR_MODE_OTG; in mpfs_probe()
|
D | mediatek.c | 446 case USB_DR_MODE_OTG: in mtk_musb_probe()
|
D | sunxi.c | 712 case USB_DR_MODE_OTG: in sunxi_musb_probe()
|
D | musb_core.c | 120 case USB_DR_MODE_OTG: in musb_get_mode()
|
/Linux-v6.6/drivers/phy/tegra/ |
D | xusb.c | 584 [USB_DR_MODE_OTG] = "otg", 765 usb2->mode == USB_DR_MODE_OTG) { in tegra_xusb_usb2_port_parse_dt() 1089 if ((usb2->mode == USB_DR_MODE_OTG || in tegra_xusb_update_usb3_fake_port()
|
D | xusb-tegra186.c | 876 else if (port->mode == USB_DR_MODE_OTG) in tegra186_utmi_phy_power_on() 1282 else if (usb2->mode == USB_DR_MODE_OTG) in tegra186_usb3_phy_power_on()
|
/Linux-v6.6/drivers/usb/phy/ |
D | phy-tegra-usb.c | 1035 if (phy->mode == USB_DR_MODE_OTG) in tegra_usb_phy_configure_pmc()
|