Searched refs:USB_DR_MODE_PERIPHERAL (Results 1 – 25 of 28) sorted by relevance
12
246 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()
290 if (mode == USB_DR_MODE_PERIPHERAL) in ssusb_role_sw_register()
518 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()
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()
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()
98 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()
425 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()
80 (role == USB_ROLE_HOST && hsotg->dr_mode == USB_DR_MODE_PERIPHERAL)) in dwc2_drd_role_sw_set()
550 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()
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()
119 USB_DR_MODE_PERIPHERAL, enumerator
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()817 if (qcom->mode == USB_DR_MODE_PERIPHERAL) in dwc3_qcom_probe()
67 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()
127 case USB_DR_MODE_PERIPHERAL: in st_dwc3_drd_init()
550 dwc->role_switch_default_mode = USB_DR_MODE_PERIPHERAL; in dwc3_setup_role_switch()
773 if (priv->otg_mode == USB_DR_MODE_PERIPHERAL) in dwc3_meson_g12a_probe()
226 if (usb_get_dr_mode(&pdev->dev) == USB_DR_MODE_PERIPHERAL) in isp1760_plat_probe()
486 pdata->mode = USB_DR_MODE_PERIPHERAL; in mtk_musb_probe()493 case USB_DR_MODE_PERIPHERAL: in mtk_musb_probe()
700 case USB_DR_MODE_PERIPHERAL: in sunxi_musb_probe()
899 if (usb_get_dr_mode(&pdev->dev) == USB_DR_MODE_PERIPHERAL) { in dsps_probe()
178 [USB_DR_MODE_PERIPHERAL] = "peripheral",
677 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()
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()
576 [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()
813 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