Home
last modified time | relevance | path

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

/u-boot/drivers/usb/cdns3/
A Ddrd.c39 case USB_DR_MODE_PERIPHERAL: in cdns3_set_mode()
102 if (cdns->dr_mode == USB_DR_MODE_PERIPHERAL) in cdns3_is_device()
222 case USB_DR_MODE_PERIPHERAL: in cdns3_drd_update_mode()
223 ret = cdns3_set_mode(cdns, USB_DR_MODE_PERIPHERAL); in cdns3_drd_update_mode()
287 cdns->dr_mode = USB_DR_MODE_PERIPHERAL; in cdns3_drd_init()
A Dcore.c128 dr_mode = USB_DR_MODE_PERIPHERAL; in cdns3_core_init_role()
164 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in cdns3_core_init_role()
414 case USB_DR_MODE_PERIPHERAL: in cdns3_bind()
/u-boot/drivers/usb/dwc3/
A Ddwc3-meson-gxl.c143 case USB_DR_MODE_PERIPHERAL: in dwc3_meson_gxl_usb2_set_mode()
163 (i == USB2_OTG_PHY) ? USB_DR_MODE_PERIPHERAL in dwc3_meson_gxl_usb2_init()
204 if (mode != USB_DR_MODE_HOST && mode != USB_DR_MODE_PERIPHERAL) in dwc3_meson_gxl_force_mode()
221 (mode == USB_DR_MODE_PERIPHERAL)); in dwc3_meson_gxl_force_mode()
335 priv->otg_mode = USB_DR_MODE_PERIPHERAL; in dwc3_meson_gxl_probe()
343 if (priv->otg_mode == USB_DR_MODE_PERIPHERAL) in dwc3_meson_gxl_probe()
344 priv->otg_phy_mode = USB_DR_MODE_PERIPHERAL; in dwc3_meson_gxl_probe()
A Ddwc3-meson-g12a.c139 case USB_DR_MODE_PERIPHERAL: in dwc3_meson_g12a_usb2_set_mode()
150 if (priv->otg_mode == USB_DR_MODE_PERIPHERAL) in dwc3_meson_g12a_usb2_init()
151 priv->otg_phy_mode = USB_DR_MODE_PERIPHERAL; in dwc3_meson_g12a_usb2_init()
213 if (priv->otg_phy_mode == USB_DR_MODE_PERIPHERAL) { in dwc3_meson_g12a_usb_init_mode()
266 if (mode != USB_DR_MODE_HOST && mode != USB_DR_MODE_PERIPHERAL) in dwc3_meson_g12a_force_mode()
280 (mode == USB_DR_MODE_PERIPHERAL)); in dwc3_meson_g12a_force_mode()
A Ddwc3-generic.c252 mode = USB_DR_MODE_PERIPHERAL; in dwc3_ti_select_dr_mode()
256 case USB_DR_MODE_PERIPHERAL: in dwc3_ti_select_dr_mode()
315 case USB_DR_MODE_PERIPHERAL: in dwc3_glue_bind()
A Dcore.c591 case USB_DR_MODE_PERIPHERAL: in dwc3_core_init_mode()
639 case USB_DR_MODE_PERIPHERAL: in dwc3_core_exit_mode()
765 dwc->dr_mode = USB_DR_MODE_PERIPHERAL; in dwc3_uboot_init()
/u-boot/include/linux/usb/
A Dotg.h17 USB_DR_MODE_PERIPHERAL, enumerator
/u-boot/board/st/stih410-b2260/
A Dboard.c49 .dr_mode = USB_DR_MODE_PERIPHERAL,
/u-boot/drivers/usb/common/
A Dcommon.c21 [USB_DR_MODE_PERIPHERAL] = "peripheral",
/u-boot/drivers/usb/mtu3/
A Dmtu3_plat.c180 ssusb->dr_mode = USB_DR_MODE_PERIPHERAL; in get_ssusb_rscs()
183 ssusb->dr_mode = USB_DR_MODE_PERIPHERAL; in get_ssusb_rscs()
325 case USB_DR_MODE_PERIPHERAL: in mtu3_glue_bind()
/u-boot/board/samsung/common/
A Dexynos5-dt.c125 .dr_mode = USB_DR_MODE_PERIPHERAL,
/u-boot/arch/arm/mach-rockchip/
A Dboard.c136 .dr_mode = USB_DR_MODE_PERIPHERAL,
/u-boot/board/ti/omap5_uevm/
A Devm.c96 usb_otg_ss.dr_mode = USB_DR_MODE_PERIPHERAL; in board_usb_init()
/u-boot/arch/arm/mach-meson/
A Dboard-axg.c213 ret = dwc3_meson_gxl_force_mode(dev, USB_DR_MODE_PERIPHERAL); in board_usb_init()
A Dboard-g12a.c252 ret = dwc3_meson_g12a_force_mode(dev, USB_DR_MODE_PERIPHERAL); in board_usb_init()
A Dboard-gx.c249 ret = dwc3_meson_gxl_force_mode(dev, USB_DR_MODE_PERIPHERAL); in board_usb_init()
/u-boot/drivers/usb/host/
A Ddwc3-sti-glue.c54 case USB_DR_MODE_PERIPHERAL: in sti_dwc3_glue_drd_init()
A Dehci-mx6.c533 case USB_DR_MODE_PERIPHERAL: in ehci_usb_of_to_plat()
/u-boot/board/ti/am43xx/
A Dboard.c812 usb_otg_ss1.dr_mode = USB_DR_MODE_PERIPHERAL; in board_usb_init()
821 usb_otg_ss2.dr_mode = USB_DR_MODE_PERIPHERAL; in board_usb_init()
/u-boot/drivers/phy/
A Dmeson-gxl-usb2.c145 case USB_DR_MODE_PERIPHERAL: in phy_meson_gxl_usb2_set_mode()
/u-boot/drivers/usb/musb-new/
A Dti-musb.c304 case USB_DR_MODE_PERIPHERAL: in ti_musb_wrapper_bind()
/u-boot/drivers/usb/gadget/
A Ddwc2_udc_otg.c986 if (usb_get_dr_mode(dev_ofnode(dev)) != USB_DR_MODE_PERIPHERAL && in dwc2_udc_otg_of_to_plat()

Completed in 23 milliseconds