/openbmc/linux/drivers/usb/dwc2/ |
H A D | drd.c | 32 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 D | platform.c | 68 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 D | params.c | 508 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 D | mtu3_plat.c | 276 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 D | core.c | 106 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 D | drd.c | 34 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 D | cdns3-starfive.c | 68 case USB_DR_MODE_PERIPHERAL: in cdns_mode_init()
|
/openbmc/u-boot/drivers/usb/dwc3/ |
H A D | dwc3-generic.c | 159 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 D | core.c | 546 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 D | phy-mvebu-cp110-utmi.c | 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()
|
/openbmc/u-boot/include/linux/usb/ |
H A D | otg.h | 15 USB_DR_MODE_PERIPHERAL, enumerator
|
/openbmc/linux/drivers/usb/fotg210/ |
H A D | fotg210-core.c | 156 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 D | board.c | 45 .dr_mode = USB_DR_MODE_PERIPHERAL,
|
/openbmc/u-boot/drivers/usb/common/ |
H A D | common.c | 19 [USB_DR_MODE_PERIPHERAL] = "peripheral",
|
/openbmc/u-boot/board/intel/edison/ |
H A D | edison.c | 22 .dr_mode = USB_DR_MODE_PERIPHERAL,
|
/openbmc/linux/include/linux/usb/ |
H A D | otg.h | 119 USB_DR_MODE_PERIPHERAL, enumerator
|
/openbmc/u-boot/board/samsung/common/ |
H A D | exynos5-dt.c | 122 .dr_mode = USB_DR_MODE_PERIPHERAL,
|
/openbmc/u-boot/board/ti/omap5_uevm/ |
H A D | evm.c | 91 usb_otg_ss.dr_mode = USB_DR_MODE_PERIPHERAL; in board_usb_init()
|
/openbmc/u-boot/board/ti/am43xx/ |
H A D | board.c | 803 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 D | isp1760-if.c | 225 if (usb_get_dr_mode(&pdev->dev) == USB_DR_MODE_PERIPHERAL) in isp1760_plat_probe()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | dwc3-sti-glue.c | 54 case USB_DR_MODE_PERIPHERAL: in sti_dwc3_glue_drd_init()
|
/openbmc/linux/drivers/usb/musb/ |
H A D | mediatek.c | 435 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 D | common.c | 179 [USB_DR_MODE_PERIPHERAL] = "peripheral",
|
/openbmc/linux/drivers/phy/tegra/ |
H A D | xusb.c | 583 [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 D | ti-musb.c | 303 case USB_DR_MODE_PERIPHERAL: in ti_musb_wrapper_bind()
|