/linux-6.1.9/drivers/usb/dwc2/ |
D | drd.c | 32 else if (hsotg->role_sw_default_mode == USB_DR_MODE_PERIPHERAL) in dwc2_ovr_init() 93 (role == USB_ROLE_HOST && hsotg->dr_mode == USB_DR_MODE_PERIPHERAL)) in dwc2_drd_role_sw_set() 125 else if (hsotg->role_sw_default_mode == USB_DR_MODE_PERIPHERAL) in dwc2_drd_role_sw_set() 219 else if (hsotg->role_sw_default_mode == USB_DR_MODE_PERIPHERAL) in dwc2_drd_resume()
|
D | platform.c | 68 mode = USB_DR_MODE_PERIPHERAL; in dwc2_get_dr_mode() 80 mode = USB_DR_MODE_PERIPHERAL; in dwc2_get_dr_mode() 563 if (hsotg->dr_mode != USB_DR_MODE_PERIPHERAL) { in dwc2_driver_probe() 579 if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) in dwc2_driver_probe() 610 if (hsotg->dr_mode != USB_DR_MODE_PERIPHERAL) in dwc2_driver_probe()
|
D | params.c | 453 if ((hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) || in dwc2_set_default_params() 485 if ((hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) || in dwc2_get_device_properties() 755 if ((hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) || in dwc2_check_params() 780 if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) in dwc2_get_host_hwparams()
|
D | core.c | 520 if (WARN_ON(host && hsotg->dr_mode == USB_DR_MODE_PERIPHERAL)) in dwc2_force_mode() 583 case USB_DR_MODE_PERIPHERAL: in dwc2_force_dr_mode()
|
/linux-6.1.9/drivers/usb/mtu3/ |
D | mtu3_plat.c | 274 if (ssusb->dr_mode == USB_DR_MODE_PERIPHERAL) in get_ssusb_rscs() 386 ssusb->dr_mode = USB_DR_MODE_PERIPHERAL; in mtu3_probe() 389 ssusb->is_host = !(ssusb->dr_mode == USB_DR_MODE_PERIPHERAL); in mtu3_probe() 392 case USB_DR_MODE_PERIPHERAL: in mtu3_probe() 459 case USB_DR_MODE_PERIPHERAL: in mtu3_remove() 486 case USB_DR_MODE_PERIPHERAL: in resume_ip_and_ports() 513 case USB_DR_MODE_PERIPHERAL: in mtu3_suspend_common()
|
D | mtu3_dr.c | 288 if (mode == USB_DR_MODE_PERIPHERAL) in ssusb_role_sw_register()
|
D | mtu3_gadget.c | 536 if (mtu->ssusb->dr_mode == USB_DR_MODE_PERIPHERAL) in mtu3_gadget_start() 591 if (mtu->ssusb->dr_mode == USB_DR_MODE_PERIPHERAL) in mtu3_gadget_stop()
|
/linux-6.1.9/drivers/usb/cdns3/ |
D | drd.c | 34 case USB_DR_MODE_PERIPHERAL: in cdns_set_mode() 144 if (cdns->dr_mode == USB_DR_MODE_PERIPHERAL) in cdns_is_device() 314 case USB_DR_MODE_PERIPHERAL: in cdns_drd_update_mode() 315 ret = cdns_set_mode(cdns, USB_DR_MODE_PERIPHERAL); in cdns_drd_update_mode() 453 cdns->dr_mode = USB_DR_MODE_PERIPHERAL; in cdns_drd_init()
|
D | core.c | 105 dr_mode = USB_DR_MODE_PERIPHERAL; in cdns_core_init_role() 113 dr_mode = USB_DR_MODE_PERIPHERAL; in cdns_core_init_role() 154 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in cdns_core_init_role() 184 case USB_DR_MODE_PERIPHERAL: in cdns_core_init_role() 377 if (cdns->dr_mode == USB_DR_MODE_PERIPHERAL) { in cdns_role_set()
|
/linux-6.1.9/drivers/phy/marvell/ |
D | phy-mvebu-cp110-utmi.c | 210 if (port->dr_mode == USB_DR_MODE_PERIPHERAL) { in mvebu_cp110_utmi_phy_power_on() 331 (port->dr_mode != USB_DR_MODE_PERIPHERAL)) { in mvebu_cp110_utmi_phy_probe() 338 if (port->dr_mode == USB_DR_MODE_PERIPHERAL) { in mvebu_cp110_utmi_phy_probe()
|
/linux-6.1.9/include/linux/usb/ |
D | otg.h | 119 USB_DR_MODE_PERIPHERAL, enumerator
|
/linux-6.1.9/drivers/usb/isp1760/ |
D | isp1760-if.c | 225 if (usb_get_dr_mode(&pdev->dev) == USB_DR_MODE_PERIPHERAL) in isp1760_plat_probe()
|
/linux-6.1.9/drivers/usb/musb/ |
D | mediatek.c | 433 pdata->mode = USB_DR_MODE_PERIPHERAL; in mtk_musb_probe() 440 case USB_DR_MODE_PERIPHERAL: in mtk_musb_probe()
|
D | sunxi.c | 700 case USB_DR_MODE_PERIPHERAL: in sunxi_musb_probe()
|
D | musb_dsps.c | 902 if (usb_get_dr_mode(&pdev->dev) == USB_DR_MODE_PERIPHERAL) { in dsps_probe()
|
/linux-6.1.9/drivers/usb/dwc3/ |
D | dwc3-qcom.c | 142 qcom->mode = event ? USB_DR_MODE_PERIPHERAL : USB_DR_MODE_HOST; in dwc3_qcom_vbus_notifier() 154 qcom->mode = event ? USB_DR_MODE_HOST : USB_DR_MODE_PERIPHERAL; in dwc3_qcom_host_notifier() 904 if (qcom->mode == USB_DR_MODE_PERIPHERAL) in dwc3_qcom_probe()
|
D | dwc3-st.c | 127 case USB_DR_MODE_PERIPHERAL: in st_dwc3_drd_init()
|
D | core.c | 68 mode = USB_DR_MODE_PERIPHERAL; in dwc3_get_dr_mode() 82 mode = USB_DR_MODE_PERIPHERAL; in dwc3_get_dr_mode() 93 mode = USB_DR_MODE_PERIPHERAL; in dwc3_get_dr_mode() 1379 case USB_DR_MODE_PERIPHERAL: in dwc3_core_init_mode() 1420 case USB_DR_MODE_PERIPHERAL: in dwc3_core_exit_mode()
|
D | drd.c | 505 dwc->role_switch_default_mode = USB_DR_MODE_PERIPHERAL; in dwc3_setup_role_switch()
|
D | dwc3-meson-g12a.c | 773 if (priv->otg_mode == USB_DR_MODE_PERIPHERAL) in dwc3_meson_g12a_probe()
|
/linux-6.1.9/drivers/usb/common/ |
D | common.c | 178 [USB_DR_MODE_PERIPHERAL] = "peripheral",
|
/linux-6.1.9/drivers/usb/chipidea/ |
D | core.c | 679 if (platdata->dr_mode != USB_DR_MODE_PERIPHERAL) { in ci_get_platdata() 922 return USB_DR_MODE_PERIPHERAL; in ci_hdrc_query_available_role() 1120 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in ci_hdrc_probe()
|
/linux-6.1.9/drivers/phy/tegra/ |
D | xusb.c | 576 [USB_DR_MODE_PERIPHERAL] = "peripheral", 738 if (usb2->mode == USB_DR_MODE_PERIPHERAL || in tegra_xusb_usb2_port_parse_dt() 1069 usb2->mode == USB_DR_MODE_PERIPHERAL) && in tegra_xusb_update_usb3_fake_port()
|
D | xusb-tegra186.c | 817 else if (port->mode == USB_DR_MODE_PERIPHERAL) in tegra186_utmi_phy_power_on() 1224 else if (usb2->mode == USB_DR_MODE_PERIPHERAL) in tegra186_usb3_phy_power_on()
|
/linux-6.1.9/drivers/phy/allwinner/ |
D | phy-sun4i-usb.c | 427 case USB_DR_MODE_PERIPHERAL: in sun4i_usb_phy0_get_id_det() 545 new_mode = USB_DR_MODE_PERIPHERAL; in sun4i_usb_phy_set_mode()
|