/kernel/linux/linux-5.10/drivers/usb/cdns3/ |
D | drd.c | 36 case USB_DR_MODE_PERIPHERAL: in cdns3_set_mode() 111 if (cdns->dr_mode == USB_DR_MODE_PERIPHERAL) in cdns3_is_device() 269 case USB_DR_MODE_PERIPHERAL: in cdns3_drd_update_mode() 270 ret = cdns3_set_mode(cdns, USB_DR_MODE_PERIPHERAL); in cdns3_drd_update_mode() 386 cdns->dr_mode = USB_DR_MODE_PERIPHERAL; in cdns3_drd_init()
|
D | core.c | 106 dr_mode = USB_DR_MODE_PERIPHERAL; in cdns3_core_init_role() 139 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in cdns3_core_init_role() 165 case USB_DR_MODE_PERIPHERAL: in cdns3_core_init_role() 358 if (cdns->dr_mode == USB_DR_MODE_PERIPHERAL) { in cdns3_role_set()
|
/kernel/linux/linux-5.10/drivers/usb/mtu3/ |
D | mtu3_plat.c | 273 if (ssusb->dr_mode == USB_DR_MODE_PERIPHERAL) in get_ssusb_rscs() 359 ssusb->dr_mode = USB_DR_MODE_PERIPHERAL; in mtu3_probe() 362 ssusb->is_host = !(ssusb->dr_mode == USB_DR_MODE_PERIPHERAL); in mtu3_probe() 365 case USB_DR_MODE_PERIPHERAL: in mtu3_probe() 425 case USB_DR_MODE_PERIPHERAL: in mtu3_remove()
|
D | mtu3_gadget.c | 514 if (mtu->ssusb->dr_mode == USB_DR_MODE_PERIPHERAL) in mtu3_gadget_start() 568 if (mtu->ssusb->dr_mode == USB_DR_MODE_PERIPHERAL) in mtu3_gadget_stop()
|
/kernel/linux/linux-5.10/drivers/usb/dwc2/ |
D | platform.c | 98 mode = USB_DR_MODE_PERIPHERAL; in dwc2_get_dr_mode() 110 mode = USB_DR_MODE_PERIPHERAL; in dwc2_get_dr_mode() 581 if (hsotg->dr_mode != USB_DR_MODE_PERIPHERAL) { in dwc2_driver_probe() 597 if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) in dwc2_driver_probe() 628 if (hsotg->dr_mode != USB_DR_MODE_PERIPHERAL) in dwc2_driver_probe()
|
D | params.c | 401 if ((hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) || in dwc2_set_default_params() 433 if ((hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) || in dwc2_get_device_properties() 703 if ((hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) || in dwc2_check_params() 728 if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) in dwc2_get_host_hwparams()
|
D | drd.c | 80 (role == USB_ROLE_HOST && hsotg->dr_mode == USB_DR_MODE_PERIPHERAL)) in dwc2_drd_role_sw_set()
|
D | core.c | 606 if (WARN_ON(host && hsotg->dr_mode == USB_DR_MODE_PERIPHERAL)) in dwc2_force_mode() 669 case USB_DR_MODE_PERIPHERAL: in dwc2_force_dr_mode()
|
D | gadget.c | 4526 if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) { in dwc2_hsotg_udc_start() 4588 if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) in dwc2_hsotg_udc_stop() 4934 else if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) in dwc2_gadget_init()
|
/kernel/linux/linux-5.10/include/linux/usb/ |
D | otg.h | 119 USB_DR_MODE_PERIPHERAL, enumerator
|
/kernel/linux/linux-5.10/drivers/usb/common/ |
D | common.c | 119 [USB_DR_MODE_PERIPHERAL] = "peripheral",
|
/kernel/linux/linux-5.10/drivers/usb/dwc3/ |
D | dwc3-qcom.c | 140 qcom->mode = event ? USB_DR_MODE_PERIPHERAL : USB_DR_MODE_HOST; in dwc3_qcom_vbus_notifier() 152 qcom->mode = event ? USB_DR_MODE_HOST : USB_DR_MODE_PERIPHERAL; in dwc3_qcom_host_notifier() 823 if (qcom->mode == USB_DR_MODE_PERIPHERAL) in dwc3_qcom_probe()
|
D | core.c | 66 mode = USB_DR_MODE_PERIPHERAL; in dwc3_get_dr_mode() 80 mode = USB_DR_MODE_PERIPHERAL; in dwc3_get_dr_mode() 91 mode = USB_DR_MODE_PERIPHERAL; in dwc3_get_dr_mode() 1206 case USB_DR_MODE_PERIPHERAL: in dwc3_core_init_mode() 1256 case USB_DR_MODE_PERIPHERAL: in dwc3_core_exit_mode()
|
D | dwc3-st.c | 127 case USB_DR_MODE_PERIPHERAL: in st_dwc3_drd_init()
|
D | drd.c | 547 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()
|
/kernel/linux/linux-5.10/drivers/usb/musb/ |
D | mediatek.c | 485 pdata->mode = USB_DR_MODE_PERIPHERAL; in mtk_musb_probe() 492 case USB_DR_MODE_PERIPHERAL: in mtk_musb_probe()
|
D | sunxi.c | 692 case USB_DR_MODE_PERIPHERAL: in sunxi_musb_probe()
|
D | musb_dsps.c | 899 if (usb_get_dr_mode(&pdev->dev) == USB_DR_MODE_PERIPHERAL) { in dsps_probe()
|
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
D | core.c | 672 if (platdata->dr_mode != USB_DR_MODE_PERIPHERAL) { in ci_get_platdata() 911 return USB_DR_MODE_PERIPHERAL; in ci_hdrc_query_available_role() 1109 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in ci_hdrc_probe()
|
/kernel/linux/linux-5.10/drivers/phy/tegra/ |
D | xusb.c | 570 [USB_DR_MODE_PERIPHERAL] = "peripheral", 731 if (usb2->mode == USB_DR_MODE_PERIPHERAL || in tegra_xusb_usb2_port_parse_dt() 1062 usb2->mode == USB_DR_MODE_PERIPHERAL) && in tegra_xusb_update_usb3_fake_port()
|
D | xusb-tegra186.c | 426 else if (port->mode == USB_DR_MODE_PERIPHERAL) in tegra186_utmi_phy_power_on() 716 else if (usb2->mode == USB_DR_MODE_PERIPHERAL) in tegra186_usb3_phy_power_on()
|
D | xusb-tegra210.c | 1103 else if (port->mode == USB_DR_MODE_PERIPHERAL) in tegra210_usb2_phy_power_on()
|
/kernel/linux/linux-5.10/drivers/phy/allwinner/ |
D | phy-sun4i-usb.c | 373 case USB_DR_MODE_PERIPHERAL: in sun4i_usb_phy0_get_id_det() 491 new_mode = USB_DR_MODE_PERIPHERAL; in sun4i_usb_phy_set_mode()
|
/kernel/linux/linux-5.10/drivers/usb/phy/ |
D | phy-tegra-usb.c | 506 if (phy->mode == USB_DR_MODE_PERIPHERAL) { in utmi_phy_power_on() 608 if (phy->mode == USB_DR_MODE_PERIPHERAL) { in utmi_phy_power_off()
|