Home
last modified time | relevance | path

Searched refs:dr_mode (Results 1 – 134 of 134) sorted by relevance

/linux-4.1.27/arch/powerpc/platforms/83xx/
Dusb.c33 const void *prop, *dr_mode; in mpc834x_usb_cfg() local
57 dr_mode = of_get_property(np, "dr_mode", NULL); in mpc834x_usb_cfg()
58 if (dr_mode && !strcmp(dr_mode, "otg")) { in mpc834x_usb_cfg()
113 const void *dr_mode; in mpc831x_usb_cfg() local
197 dr_mode = of_get_property(np, "dr_mode", NULL); in mpc831x_usb_cfg()
198 if (dr_mode && !strcmp(dr_mode, "otg")) in mpc831x_usb_cfg()
/linux-4.1.27/drivers/usb/common/
Dcommon.c101 const char *dr_mode; in of_usb_get_dr_mode() local
104 err = of_property_read_string(np, "dr_mode", &dr_mode); in of_usb_get_dr_mode()
109 if (!strcmp(dr_mode, usb_dr_modes[i])) in of_usb_get_dr_mode()
/linux-4.1.27/drivers/usb/chipidea/
Dcore.c566 if (!platdata->dr_mode) in ci_get_platdata()
567 platdata->dr_mode = of_usb_get_dr_mode(dev->of_node); in ci_get_platdata()
569 if (platdata->dr_mode == USB_DR_MODE_UNKNOWN) in ci_get_platdata()
570 platdata->dr_mode = USB_DR_MODE_OTG; in ci_get_platdata()
572 if (platdata->dr_mode != USB_DR_MODE_PERIPHERAL) { in ci_get_platdata()
686 enum usb_dr_mode dr_mode; in ci_hdrc_probe() local
754 dr_mode = ci->platdata->dr_mode; in ci_hdrc_probe()
756 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_HOST) { in ci_hdrc_probe()
762 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in ci_hdrc_probe()
/linux-4.1.27/drivers/usb/dwc3/
Dcore.c512 if ((dwc->dr_mode == USB_DR_MODE_HOST || in dwc3_core_init()
513 dwc->dr_mode == USB_DR_MODE_OTG) && in dwc3_core_init()
670 switch (dwc->dr_mode) { in dwc3_core_init_mode()
702 dev_err(dev, "Unsupported mode of operation %d\n", dwc->dr_mode); in dwc3_core_init_mode()
711 switch (dwc->dr_mode) { in dwc3_core_exit_mode()
818 dwc->dr_mode = of_usb_get_dr_mode(node); in dwc3_probe()
856 dwc->dr_mode = pdata->dr_mode; in dwc3_probe()
911 dwc->dr_mode = USB_DR_MODE_HOST; in dwc3_probe()
913 dwc->dr_mode = USB_DR_MODE_PERIPHERAL; in dwc3_probe()
915 if (dwc->dr_mode == USB_DR_MODE_UNKNOWN) in dwc3_probe()
[all …]
Ddwc3-st.c96 enum usb_dr_mode dr_mode; member
129 switch (dwc3_data->dr_mode) { in st_dwc3_drd_init()
163 dwc3_data->dr_mode); in st_dwc3_drd_init()
260 dwc3_data->dr_mode = of_usb_get_dr_mode(child); in st_dwc3_probe()
Dplatform_data.h25 enum usb_dr_mode dr_mode; member
Dcore.h748 enum usb_dr_mode dr_mode; member
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Dci-hdrc-qcom.txt8 - dr_mode: Should be "peripheral"
14 dr_mode = "peripheral";
Dgeneric.txt9 - dr_mode: tells Dual-Role USB controllers that we want to work on a
23 dr_mode = "otg";
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"
64 dr_mode = "host";
Dux500-usb.txt7 - dr_mode : Dual-role; either host mode "host", peripheral mode "peripheral"
23 dr_mode = "otg";
Dfsl-usb.txt26 - dr_mode : indicates the working mode for "fsl-usb2-dr" compatible
66 dr_mode = "otg";
79 dr_mode = "otg";
Dnvidia,tegra20-usb-phy.txt63 - dr_mode : dual role mode. Indicates the working mode for the PHY. Can be
71 VBUS control (required for dr_mode == otg, optional for dr_mode == host):
Dam33xx-usb.txt38 - dr_mode: Should be one of "host", "peripheral" or "otg".
108 dr_mode = "otg"
153 dr_mode = "host"
Dmsm-hsusb.txt53 - dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg"
78 dr_mode = "peripheral";
Dci-hdrc-imx.txt13 - dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg"
Dqcom,dwc3.txt63 dr_mode = "host";
Ddwc2.txt21 - dr_mode: shall be one of "host", "peripheral" and "otg"
/linux-4.1.27/drivers/usb/host/
Dfsl-mph-dr-of.c22 char *dr_mode; /* controller mode */ member
29 .dr_mode = "host",
34 .dr_mode = "otg",
39 .dr_mode = "peripheral",
53 if (!strcmp(prop, dr_mode_data[i].dr_mode)) in get_dr_mode_data()
/linux-4.1.27/drivers/usb/dwc2/
Dplatform.c217 hsotg->dr_mode = of_usb_get_dr_mode(dev->dev.of_node); in dwc2_driver_probe()
240 if (hsotg->dr_mode != USB_DR_MODE_HOST) { in dwc2_driver_probe()
247 if (hsotg->dr_mode != USB_DR_MODE_PERIPHERAL) { in dwc2_driver_probe()
Dcore.h595 enum usb_dr_mode dr_mode; member
Dcore.c152 if (hsotg->dr_mode == USB_DR_MODE_HOST) { in dwc2_core_reset()
157 } else if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) { in dwc2_core_reset()
162 } else if (hsotg->dr_mode == USB_DR_MODE_OTG) { in dwc2_core_reset()
/linux-4.1.27/arch/arm/boot/dts/
Dimx51-digi-connectcore-jsk.dts49 dr_mode = "otg";
56 dr_mode = "host";
Dimx35-eukrea-mbimxsd35-baseboard.dts155 dr_mode = "host";
161 dr_mode = "otg";
Dimx25-eukrea-mbimxsd25-baseboard.dts177 dr_mode = "host";
183 dr_mode = "otg";
Dzynq-zed.dts65 dr_mode = "host";
Ddra74x.dtsi71 dr_mode = "otg";
Dimx27-eukrea-cpuimx27.dtsi87 dr_mode = "host";
96 dr_mode = "otg";
Dimx51-eukrea-mbimxsd51-baseboard.dts279 dr_mode = "host";
285 dr_mode = "otg";
Dimx25-pdk.dts307 dr_mode = "host";
313 dr_mode = "otg";
Dam335x-chiliboard.dts97 dr_mode = "host";
Dimx50.dtsi200 dr_mode = "host";
209 dr_mode = "host";
218 dr_mode = "host";
Dimx6qdl-aristainetos.dtsi159 dr_mode = "host";
168 dr_mode = "host";
Dimx28-cfa10036.dts115 dr_mode = "peripheral";
Dimx23-olinuxino.dts97 dr_mode = "host";
Dexynos5422-odroidxu3.dts351 dr_mode = "host";
355 dr_mode = "otg";
Dam335x-lxm.dts307 dr_mode = "host";
312 dr_mode = "host";
Dam335x-bone-common.dtsi198 dr_mode = "peripheral";
203 dr_mode = "host";
Dimx51.dtsi268 dr_mode = "host";
278 dr_mode = "host";
288 dr_mode = "host";
Dimx6qdl-dfi-fs700-m60.dtsi179 dr_mode = "host";
Dtegra30-colibri-eval-v3.dts101 dr_mode = "otg";
Dimx27-pdk.dts118 dr_mode = "otg";
Dimx6dl-riotboard.dts291 dr_mode = "host";
301 dr_mode = "otg";
Dimx6qdl-wandboard.dtsi248 dr_mode = "peripheral";
Dls1021a.dtsi398 dr_mode = "host";
406 dr_mode = "host";
Ddm816x.dtsi391 dr_mode = "host";
431 dr_mode = "host";
Dimx53.dtsi312 dr_mode = "host";
322 dr_mode = "host";
332 dr_mode = "host";
Ds5pv210-smdkv210.dts184 dr_mode = "peripheral";
Dimx53-mba53.dts215 dr_mode = "host";
Dimx6qdl-tx6.dtsi664 dr_mode = "host";
673 dr_mode = "peripheral";
Dvfxxx.dtsi365 dr_mode = "peripheral";
466 dr_mode = "host";
Dam57xx-beagle-x15.dts553 dr_mode = "host";
567 dr_mode = "peripheral";
Dzynq-zc706.dts310 dr_mode = "host";
Dimx27-phytec-phycore-rdk.dts302 dr_mode = "host";
Dimx53-m53evk.dts354 dr_mode = "peripheral";
Dzynq-zc702.dts361 dr_mode = "host";
Dam335x-pepper.dts567 dr_mode = "host";
572 dr_mode = "host";
Ddra72-evm.dts389 dr_mode = "peripheral";
395 dr_mode = "host";
Dimx28-tx28.dts699 dr_mode = "peripheral";
706 dr_mode = "host";
Dimx27.dtsi497 dr_mode = "host";
510 dr_mode = "host";
Dimx53-qsb-common.dtsi364 dr_mode = "peripheral";
Dimx27-phytec-phycore-som.dtsi319 dr_mode = "otg";
Dam335x-igep0033.dtsi237 dr_mode = "host";
Ddra7-evm.dts553 dr_mode = "peripheral";
559 dr_mode = "host";
Dimx6sl-warp.dts125 dr_mode = "host";
Dtegra114-tn7.dts262 dr_mode = "host";
Dam437x-sk-evm.dts542 dr_mode = "peripheral";
553 dr_mode = "host";
Dam437x-gp-evm.dts476 dr_mode = "peripheral";
485 dr_mode = "host";
Datlas7.dtsi387 dr_mode = "otg";
400 dr_mode = "host";
Dam43x-epos-evm.dts588 dr_mode = "peripheral";
597 dr_mode = "host";
Ds5pv210-aquila.dts358 dr_mode = "peripheral";
Dexynos5420-arndale-octa.dts373 dr_mode = "host";
Dimx6qdl.dtsi865 dr_mode = "host";
875 dr_mode = "host";
885 dr_mode = "host";
Dimx6q-dmo-edmqmx6.dts462 dr_mode = "host";
Dam33xx.dtsi518 dr_mode = "otg";
565 dr_mode = "otg";
Dimx35.dtsi321 dr_mode = "host";
Ds5pv210-goni.dts336 dr_mode = "peripheral";
Dexynos4210-trats.dts95 dr_mode = "peripheral";
Dimx6sx-sdb.dtsi276 dr_mode = "host";
Dam4372.dtsi866 dr_mode = "otg";
890 dr_mode = "otg";
Dexynos5420-peach-pit.dts1040 dr_mode = "host";
1044 dr_mode = "host";
Dexynos5800-peach-pi.dts1003 dr_mode = "host";
1007 dr_mode = "host";
Dtegra20-seaboard.dts728 dr_mode = "otg";
734 dr_mode = "otg";
Dexynos4412-odroid-common.dtsi430 dr_mode = "peripheral";
Dimx53-tx53.dtsi545 dr_mode = "peripheral";
Ddra7.dtsi1298 dr_mode = "otg";
1321 dr_mode = "otg";
1344 dr_mode = "otg";
Dimx51-babbage.dts418 dr_mode = "otg";
Dexynos4210-universal_c210.dts75 dr_mode = "peripheral";
Dimx6sl-evk.dts609 dr_mode = "host";
Dam335x-evm.dts360 dr_mode = "host";
Dexynos5250-snow.dts696 dr_mode = "host";
Dexynos3250-monk.dts150 dr_mode = "peripheral";
Dam335x-evmsk.dts499 dr_mode = "host";
Dexynos3250-rinato.dts141 dr_mode = "peripheral";
Dimx6sl.dtsi710 dr_mode = "host";
Dimx28.dtsi1213 dr_mode = "host";
Dste-dbx5x0.dtsi249 dr_mode = "otg";
Dtegra114-roth.dts992 dr_mode = "host";
Domap5.dtsi877 dr_mode = "peripheral";
Dexynos4412-trats2.dts911 dr_mode = "peripheral";
Dimx6sx.dtsi770 dr_mode = "host";
/linux-4.1.27/include/linux/usb/
Dchipidea.h32 enum usb_dr_mode dr_mode; member
/linux-4.1.27/arch/powerpc/boot/dts/
Dp1020rdb.dtsi193 dr_mode = "host";
201 dr_mode = "host";
Dpdm360ng.dts132 dr_mode = "host";
Dmpc5121ads.dts136 dr_mode = "host";
Dmpc5121.dtsi304 dr_mode = "otg";
317 dr_mode = "otg";
Dmvme2500.dts85 dr_mode = "host";
Db4qds.dtsi197 dr_mode = "host";
Dmpc8536ds.dtsi241 dr_mode = "peripheral";
Dp4080ds.dts125 dr_mode = "host";
Dge_imp3a.dts157 dr_mode = "host";
Dp1010rdb.dtsi153 dr_mode = "host";
Dmpc8349emitxgp.dts148 dr_mode = "otg";
Dp2020rdb.dts200 dr_mode = "host";
Dp2041rdb.dts126 dr_mode = "host";
Dmpc5125twr.dts242 dr_mode = "host";
Dasp834x-redboot.dts180 dr_mode = "otg";
Dmpc8308_p1m.dts164 dr_mode = "peripheral";
Dp1023rdb.dts81 dr_mode = "host";
Dmpc8308rdb.dts139 dr_mode = "peripheral";
Dp1021mds.dts154 dr_mode = "host";
Dp2020ds.dtsi137 dr_mode = "host";
Dmpc8349emitx.dts212 dr_mode = "peripheral";
Dmpc8379_mds.dts232 dr_mode = "host";
Dmpc8378_mds.dts234 dr_mode = "host";
Dmpc834x_mds.dts166 dr_mode = "otg";
Dmpc8377_mds.dts195 dr_mode = "host";
/linux-4.1.27/arch/powerpc/boot/dts/fsl/
Dp3041si-post.dtsi424 dr_mode = "host";
Dp5020si-post.dtsi411 dr_mode = "host";
Dp5040si-post.dtsi389 dr_mode = "host";
Dp2041si-post.dtsi397 dr_mode = "host";
Dt1040si-post.dtsi445 dr_mode = "host";
Dt2081si-post.dtsi501 dr_mode = "host";
Dt4240si-post.dtsi745 dr_mode = "host";