/linux-4.1.27/arch/powerpc/platforms/83xx/ |
D | usb.c | 33 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/ |
D | common.c | 101 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/ |
D | core.c | 566 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/ |
D | core.c | 512 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 …]
|
D | dwc3-st.c | 96 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()
|
D | platform_data.h | 25 enum usb_dr_mode dr_mode; member
|
D | core.h | 748 enum usb_dr_mode dr_mode; member
|
/linux-4.1.27/Documentation/devicetree/bindings/usb/ |
D | ci-hdrc-qcom.txt | 8 - dr_mode: Should be "peripheral" 14 dr_mode = "peripheral";
|
D | generic.txt | 9 - dr_mode: tells Dual-Role USB controllers that we want to work on a 23 dr_mode = "otg";
|
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" 64 dr_mode = "host";
|
D | ux500-usb.txt | 7 - dr_mode : Dual-role; either host mode "host", peripheral mode "peripheral" 23 dr_mode = "otg";
|
D | fsl-usb.txt | 26 - dr_mode : indicates the working mode for "fsl-usb2-dr" compatible 66 dr_mode = "otg"; 79 dr_mode = "otg";
|
D | nvidia,tegra20-usb-phy.txt | 63 - 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):
|
D | am33xx-usb.txt | 38 - dr_mode: Should be one of "host", "peripheral" or "otg". 108 dr_mode = "otg" 153 dr_mode = "host"
|
D | msm-hsusb.txt | 53 - dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg" 78 dr_mode = "peripheral";
|
D | ci-hdrc-imx.txt | 13 - dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg"
|
D | qcom,dwc3.txt | 63 dr_mode = "host";
|
D | dwc2.txt | 21 - dr_mode: shall be one of "host", "peripheral" and "otg"
|
/linux-4.1.27/drivers/usb/host/ |
D | fsl-mph-dr-of.c | 22 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/ |
D | platform.c | 217 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()
|
D | core.h | 595 enum usb_dr_mode dr_mode; member
|
D | core.c | 152 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/ |
D | imx51-digi-connectcore-jsk.dts | 49 dr_mode = "otg"; 56 dr_mode = "host";
|
D | imx35-eukrea-mbimxsd35-baseboard.dts | 155 dr_mode = "host"; 161 dr_mode = "otg";
|
D | imx25-eukrea-mbimxsd25-baseboard.dts | 177 dr_mode = "host"; 183 dr_mode = "otg";
|
D | zynq-zed.dts | 65 dr_mode = "host";
|
D | dra74x.dtsi | 71 dr_mode = "otg";
|
D | imx27-eukrea-cpuimx27.dtsi | 87 dr_mode = "host"; 96 dr_mode = "otg";
|
D | imx51-eukrea-mbimxsd51-baseboard.dts | 279 dr_mode = "host"; 285 dr_mode = "otg";
|
D | imx25-pdk.dts | 307 dr_mode = "host"; 313 dr_mode = "otg";
|
D | am335x-chiliboard.dts | 97 dr_mode = "host";
|
D | imx50.dtsi | 200 dr_mode = "host"; 209 dr_mode = "host"; 218 dr_mode = "host";
|
D | imx6qdl-aristainetos.dtsi | 159 dr_mode = "host"; 168 dr_mode = "host";
|
D | imx28-cfa10036.dts | 115 dr_mode = "peripheral";
|
D | imx23-olinuxino.dts | 97 dr_mode = "host";
|
D | exynos5422-odroidxu3.dts | 351 dr_mode = "host"; 355 dr_mode = "otg";
|
D | am335x-lxm.dts | 307 dr_mode = "host"; 312 dr_mode = "host";
|
D | am335x-bone-common.dtsi | 198 dr_mode = "peripheral"; 203 dr_mode = "host";
|
D | imx51.dtsi | 268 dr_mode = "host"; 278 dr_mode = "host"; 288 dr_mode = "host";
|
D | imx6qdl-dfi-fs700-m60.dtsi | 179 dr_mode = "host";
|
D | tegra30-colibri-eval-v3.dts | 101 dr_mode = "otg";
|
D | imx27-pdk.dts | 118 dr_mode = "otg";
|
D | imx6dl-riotboard.dts | 291 dr_mode = "host"; 301 dr_mode = "otg";
|
D | imx6qdl-wandboard.dtsi | 248 dr_mode = "peripheral";
|
D | ls1021a.dtsi | 398 dr_mode = "host"; 406 dr_mode = "host";
|
D | dm816x.dtsi | 391 dr_mode = "host"; 431 dr_mode = "host";
|
D | imx53.dtsi | 312 dr_mode = "host"; 322 dr_mode = "host"; 332 dr_mode = "host";
|
D | s5pv210-smdkv210.dts | 184 dr_mode = "peripheral";
|
D | imx53-mba53.dts | 215 dr_mode = "host";
|
D | imx6qdl-tx6.dtsi | 664 dr_mode = "host"; 673 dr_mode = "peripheral";
|
D | vfxxx.dtsi | 365 dr_mode = "peripheral"; 466 dr_mode = "host";
|
D | am57xx-beagle-x15.dts | 553 dr_mode = "host"; 567 dr_mode = "peripheral";
|
D | zynq-zc706.dts | 310 dr_mode = "host";
|
D | imx27-phytec-phycore-rdk.dts | 302 dr_mode = "host";
|
D | imx53-m53evk.dts | 354 dr_mode = "peripheral";
|
D | zynq-zc702.dts | 361 dr_mode = "host";
|
D | am335x-pepper.dts | 567 dr_mode = "host"; 572 dr_mode = "host";
|
D | dra72-evm.dts | 389 dr_mode = "peripheral"; 395 dr_mode = "host";
|
D | imx28-tx28.dts | 699 dr_mode = "peripheral"; 706 dr_mode = "host";
|
D | imx27.dtsi | 497 dr_mode = "host"; 510 dr_mode = "host";
|
D | imx53-qsb-common.dtsi | 364 dr_mode = "peripheral";
|
D | imx27-phytec-phycore-som.dtsi | 319 dr_mode = "otg";
|
D | am335x-igep0033.dtsi | 237 dr_mode = "host";
|
D | dra7-evm.dts | 553 dr_mode = "peripheral"; 559 dr_mode = "host";
|
D | imx6sl-warp.dts | 125 dr_mode = "host";
|
D | tegra114-tn7.dts | 262 dr_mode = "host";
|
D | am437x-sk-evm.dts | 542 dr_mode = "peripheral"; 553 dr_mode = "host";
|
D | am437x-gp-evm.dts | 476 dr_mode = "peripheral"; 485 dr_mode = "host";
|
D | atlas7.dtsi | 387 dr_mode = "otg"; 400 dr_mode = "host";
|
D | am43x-epos-evm.dts | 588 dr_mode = "peripheral"; 597 dr_mode = "host";
|
D | s5pv210-aquila.dts | 358 dr_mode = "peripheral";
|
D | exynos5420-arndale-octa.dts | 373 dr_mode = "host";
|
D | imx6qdl.dtsi | 865 dr_mode = "host"; 875 dr_mode = "host"; 885 dr_mode = "host";
|
D | imx6q-dmo-edmqmx6.dts | 462 dr_mode = "host";
|
D | am33xx.dtsi | 518 dr_mode = "otg"; 565 dr_mode = "otg";
|
D | imx35.dtsi | 321 dr_mode = "host";
|
D | s5pv210-goni.dts | 336 dr_mode = "peripheral";
|
D | exynos4210-trats.dts | 95 dr_mode = "peripheral";
|
D | imx6sx-sdb.dtsi | 276 dr_mode = "host";
|
D | am4372.dtsi | 866 dr_mode = "otg"; 890 dr_mode = "otg";
|
D | exynos5420-peach-pit.dts | 1040 dr_mode = "host"; 1044 dr_mode = "host";
|
D | exynos5800-peach-pi.dts | 1003 dr_mode = "host"; 1007 dr_mode = "host";
|
D | tegra20-seaboard.dts | 728 dr_mode = "otg"; 734 dr_mode = "otg";
|
D | exynos4412-odroid-common.dtsi | 430 dr_mode = "peripheral";
|
D | imx53-tx53.dtsi | 545 dr_mode = "peripheral";
|
D | dra7.dtsi | 1298 dr_mode = "otg"; 1321 dr_mode = "otg"; 1344 dr_mode = "otg";
|
D | imx51-babbage.dts | 418 dr_mode = "otg";
|
D | exynos4210-universal_c210.dts | 75 dr_mode = "peripheral";
|
D | imx6sl-evk.dts | 609 dr_mode = "host";
|
D | am335x-evm.dts | 360 dr_mode = "host";
|
D | exynos5250-snow.dts | 696 dr_mode = "host";
|
D | exynos3250-monk.dts | 150 dr_mode = "peripheral";
|
D | am335x-evmsk.dts | 499 dr_mode = "host";
|
D | exynos3250-rinato.dts | 141 dr_mode = "peripheral";
|
D | imx6sl.dtsi | 710 dr_mode = "host";
|
D | imx28.dtsi | 1213 dr_mode = "host";
|
D | ste-dbx5x0.dtsi | 249 dr_mode = "otg";
|
D | tegra114-roth.dts | 992 dr_mode = "host";
|
D | omap5.dtsi | 877 dr_mode = "peripheral";
|
D | exynos4412-trats2.dts | 911 dr_mode = "peripheral";
|
D | imx6sx.dtsi | 770 dr_mode = "host";
|
/linux-4.1.27/include/linux/usb/ |
D | chipidea.h | 32 enum usb_dr_mode dr_mode; member
|
/linux-4.1.27/arch/powerpc/boot/dts/ |
D | p1020rdb.dtsi | 193 dr_mode = "host"; 201 dr_mode = "host";
|
D | pdm360ng.dts | 132 dr_mode = "host";
|
D | mpc5121ads.dts | 136 dr_mode = "host";
|
D | mpc5121.dtsi | 304 dr_mode = "otg"; 317 dr_mode = "otg";
|
D | mvme2500.dts | 85 dr_mode = "host";
|
D | b4qds.dtsi | 197 dr_mode = "host";
|
D | mpc8536ds.dtsi | 241 dr_mode = "peripheral";
|
D | p4080ds.dts | 125 dr_mode = "host";
|
D | ge_imp3a.dts | 157 dr_mode = "host";
|
D | p1010rdb.dtsi | 153 dr_mode = "host";
|
D | mpc8349emitxgp.dts | 148 dr_mode = "otg";
|
D | p2020rdb.dts | 200 dr_mode = "host";
|
D | p2041rdb.dts | 126 dr_mode = "host";
|
D | mpc5125twr.dts | 242 dr_mode = "host";
|
D | asp834x-redboot.dts | 180 dr_mode = "otg";
|
D | mpc8308_p1m.dts | 164 dr_mode = "peripheral";
|
D | p1023rdb.dts | 81 dr_mode = "host";
|
D | mpc8308rdb.dts | 139 dr_mode = "peripheral";
|
D | p1021mds.dts | 154 dr_mode = "host";
|
D | p2020ds.dtsi | 137 dr_mode = "host";
|
D | mpc8349emitx.dts | 212 dr_mode = "peripheral";
|
D | mpc8379_mds.dts | 232 dr_mode = "host";
|
D | mpc8378_mds.dts | 234 dr_mode = "host";
|
D | mpc834x_mds.dts | 166 dr_mode = "otg";
|
D | mpc8377_mds.dts | 195 dr_mode = "host";
|
/linux-4.1.27/arch/powerpc/boot/dts/fsl/ |
D | p3041si-post.dtsi | 424 dr_mode = "host";
|
D | p5020si-post.dtsi | 411 dr_mode = "host";
|
D | p5040si-post.dtsi | 389 dr_mode = "host";
|
D | p2041si-post.dtsi | 397 dr_mode = "host";
|
D | t1040si-post.dtsi | 445 dr_mode = "host";
|
D | t2081si-post.dtsi | 501 dr_mode = "host";
|
D | t4240si-post.dtsi | 745 dr_mode = "host";
|