Home
last modified time | relevance | path

Searched full:dr_mode (Results 1 – 25 of 721) sorted by relevance

12345678910>>...29

/linux/arch/powerpc/platforms/83xx/
H A Dusb_834x.c26 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 Dusb_831x.c30 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 Dplatform.c30 * 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 Ddrd.c38 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 Dphy-am335x-control.h7 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/drivers/usb/cdns3/
H A Ddrd.c134 if (cdns->dr_mode == USB_DR_MODE_HOST) in cdns_is_host()
144 if (cdns->dr_mode == USB_DR_MODE_PERIPHERAL) in cdns_is_device()
146 else if (cdns->dr_mode == USB_DR_MODE_OTG) in cdns_is_device()
318 switch (cdns->dr_mode) { in cdns_drd_update_mode()
330 cdns->dr_mode); in cdns_drd_update_mode()
360 if (cdns->dr_mode != USB_DR_MODE_OTG) in cdns_drd_irq()
457 /* Update dr_mode according to STRAP configuration. */ in cdns_drd_init()
458 cdns->dr_mode = USB_DR_MODE_OTG; in cdns_drd_init()
465 cdns->dr_mode = USB_DR_MODE_HOST; in cdns_drd_init()
471 cdns->dr_mode = USB_DR_MODE_PERIPHERAL; in cdns_drd_init()
/linux/Documentation/devicetree/bindings/usb/
H A Damlogic,meson-g12a-usb-ctrl.yaml72 dr_mode: true
99 - dr_mode
211 dr_mode = "otg";
223 dr_mode = "peripheral";
233 dr_mode = "host";
H A Ddwc3-st.txt36 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 Dstarfive,jh7110-usb.yaml28 dr_mode:
78 - dr_mode
103 dr_mode = "host";
H A Dnxp,isp1760.yaml44 dr_mode:
64 dr_mode = "host";
H A Dfaraday,fotg210.yaml47 dr_mode: true
77 dr_mode = "host";
H A Dux500-usb.txt7 - dr_mode : Dual-role; either host mode "host", peripheral mode "peripheral"
23 dr_mode = "otg";
H A Dusb-drd.yaml23 dr_mode:
75 dr_mode = "otg";
H A Dgenesys,gl850g.yaml78 dr_mode = "host";
92 dr_mode = "host";
H A Dmediatek,mtu3.yaml110 dr_mode:
262 dr_mode = "otg";
295 dr_mode = "otg";
331 dr_mode = "otg";
H A Dmediatek,musb.yaml55 dr_mode:
100 dr_mode = "otg";
H A Dda8xx-usb.txt15 - dr_mode: The USB operation mode. Should be one of "host", "peripheral" or "otg".
56 dr_mode = "host";
H A Dam33xx-usb.txt38 - dr_mode: Should be one of "host", "peripheral" or "otg".
110 dr_mode = "otg"
156 dr_mode = "host"
/linux/drivers/usb/host/
H A Dfsl-mph-dr-of.c20 char *dr_mode; /* controller mode */ member
27 .dr_mode = "host",
32 .dr_mode = "otg",
37 .dr_mode = "peripheral",
48 prop = of_get_property(np, "dr_mode", NULL); in get_dr_mode_data()
51 if (!strcmp(prop, dr_mode_data[i].dr_mode)) in get_dr_mode_data()
55 pr_warn("%pOF: Invalid 'dr_mode' property, fallback to host mode\n", in get_dr_mode_data()
/linux/arch/arm64/boot/dts/renesas/
H A Drz-smarc-common.dtsi96 dr_mode = "otg";
105 dr_mode = "otg";
124 dr_mode = "otg";
/linux/drivers/phy/amlogic/
H A Dphy-meson8b-usb2.c125 enum usb_dr_mode dr_mode; member
184 if (priv->dr_mode == USB_DR_MODE_HOST) { in phy_meson8b_usb2_power_on()
212 if (priv->dr_mode == USB_DR_MODE_HOST) in phy_meson8b_usb2_power_off()
269 priv->dr_mode = of_usb_get_dr_mode_by_phy(pdev->dev.of_node, -1); in phy_meson8b_usb2_probe()
270 if (priv->dr_mode == USB_DR_MODE_UNKNOWN) { in phy_meson8b_usb2_probe()
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-apq8064-cm-qs600.dts222 dr_mode = "otg";
227 dr_mode = "host";
232 dr_mode = "host";
/linux/arch/arm/boot/dts/xilinx/
H A Dzynq-cc108.dts106 dr_mode = "host";
112 dr_mode = "host";
/linux/Documentation/devicetree/bindings/phy/
H A Dmarvell,armada-cp110-utmi-phy.yaml106 dr_mode = "host";
114 dr_mode = "peripheral";
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-engicam-microgea-gtw.dts87 dr_mode = "otg";
92 dr_mode = "host";

12345678910>>...29