Home
last modified time | relevance | path

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

12

/linux-4.4.14/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.4.14/drivers/usb/dwc2/
Dplatform.c378 hsotg->dr_mode = usb_get_dr_mode(&dev->dev); in dwc2_driver_probe()
380 hsotg->dr_mode != USB_DR_MODE_HOST) { in dwc2_driver_probe()
381 hsotg->dr_mode = USB_DR_MODE_HOST; in dwc2_driver_probe()
385 hsotg->dr_mode != USB_DR_MODE_PERIPHERAL) { in dwc2_driver_probe()
386 hsotg->dr_mode = USB_DR_MODE_PERIPHERAL; in dwc2_driver_probe()
430 if (hsotg->dr_mode != USB_DR_MODE_HOST) { in dwc2_driver_probe()
437 if (hsotg->dr_mode != USB_DR_MODE_PERIPHERAL) { in dwc2_driver_probe()
452 if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) in dwc2_driver_probe()
Dcore.h709 enum usb_dr_mode dr_mode; member
Dgadget.c3155 if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) { in dwc2_hsotg_udc_start()
3214 if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) in dwc2_hsotg_udc_stop()
3577 if (hsotg->dr_mode == USB_DR_MODE_OTG) in dwc2_gadget_init()
3579 else if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) in dwc2_gadget_init()
Dcore.c519 if (hsotg->dr_mode == USB_DR_MODE_HOST) { in dwc2_core_reset()
524 } else if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL) { in dwc2_core_reset()
529 } else if (hsotg->dr_mode == USB_DR_MODE_OTG) { in dwc2_core_reset()
/linux-4.4.14/drivers/usb/common/
Dcommon.c111 const char *dr_mode; in usb_get_dr_mode() local
114 err = device_property_read_string(dev, "dr_mode", &dr_mode); in usb_get_dr_mode()
119 if (!strcmp(dr_mode, usb_dr_modes[i])) in usb_get_dr_mode()
/linux-4.4.14/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.4.14/drivers/usb/dwc3/
Dcore.c592 if ((dwc->dr_mode == USB_DR_MODE_HOST || in dwc3_core_init()
593 dwc->dr_mode == USB_DR_MODE_OTG) && in dwc3_core_init()
748 switch (dwc->dr_mode) { in dwc3_core_init_mode()
780 dev_err(dev, "Unsupported mode of operation %d\n", dwc->dr_mode); in dwc3_core_init_mode()
789 switch (dwc->dr_mode) { in dwc3_core_exit_mode()
882 dwc->dr_mode = usb_get_dr_mode(dev); in dwc3_probe()
941 dwc->dr_mode = pdata->dr_mode; in dwc3_probe()
1004 dwc->dr_mode = USB_DR_MODE_HOST; in dwc3_probe()
1006 dwc->dr_mode = USB_DR_MODE_PERIPHERAL; in dwc3_probe()
1008 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()
159 dwc3_data->dr_mode); in st_dwc3_drd_init()
271 dwc3_data->dr_mode = usb_get_dr_mode(&child_pdev->dev); in st_dwc3_probe()
Dplatform_data.h25 enum usb_dr_mode dr_mode; member
Dcore.h770 enum usb_dr_mode dr_mode; member
/linux-4.4.14/drivers/usb/chipidea/
Dcore.c650 if (!platdata->dr_mode) in ci_get_platdata()
651 platdata->dr_mode = usb_get_dr_mode(dev); in ci_get_platdata()
653 if (platdata->dr_mode == USB_DR_MODE_UNKNOWN) in ci_get_platdata()
654 platdata->dr_mode = USB_DR_MODE_OTG; in ci_get_platdata()
656 if (platdata->dr_mode != USB_DR_MODE_PERIPHERAL) { in ci_get_platdata()
675 if (platdata->dr_mode == USB_DR_MODE_OTG) { in ci_get_platdata()
913 enum usb_dr_mode dr_mode; in ci_hdrc_probe() local
981 dr_mode = ci->platdata->dr_mode; in ci_hdrc_probe()
983 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_HOST) { in ci_hdrc_probe()
989 if (dr_mode == USB_DR_MODE_OTG || dr_mode == USB_DR_MODE_PERIPHERAL) { in ci_hdrc_probe()
/linux-4.4.14/Documentation/devicetree/bindings/usb/
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"
63 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";
Dgeneric.txt9 - dr_mode: tells Dual-Role USB controllers that we want to work on a
36 dr_mode = "otg";
Dam33xx-usb.txt38 - dr_mode: Should be one of "host", "peripheral" or "otg".
108 dr_mode = "otg"
153 dr_mode = "host"
Dallwinner,sun4i-a10-musb.txt14 - dr_mode : Dual-Role mode must be "host" or "otg"
Dmsm-hsusb.txt53 - dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg"
93 dr_mode = "peripheral";
Ddwc2.txt21 - dr_mode: shall be one of "host", "peripheral" and "otg"
Dqcom,dwc3.txt63 dr_mode = "host";
Dci-hdrc-usb2.txt17 - dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg"
/linux-4.4.14/arch/arm/boot/dts/
Dimx51-digi-connectcore-jsk.dts49 dr_mode = "otg";
56 dr_mode = "host";
Dam335x-wega.dtsi147 dr_mode = "peripheral";
156 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";
Dexynos5422-odroidxu4.dts47 dr_mode = "host";
Dzynq-zed.dts66 dr_mode = "host";
Dimx27-eukrea-cpuimx27.dtsi87 dr_mode = "host";
96 dr_mode = "otg";
Dexynos5422-odroidxu3-lite.dts70 dr_mode = "otg";
Dimx51-eukrea-mbimxsd51-baseboard.dts279 dr_mode = "host";
285 dr_mode = "otg";
Dimx6ul-14x14-evk.dts117 dr_mode = "peripheral";
122 dr_mode = "host";
Dqcom-apq8064.dtsi458 dr_mode = "host";
473 dr_mode = "host";
488 dr_mode = "host";
502 dr_mode = "peripheral";
Dexynos5422-odroidxu3.dts101 dr_mode = "otg";
Dimx25-pdk.dts307 dr_mode = "host";
313 dr_mode = "otg";
Dimx6sl-warp.dts92 dr_mode = "peripheral";
98 dr_mode = "host";
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";
Dimx23-olinuxino.dts103 dr_mode = "host";
Dimx28-cfa10036.dts118 dr_mode = "peripheral";
Dam335x-lxm.dts307 dr_mode = "host";
312 dr_mode = "host";
Ddra74x.dtsi81 dr_mode = "otg";
Dam335x-bone-common.dtsi205 dr_mode = "peripheral";
210 dr_mode = "host";
Dimx51.dtsi268 dr_mode = "host";
278 dr_mode = "host";
288 dr_mode = "host";
Dimx6qdl-dfi-fs700-m60.dtsi179 dr_mode = "host";
Dsun8i-a23-ippo-q8h-v1.2.dts59 dr_mode = "host";
Dsun8i-a33-q8-tablet.dts59 dr_mode = "host";
Dsun8i-a23-q8-tablet.dts59 dr_mode = "host";
Dsun8i-a23-ippo-q8h-v5.dts59 dr_mode = "host";
Dsun8i-a33-ippo-q8h-v1.2.dts59 dr_mode = "host";
Dimx27-pdk.dts118 dr_mode = "otg";
Dsun8i-a33-et-q8-v1.6.dts59 dr_mode = "host";
Dtegra30-colibri-eval-v3.dts102 dr_mode = "otg";
Dimx6dl-riotboard.dts291 dr_mode = "host";
301 dr_mode = "otg";
Dsun6i-a31s-cs908.dts97 dr_mode = "host";
Dam57xx-beagle-x15.dts698 dr_mode = "host";
717 * the necessary dr_mode override in the expansion
720 dr_mode = "peripheral";
Dimx6qdl-wandboard.dtsi248 dr_mode = "peripheral";
Dam335x-sl50.dts319 dr_mode = "peripheral";
324 dr_mode = "host";
Ddm816x.dtsi395 dr_mode = "host";
435 dr_mode = "host";
Drk3xxx.dtsi175 dr_mode = "otg";
191 dr_mode = "host";
Dimx53.dtsi313 dr_mode = "host";
323 dr_mode = "host";
333 dr_mode = "host";
Ds5pv210-smdkv210.dts184 dr_mode = "peripheral";
Dsun4i-a10-ba10-tvbox.dts159 dr_mode = "host";
Dsun8i-a33-ga10h-v1.1.dts136 dr_mode = "host";
Dsun4i-a10-mini-xplus.dts141 dr_mode = "host";
Dtegra30-apalis-eval.dts156 dr_mode = "otg";
Dimx53-mba53.dts215 dr_mode = "host";
Dsun8i-a23-gt90h-v4.dts139 dr_mode = "host";
Dsun5i-a10s-auxtek-t003.dts151 dr_mode = "host";
Dsun6i-a31-mele-a1000g-quad.dts147 dr_mode = "host";
Dimx6qdl-tx6.dtsi665 dr_mode = "host";
674 dr_mode = "peripheral";
Dam335x-baltos-ir5221.dts365 dr_mode = "host";
370 dr_mode = "otg";
Dsun4i-a10-chuwi-v7-cw0825.dts164 dr_mode = "otg";
Dsun5i-q8-common.dtsi169 dr_mode = "otg";
Dzynq-zc706.dts311 dr_mode = "host";
Dsun4i-a10-pov-protab2-ips9.dts187 dr_mode = "otg";
Dimx27-phytec-phycore-rdk.dts302 dr_mode = "host";
Dsun4i-a10-marsboard.dts203 dr_mode = "otg";
Dsun7i-a20-wexler-tab7200.dts197 dr_mode = "otg";
Dimx53-m53evk.dts354 dr_mode = "peripheral";
Dsun4i-a10-olinuxino-lime.dts224 dr_mode = "otg";
Dsun4i-a10-inet1.dts213 dr_mode = "otg";
Dsun7i-a20-wits-pro-a20-dkt.dts209 dr_mode = "otg";
Dsun4i-a10-jesurun-q5.dts199 dr_mode = "host";
Dsun7i-a20-cubieboard2.dts182 dr_mode = "otg";
Dsun7i-a20-olinuxino-lime.dts209 dr_mode = "otg";
Dsun4i-a10-inet9f-rev03.dts215 dr_mode = "otg";
Dsun5i-a13-hsg-h702.dts206 dr_mode = "otg";
Dsun4i-a10-cubieboard.dts235 dr_mode = "otg";
Dsun4i-a10-inet97fv2.dts208 dr_mode = "otg";
Dsun5i-r8-chip.dts201 dr_mode = "otg";
Dimx6qdl-aristainetos2.dtsi379 dr_mode = "host";
388 dr_mode = "host";
Dimx28-tx28.dts700 dr_mode = "peripheral";
707 dr_mode = "host";
Dvfxxx.dtsi385 dr_mode = "peripheral";
499 dr_mode = "host";
Dimx27.dtsi506 dr_mode = "host";
519 dr_mode = "host";
Dam335x-pepper.dts577 dr_mode = "host";
582 dr_mode = "host";
Dsun5i-a13-olinuxino.dts221 dr_mode = "otg";
Dsun7i-a20-pcduino3.dts248 dr_mode = "otg";
Dimx27-phytec-phycore-som.dtsi319 dr_mode = "otg";
Dsun5i-a10s-wobo-i5.dts213 dr_mode = "host";
Dsun5i-a13-inet-98v-rev2.dts211 dr_mode = "otg";
Dzynq-zc702.dts390 dr_mode = "host";
Dsun4i-a10-pcduino.dts228 dr_mode = "otg";
Dsun7i-a20-pcduino3-nano.dts226 dr_mode = "otg";
Dimx53-qsb-common.dtsi366 dr_mode = "peripheral";
Dam335x-igep0033.dtsi237 dr_mode = "host";
Dls1021a.dtsi531 dr_mode = "host";
539 dr_mode = "host";
Dsun7i-a20-olinuxino-lime2.dts267 dr_mode = "otg";
Dsun7i-a20-bananapi.dts272 dr_mode = "otg";
Dsun6i-a31s-primo81.dts249 dr_mode = "host";
Dsun7i-a20-orangepi-mini.dts262 dr_mode = "otg";
Dsun7i-a20-olinuxino-micro.dts307 dr_mode = "otg";
Dsun5i-a10s-olinuxino-micro.dts270 dr_mode = "otg";
Dtegra114-tn7.dts262 dr_mode = "host";
Dsun7i-a20-orangepi.dts240 dr_mode = "otg";
Dsun5i-a13-utoo-p66.dts241 dr_mode = "otg";
Dam437x-sk-evm.dts574 dr_mode = "peripheral";
585 dr_mode = "host";
Dsun7i-a20-cubietruck.dts311 dr_mode = "otg";
Ds5pv210-aquila.dts358 dr_mode = "peripheral";
Dimx6qdl.dtsi919 dr_mode = "host";
929 dr_mode = "host";
939 dr_mode = "host";
Dimx6q-dmo-edmqmx6.dts462 dr_mode = "host";
Dexynos5420-arndale-octa.dts56 dr_mode = "host";
Dam43x-epos-evm.dts676 dr_mode = "peripheral";
685 dr_mode = "host";
Ddra72-evm.dts588 dr_mode = "peripheral";
594 dr_mode = "host";
Dimx35.dtsi321 dr_mode = "host";
Dexynos5422-odroidxu3-common.dtsi418 dr_mode = "host";
Ds5pv210-goni.dts336 dr_mode = "peripheral";
Dam33xx.dtsi535 dr_mode = "otg";
582 dr_mode = "otg";
Ddra7-evm.dts724 dr_mode = "peripheral";
730 dr_mode = "host";
Dexynos4210-trats.dts265 dr_mode = "peripheral";
Dimx6sx-sdb.dtsi276 dr_mode = "host";
Dexynos5420-peach-pit.dts1041 dr_mode = "host";
1045 dr_mode = "host";
Dexynos5800-peach-pi.dts1004 dr_mode = "host";
1008 dr_mode = "host";
Dtegra20-seaboard.dts729 dr_mode = "otg";
735 dr_mode = "otg";
Dexynos4412-odroid-common.dtsi196 dr_mode = "peripheral";
Dimx53-tx53.dtsi545 dr_mode = "peripheral";
Dimx6qdl-apf6dev.dtsi278 dr_mode = "otg";
Dimx6sl-evk.dts609 dr_mode = "host";
Dimx7d-sdb.dts280 dr_mode = "host";
Dimx51-babbage.dts418 dr_mode = "otg";
Dexynos4210-universal_c210.dts286 dr_mode = "peripheral";
Dam437x-gp-evm.dts775 dr_mode = "peripheral";
784 dr_mode = "host";
Dam4372.dtsi928 dr_mode = "otg";
957 dr_mode = "otg";
Ddra7.dtsi1359 dr_mode = "otg";
1387 dr_mode = "otg";
1415 dr_mode = "otg";
Drk3288-veyron.dtsi420 dr_mode = "host";
Dexynos5250-snow-common.dtsi677 dr_mode = "host";
Datlas7.dtsi1509 dr_mode = "otg";
1522 dr_mode = "host";
Dexynos3250-monk.dts171 dr_mode = "peripheral";
Dstih407-family.dtsi605 dr_mode = "host";
Dam335x-evmsk.dts521 dr_mode = "host";
Drk3288.dtsi503 dr_mode = "host";
516 dr_mode = "otg";
Dam335x-evm.dts432 dr_mode = "host";
Dexynos3250-rinato.dts162 dr_mode = "peripheral";
Dimx6sl.dtsi730 dr_mode = "host";
Dimx28.dtsi1215 dr_mode = "host";
Dimx7d.dtsi785 dr_mode = "host";
Dtegra114-roth.dts992 dr_mode = "host";
Dste-dbx5x0.dtsi435 dr_mode = "otg";
Domap5.dtsi885 dr_mode = "peripheral";
Dexynos4412-trats2.dts477 dr_mode = "peripheral";
/linux-4.4.14/arch/arm64/boot/dts/xilinx/
Dzynqmp-ep108.dts124 dr_mode = "peripheral";
130 dr_mode = "host";
/linux-4.4.14/Documentation/devicetree/bindings/phy/
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):
/linux-4.4.14/include/linux/usb/
Dchipidea.h58 enum usb_dr_mode dr_mode; member
/linux-4.4.14/arch/powerpc/boot/dts/fsl/
Dp1020rdb.dtsi193 dr_mode = "host";
201 dr_mode = "host";
Dmvme2500.dts85 dr_mode = "host";
Dp4080ds.dts137 dr_mode = "host";
Db4qds.dtsi209 dr_mode = "host";
Dge_imp3a.dts157 dr_mode = "host";
Dmpc8536ds.dtsi241 dr_mode = "peripheral";
Dp2041rdb.dts138 dr_mode = "host";
Dp1010rdb.dtsi153 dr_mode = "host";
Dp2020rdb.dts200 dr_mode = "host";
Dp1023rdb.dts93 dr_mode = "host";
Dp1021mds.dts154 dr_mode = "host";
Dp2020ds.dtsi137 dr_mode = "host";
Dt1023si-post.dtsi320 dr_mode = "host";
Dp5020si-post.dtsi424 dr_mode = "host";
Dp2041si-post.dtsi410 dr_mode = "host";
Dp3041si-post.dtsi437 dr_mode = "host";
Dp5040si-post.dtsi402 dr_mode = "host";
Dt1040si-post.dtsi527 dr_mode = "host";
Dt2081si-post.dtsi626 dr_mode = "host";
/linux-4.4.14/arch/powerpc/boot/dts/
Dpdm360ng.dts132 dr_mode = "host";
Dmpc5121ads.dts136 dr_mode = "host";
Dmpc5121.dtsi303 dr_mode = "otg";
316 dr_mode = "otg";
Dmpc8349emitxgp.dts148 dr_mode = "otg";
Dmpc8308_p1m.dts164 dr_mode = "peripheral";
Dmpc8308rdb.dts139 dr_mode = "peripheral";
Dmpc5125twr.dts242 dr_mode = "host";
Dasp834x-redboot.dts180 dr_mode = "otg";
Dmpc8349emitx.dts212 dr_mode = "peripheral";
Dmpc834x_mds.dts166 dr_mode = "otg";
Dmpc8379_mds.dts232 dr_mode = "host";
Dmpc8378_mds.dts234 dr_mode = "host";
Dmpc8377_mds.dts195 dr_mode = "host";
/linux-4.4.14/arch/arm64/boot/dts/qcom/
Dmsm8916.dtsi314 dr_mode = "peripheral";
336 dr_mode = "peripheral";
/linux-4.4.14/arch/arm64/boot/dts/freescale/
Dfsl-ls2080a.dtsi503 dr_mode = "host";
511 dr_mode = "host";
/linux-4.4.14/arch/arm64/boot/dts/rockchip/
Drk3368-r88.dts348 dr_mode = "host";
Drk3368.dtsi440 dr_mode = "otg";

12