Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/usb/dwc2/
H A Ddrd.c32 else if (hsotg->role_sw_default_mode == USB_DR_MODE_PERIPHERAL) in dwc2_ovr_init()
94 (role == USB_ROLE_HOST && hsotg->dr_mode == USB_DR_MODE_PERIPHERAL)) in dwc2_drd_role_sw_set()
126 else if (hsotg->role_sw_default_mode == USB_DR_MODE_PERIPHERAL) in dwc2_drd_role_sw_set()
229 else if (hsotg->role_sw_default_mode == USB_DR_MODE_PERIPHERAL) in dwc2_drd_resume()
H A Dplatform.c68 mode = USB_DR_MODE_PERIPHERAL; in dwc2_get_dr_mode()
80 mode = USB_DR_MODE_PERIPHERAL; in dwc2_get_dr_mode()
594 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()
H A Dparams.c508 if ((hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) || in dwc2_set_default_params()
540 if ((hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) || in dwc2_get_device_properties()
809 if ((hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) || in dwc2_check_params()
834 if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) in dwc2_get_host_hwparams()
/openbmc/linux/drivers/usb/mtu3/
H A Dmtu3_plat.c276 if (ssusb->dr_mode == USB_DR_MODE_PERIPHERAL) in get_ssusb_rscs()
388 ssusb->dr_mode = USB_DR_MODE_PERIPHERAL; in mtu3_probe()
391 ssusb->is_host = !(ssusb->dr_mode == USB_DR_MODE_PERIPHERAL); in mtu3_probe()
394 case USB_DR_MODE_PERIPHERAL: in mtu3_probe()
461 case USB_DR_MODE_PERIPHERAL: in mtu3_remove()
488 case USB_DR_MODE_PERIPHERAL: in resume_ip_and_ports()
515 case USB_DR_MODE_PERIPHERAL: in mtu3_suspend_common()
/openbmc/linux/drivers/usb/cdns3/
H A Dcore.c106 dr_mode = USB_DR_MODE_PERIPHERAL; in cdns_core_init_role()
114 dr_mode = USB_DR_MODE_PERIPHERAL; in cdns_core_init_role()
155 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in cdns_core_init_role()
185 case USB_DR_MODE_PERIPHERAL: in cdns_core_init_role()
378 if (cdns->dr_mode == USB_DR_MODE_PERIPHERAL) { in cdns_role_set()
H 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()
319 case USB_DR_MODE_PERIPHERAL: in cdns_drd_update_mode()
320 ret = cdns_set_mode(cdns, USB_DR_MODE_PERIPHERAL); in cdns_drd_update_mode()
471 cdns->dr_mode = USB_DR_MODE_PERIPHERAL; in cdns_drd_init()
H A Dcdns3-starfive.c68 case USB_DR_MODE_PERIPHERAL: in cdns_mode_init()
/openbmc/u-boot/drivers/usb/dwc3/
H A Ddwc3-generic.c159 mode = USB_DR_MODE_PERIPHERAL; in dwc3_ti_select_dr_mode()
163 case USB_DR_MODE_PERIPHERAL: in dwc3_ti_select_dr_mode()
224 case USB_DR_MODE_PERIPHERAL: in dwc3_glue_bind()
H A Dcore.c546 case USB_DR_MODE_PERIPHERAL: in dwc3_core_init_mode()
587 case USB_DR_MODE_PERIPHERAL: in dwc3_core_exit_mode()
700 dwc->dr_mode = USB_DR_MODE_PERIPHERAL; in dwc3_uboot_init()
/openbmc/linux/drivers/phy/marvell/
H 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()
/openbmc/u-boot/include/linux/usb/
H A Dotg.h15 USB_DR_MODE_PERIPHERAL, enumerator
/openbmc/linux/drivers/usb/fotg210/
H A Dfotg210-core.c156 if (mode == USB_DR_MODE_PERIPHERAL) { in fotg210_probe()
176 if (mode == USB_DR_MODE_PERIPHERAL) in fotg210_remove()
/openbmc/u-boot/board/st/stih410-b2260/
H A Dboard.c45 .dr_mode = USB_DR_MODE_PERIPHERAL,
/openbmc/u-boot/drivers/usb/common/
H A Dcommon.c19 [USB_DR_MODE_PERIPHERAL] = "peripheral",
/openbmc/u-boot/board/intel/edison/
H A Dedison.c22 .dr_mode = USB_DR_MODE_PERIPHERAL,
/openbmc/linux/include/linux/usb/
H A Dotg.h119 USB_DR_MODE_PERIPHERAL, enumerator
/openbmc/u-boot/board/samsung/common/
H A Dexynos5-dt.c122 .dr_mode = USB_DR_MODE_PERIPHERAL,
/openbmc/u-boot/board/ti/omap5_uevm/
H A Devm.c91 usb_otg_ss.dr_mode = USB_DR_MODE_PERIPHERAL; in board_usb_init()
/openbmc/u-boot/board/ti/am43xx/
H A Dboard.c803 usb_otg_ss1.dr_mode = USB_DR_MODE_PERIPHERAL; in board_usb_init()
812 usb_otg_ss2.dr_mode = USB_DR_MODE_PERIPHERAL; in board_usb_init()
/openbmc/linux/drivers/usb/isp1760/
H A Disp1760-if.c225 if (usb_get_dr_mode(&pdev->dev) == USB_DR_MODE_PERIPHERAL) in isp1760_plat_probe()
/openbmc/u-boot/drivers/usb/host/
H A Ddwc3-sti-glue.c54 case USB_DR_MODE_PERIPHERAL: in sti_dwc3_glue_drd_init()
/openbmc/linux/drivers/usb/musb/
H A Dmediatek.c435 pdata->mode = USB_DR_MODE_PERIPHERAL; in mtk_musb_probe()
442 case USB_DR_MODE_PERIPHERAL: in mtk_musb_probe()
/openbmc/linux/drivers/usb/common/
H A Dcommon.c179 [USB_DR_MODE_PERIPHERAL] = "peripheral",
/openbmc/linux/drivers/phy/tegra/
H A Dxusb.c583 [USB_DR_MODE_PERIPHERAL] = "peripheral",
732 else if (mode == USB_DR_MODE_PERIPHERAL) in tegra_xusb_parse_usb_role_default_mode()
764 if (usb2->mode == USB_DR_MODE_PERIPHERAL || in tegra_xusb_usb2_port_parse_dt()
1090 usb2->mode == USB_DR_MODE_PERIPHERAL) && in tegra_xusb_update_usb3_fake_port()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dti-musb.c303 case USB_DR_MODE_PERIPHERAL: in ti_musb_wrapper_bind()

12