| /linux/arch/powerpc/platforms/83xx/ |
| H A D | usb_834x.c | 26 const void *prop, *dr_mode; in mpc834x_usb_cfg() local 50 dr_mode = of_get_property(np, "dr_mode", NULL); in mpc834x_usb_cfg() 51 if (dr_mode && !strcmp(dr_mode, "otg")) { in mpc834x_usb_cfg()
|
| H A D | usb_831x.c | 30 const void *dr_mode; in mpc831x_usb_cfg() local 113 dr_mode = of_get_property(np, "dr_mode", NULL); in mpc831x_usb_cfg() 114 if (dr_mode && !strcmp(dr_mode, "otg")) in mpc831x_usb_cfg()
|
| /linux/drivers/usb/dwc2/ |
| H A D | platform.c | 30 * Check the dr_mode against the module configuration and hardware 33 * The hardware, module, and dr_mode, can each be set to host, device, 35 * value of dr_mode if possible. 38 * HW MOD dr_mode dr_mode 50 * OTG OTG any : dr_mode 56 hsotg->dr_mode = usb_get_dr_mode(hsotg->dev); in dwc2_get_dr_mode() 57 if (hsotg->dr_mode == USB_DR_MODE_UNKNOWN) in dwc2_get_dr_mode() 58 hsotg->dr_mode = USB_DR_MODE_OTG; in dwc2_get_dr_mode() 60 mode = hsotg->dr_mode; in dwc2_get_dr_mode() 83 if (mode != hsotg->dr_mode) { in dwc2_get_dr_mode() [all …]
|
| H A D | drd.c | 38 dwc2_force_mode(hsotg, (hsotg->dr_mode == USB_DR_MODE_HOST) || in dwc2_ovr_init() 92 /* Skip session not in line with dr_mode */ in dwc2_drd_role_sw_set() 93 if ((role == USB_ROLE_DEVICE && hsotg->dr_mode == USB_DR_MODE_HOST) || in dwc2_drd_role_sw_set() 94 (role == USB_ROLE_HOST && hsotg->dr_mode == USB_DR_MODE_PERIPHERAL)) in dwc2_drd_role_sw_set() 159 if (!already && hsotg->dr_mode == USB_DR_MODE_OTG) in dwc2_drd_role_sw_set()
|
| /linux/drivers/usb/phy/ |
| H A D | phy-am335x-control.h | 7 enum usb_dr_mode dr_mode, bool on); 12 enum usb_dr_mode dr_mode, bool on) in phy_ctrl_power() argument 14 phy_ctrl->phy_power(phy_ctrl, id, dr_mode, on); in phy_ctrl_power()
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | amlogic,meson-g12a-usb-ctrl.yaml | 72 dr_mode: true 99 - dr_mode 211 dr_mode = "otg"; 223 dr_mode = "peripheral"; 233 dr_mode = "host";
|
| H A D | dwc3-st.txt | 36 NB: The dr_mode property described in [1] is NOT optional for this driver, as the default value 37 is "otg", which isn't supported by this SoC. Valid dr_mode values for dwc3-st are either "host" 62 dr_mode = "host";
|
| H A D | starfive,jh7110-usb.yaml | 28 dr_mode: 78 - dr_mode 103 dr_mode = "host";
|
| H A D | nxp,isp1760.yaml | 44 dr_mode: 64 dr_mode = "host";
|
| H A D | faraday,fotg210.yaml | 47 dr_mode: true 77 dr_mode = "host";
|
| H A D | ux500-usb.txt | 7 - dr_mode : Dual-role; either host mode "host", peripheral mode "peripheral" 23 dr_mode = "otg";
|
| H A D | usb-drd.yaml | 23 dr_mode: 75 dr_mode = "otg";
|
| H A D | mediatek,musb.yaml | 55 dr_mode: 100 dr_mode = "otg";
|
| H A D | da8xx-usb.txt | 15 - dr_mode: The USB operation mode. Should be one of "host", "peripheral" or "otg". 56 dr_mode = "host";
|
| H A D | am33xx-usb.txt | 38 - dr_mode: Should be one of "host", "peripheral" or "otg". 110 dr_mode = "otg" 156 dr_mode = "host"
|
| /linux/arch/arm64/boot/dts/renesas/ |
| H A D | rz-smarc-common.dtsi | 96 dr_mode = "otg"; 105 dr_mode = "otg"; 124 dr_mode = "otg";
|
| /linux/drivers/phy/amlogic/ |
| H A D | phy-meson8b-usb2.c | 124 enum usb_dr_mode dr_mode; member 183 if (priv->dr_mode == USB_DR_MODE_HOST) { in phy_meson8b_usb2_power_on() 211 if (priv->dr_mode == USB_DR_MODE_HOST) in phy_meson8b_usb2_power_off() 268 priv->dr_mode = of_usb_get_dr_mode_by_phy(pdev->dev.of_node, -1); in phy_meson8b_usb2_probe() 269 if (priv->dr_mode == USB_DR_MODE_UNKNOWN) { in phy_meson8b_usb2_probe()
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-apq8064-cm-qs600.dts | 222 dr_mode = "otg"; 227 dr_mode = "host"; 232 dr_mode = "host";
|
| /linux/drivers/usb/chipidea/ |
| H A D | core.c | 668 if (!platdata->dr_mode) in ci_get_platdata() 669 platdata->dr_mode = usb_get_dr_mode(dev); in ci_get_platdata() 671 if (platdata->dr_mode == USB_DR_MODE_UNKNOWN) in ci_get_platdata() 672 platdata->dr_mode = USB_DR_MODE_OTG; in ci_get_platdata() 674 if (platdata->dr_mode != USB_DR_MODE_PERIPHERAL) { in ci_get_platdata() 693 if (platdata->dr_mode == USB_DR_MODE_OTG) { in ci_get_platdata() 1033 enum usb_dr_mode dr_mode; in ci_hdrc_probe() local 1138 dr_mode = ci->platdata->dr_mode; in ci_hdrc_probe() 1140 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_HOST) { in ci_hdrc_probe() 1150 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in ci_hdrc_probe()
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | marvell,armada-cp110-utmi-phy.yaml | 106 dr_mode = "host"; 114 dr_mode = "peripheral";
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6ull-engicam-microgea-gtw.dts | 87 dr_mode = "otg"; 92 dr_mode = "host";
|
| H A D | imx6qdl-prti6q.dtsi | 71 dr_mode = "host"; 81 dr_mode = "host";
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-rock960.dts | 143 dr_mode = "otg"; 147 dr_mode = "host";
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mp-icore-mx8mp-edimm2.2.dts | 83 dr_mode = "host"; 96 dr_mode = "host";
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | dm8148-t410.dts | 106 dr_mode = "host"; 112 dr_mode = "host";
|