Home
last modified time | relevance | path

Searched refs:USB_DR_MODE_PERIPHERAL (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/usb/mtu3/
A Dmtu3_plat.c246 if (ssusb->dr_mode == USB_DR_MODE_PERIPHERAL) in get_ssusb_rscs()
353 ssusb->dr_mode = USB_DR_MODE_PERIPHERAL; in mtu3_probe()
356 ssusb->is_host = !(ssusb->dr_mode == USB_DR_MODE_PERIPHERAL); in mtu3_probe()
359 case USB_DR_MODE_PERIPHERAL: in mtu3_probe()
426 case USB_DR_MODE_PERIPHERAL: in mtu3_remove()
453 case USB_DR_MODE_PERIPHERAL: in resume_ip_and_ports()
480 case USB_DR_MODE_PERIPHERAL: in mtu3_suspend_common()
A Dmtu3_dr.c290 if (mode == USB_DR_MODE_PERIPHERAL) in ssusb_role_sw_register()
A Dmtu3_gadget.c518 if (mtu->ssusb->dr_mode == USB_DR_MODE_PERIPHERAL) in mtu3_gadget_start()
573 if (mtu->ssusb->dr_mode == USB_DR_MODE_PERIPHERAL) in mtu3_gadget_stop()
/linux/drivers/usb/cdns3/
A Ddrd.c34 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()
A Dcore.c105 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/drivers/usb/dwc2/
A Dplatform.c98 mode = USB_DR_MODE_PERIPHERAL; in dwc2_get_dr_mode()
110 mode = USB_DR_MODE_PERIPHERAL; in dwc2_get_dr_mode()
614 if (hsotg->dr_mode != USB_DR_MODE_PERIPHERAL) { in dwc2_driver_probe()
630 if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) in dwc2_driver_probe()
661 if (hsotg->dr_mode != USB_DR_MODE_PERIPHERAL) in dwc2_driver_probe()
A Dparams.c425 if ((hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) || in dwc2_set_default_params()
457 if ((hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) || in dwc2_get_device_properties()
727 if ((hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) || in dwc2_check_params()
752 if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) in dwc2_get_host_hwparams()
A Ddrd.c80 (role == USB_ROLE_HOST && hsotg->dr_mode == USB_DR_MODE_PERIPHERAL)) in dwc2_drd_role_sw_set()
A Dcore.c550 if (WARN_ON(host && hsotg->dr_mode == USB_DR_MODE_PERIPHERAL)) in dwc2_force_mode()
613 case USB_DR_MODE_PERIPHERAL: in dwc2_force_dr_mode()
/linux/drivers/phy/marvell/
A Dphy-mvebu-cp110-utmi.c210 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/include/linux/usb/
A Dotg.h119 USB_DR_MODE_PERIPHERAL, enumerator
/linux/drivers/usb/dwc3/
A Ddwc3-qcom.c140 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()
817 if (qcom->mode == USB_DR_MODE_PERIPHERAL) in dwc3_qcom_probe()
A Dcore.c67 mode = USB_DR_MODE_PERIPHERAL; in dwc3_get_dr_mode()
81 mode = USB_DR_MODE_PERIPHERAL; in dwc3_get_dr_mode()
92 mode = USB_DR_MODE_PERIPHERAL; in dwc3_get_dr_mode()
1233 case USB_DR_MODE_PERIPHERAL: in dwc3_core_init_mode()
1274 case USB_DR_MODE_PERIPHERAL: in dwc3_core_exit_mode()
A Ddwc3-st.c127 case USB_DR_MODE_PERIPHERAL: in st_dwc3_drd_init()
A Ddrd.c550 dwc->role_switch_default_mode = USB_DR_MODE_PERIPHERAL; in dwc3_setup_role_switch()
A Ddwc3-meson-g12a.c773 if (priv->otg_mode == USB_DR_MODE_PERIPHERAL) in dwc3_meson_g12a_probe()
/linux/drivers/usb/isp1760/
A Disp1760-if.c226 if (usb_get_dr_mode(&pdev->dev) == USB_DR_MODE_PERIPHERAL) in isp1760_plat_probe()
/linux/drivers/usb/musb/
A Dmediatek.c486 pdata->mode = USB_DR_MODE_PERIPHERAL; in mtk_musb_probe()
493 case USB_DR_MODE_PERIPHERAL: in mtk_musb_probe()
A Dsunxi.c700 case USB_DR_MODE_PERIPHERAL: in sunxi_musb_probe()
A Dmusb_dsps.c899 if (usb_get_dr_mode(&pdev->dev) == USB_DR_MODE_PERIPHERAL) { in dsps_probe()
/linux/drivers/usb/common/
A Dcommon.c178 [USB_DR_MODE_PERIPHERAL] = "peripheral",
/linux/drivers/usb/chipidea/
A Dcore.c677 if (platdata->dr_mode != USB_DR_MODE_PERIPHERAL) { in ci_get_platdata()
919 return USB_DR_MODE_PERIPHERAL; in ci_hdrc_query_available_role()
1117 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in ci_hdrc_probe()
/linux/drivers/phy/allwinner/
A Dphy-sun4i-usb.c373 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()
/linux/drivers/phy/tegra/
A Dxusb.c576 [USB_DR_MODE_PERIPHERAL] = "peripheral",
737 if (usb2->mode == USB_DR_MODE_PERIPHERAL || in tegra_xusb_usb2_port_parse_dt()
1068 usb2->mode == USB_DR_MODE_PERIPHERAL) && in tegra_xusb_update_usb3_fake_port()
A Dxusb-tegra186.c813 else if (port->mode == USB_DR_MODE_PERIPHERAL) in tegra186_utmi_phy_power_on()
1221 else if (usb2->mode == USB_DR_MODE_PERIPHERAL) in tegra186_usb3_phy_power_on()

Completed in 83 milliseconds

12