Home
last modified time | relevance | path

Searched refs:usb_otg (Results 1 – 90 of 90) sorted by relevance

/linux-4.4.14/include/linux/usb/
Dotg.h15 struct usb_otg { struct
27 int (*set_host)(struct usb_otg *otg, struct usb_bus *host); argument
30 int (*set_peripheral)(struct usb_otg *otg, argument
34 int (*set_vbus)(struct usb_otg *otg, bool enabled); argument
37 int (*start_srp)(struct usb_otg *otg); argument
40 int (*start_hnp)(struct usb_otg *otg); argument
63 otg_start_hnp(struct usb_otg *otg) in otg_start_hnp()
73 otg_set_vbus(struct usb_otg *otg, bool enabled) in otg_set_vbus()
83 otg_set_host(struct usb_otg *otg, struct usb_bus *host) in otg_set_host()
95 otg_set_peripheral(struct usb_otg *otg, struct usb_gadget *periph) in otg_set_peripheral()
[all …]
Dphy.h64 struct usb_otg;
82 struct usb_otg *otg;
Dotg-fsm.h117 struct usb_otg *otg;
/linux-4.4.14/drivers/phy/
Dphy-omap-usb2.c61 static int omap_usb_set_vbus(struct usb_otg *otg, bool enabled) in omap_usb_set_vbus()
71 static int omap_usb_start_srp(struct usb_otg *otg) in omap_usb_start_srp()
81 static int omap_usb_set_host(struct usb_otg *otg, struct usb_bus *host) in omap_usb_set_host()
90 static int omap_usb_set_peripheral(struct usb_otg *otg, in omap_usb_set_peripheral()
194 struct usb_otg *otg; in omap_usb2_probe()
Dphy-dm816x-usb.c62 static int dm816x_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) in dm816x_usb_phy_set_host()
71 static int dm816x_usb_phy_set_peripheral(struct usb_otg *otg, in dm816x_usb_phy_set_peripheral()
190 struct usb_otg *otg; in dm816x_usb_phy_probe()
Dphy-twl4030-usb.c605 static int twl4030_set_peripheral(struct usb_otg *otg, in twl4030_set_peripheral()
618 static int twl4030_set_host(struct usb_otg *otg, struct usb_bus *host) in twl4030_set_host()
648 struct usb_otg *otg; in twl4030_usb_probe()
/linux-4.4.14/drivers/usb/phy/
Dphy-ulpi.c212 static int ulpi_set_host(struct usb_otg *otg, struct usb_bus *host) in ulpi_set_host()
238 static int ulpi_set_vbus(struct usb_otg *otg, bool on) in ulpi_set_vbus()
261 struct usb_otg *otg; in otg_ulpi_create()
Dphy-fsl-usb.c465 struct usb_otg *otg = fsm->otg; in fsl_otg_start_host()
532 struct usb_otg *otg = fsm->otg; in fsl_otg_start_gadget()
556 static int fsl_otg_set_host(struct usb_otg *otg, struct usb_bus *host) in fsl_otg_set_host()
605 static int fsl_otg_set_peripheral(struct usb_otg *otg, in fsl_otg_set_peripheral()
679 static int fsl_otg_start_srp(struct usb_otg *otg) in fsl_otg_start_srp()
697 static int fsl_otg_start_hnp(struct usb_otg *otg) in fsl_otg_start_hnp()
726 struct usb_otg *otg = ((struct fsl_otg *)dev_id)->phy.otg; in fsl_otg_isr()
802 fsl_otg_tc->phy.otg = kzalloc(sizeof(struct usb_otg), GFP_KERNEL); in fsl_otg_conf()
Dphy-mv-usb.c57 static int mv_otg_set_vbus(struct usb_otg *otg, bool on) in mv_otg_set_vbus()
66 static int mv_otg_set_host(struct usb_otg *otg, in mv_otg_set_host()
74 static int mv_otg_set_peripheral(struct usb_otg *otg, in mv_otg_set_peripheral()
205 struct usb_otg *otg = mvotg->phy.otg; in mv_otg_start_host()
226 struct usb_otg *otg = mvotg->phy.otg; in mv_otg_start_periphrals()
414 struct usb_otg *otg; in mv_otg_work()
680 struct usb_otg *otg; in mv_otg_probe()
Dphy-generic.c109 struct usb_otg *otg = nop->phy.otg; in nop_gpio_vbus_thread()
176 static int nop_set_peripheral(struct usb_otg *otg, struct usb_gadget *gadget) in nop_set_peripheral()
191 static int nop_set_host(struct usb_otg *otg, struct usb_bus *host) in nop_set_host()
Dphy-gpio-vbus-usb.c162 struct usb_otg *otg = gpio_vbus->phy.otg; in gpio_vbus_irq()
177 static int gpio_vbus_set_peripheral(struct usb_otg *otg, in gpio_vbus_set_peripheral()
263 gpio_vbus->phy.otg = devm_kzalloc(&pdev->dev, sizeof(struct usb_otg), in gpio_vbus_probe()
Dphy-isp1301-omap.c659 struct usb_otg *otg = isp->phy.otg; in omap_otg_irq()
947 struct usb_otg *otg = isp->phy.otg; in isp_update_otg()
1275 isp1301_set_host(struct usb_otg *otg, struct usb_bus *host) in isp1301_set_host()
1331 isp1301_set_peripheral(struct usb_otg *otg, struct usb_gadget *gadget) in isp1301_set_peripheral()
1411 isp1301_start_srp(struct usb_otg *otg) in isp1301_start_srp()
1437 isp1301_start_hnp(struct usb_otg *otg) in isp1301_start_hnp()
Dphy-msm-usb.c726 static int msm_otg_set_host(struct usb_otg *otg, struct usb_bus *host) in msm_otg_set_host()
799 static int msm_otg_set_peripheral(struct usb_otg *otg, in msm_otg_set_peripheral()
1189 struct usb_otg *otg = motg->phy.otg; in msm_otg_sm_work()
1324 struct usb_otg *otg = motg->phy.otg; in msm_otg_mode_show()
1352 struct usb_otg *otg = motg->phy.otg; in msm_otg_mode_write()
1665 motg->phy.otg = devm_kzalloc(&pdev->dev, sizeof(struct usb_otg), in msm_otg_probe()
1914 struct usb_otg *otg = motg->phy.otg; in msm_otg_runtime_idle()
Dphy-tahvo.c200 static int tahvo_usb_set_host(struct usb_otg *otg, struct usb_bus *host) in tahvo_usb_set_host()
229 static int tahvo_usb_set_peripheral(struct usb_otg *otg, in tahvo_usb_set_peripheral()
Dphy-ab8500-usb.c1064 static int ab8500_usb_set_peripheral(struct usb_otg *otg, in ab8500_usb_set_peripheral()
1089 static int ab8500_usb_set_host(struct usb_otg *otg, struct usb_bus *host) in ab8500_usb_set_host()
1369 struct usb_otg *otg; in ab8500_usb_probe()
/linux-4.4.14/arch/arm/mach-imx/
Dmx31moboard-devboard.c180 static int devboard_isp1105_set_vbus(struct usb_otg *otg, bool on) in devboard_isp1105_set_vbus()
204 phy->otg = kzalloc(sizeof(struct usb_otg), GFP_KERNEL); in devboard_usbh1_init()
Dmx31moboard-marxbot.c294 static int marxbot_isp1105_set_vbus(struct usb_otg *otg, bool on) in marxbot_isp1105_set_vbus()
318 phy->otg = kzalloc(sizeof(struct usb_otg), GFP_KERNEL); in marxbot_usbh1_init()
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Dallwinner,sun4i-a10-musb.txt19 usb_otg: usb@01c13000 {
Dmsm-hsusb.txt15 usb-phy = <&usb_otg>;
/linux-4.4.14/drivers/usb/musb/
Dmusb_virthub.c79 struct usb_otg *otg = musb->xceiv->otg; in musb_port_suspend()
221 struct usb_otg *otg = musb->xceiv->otg; in musb_root_disconnect()
Domap2430.c145 struct usb_otg *otg = musb->xceiv->otg; in omap2430_musb_set_vbus()
262 struct usb_otg *otg = musb->xceiv->otg; in omap_musb_set_mailbox()
Ddavinci.c267 struct usb_otg *otg = musb->xceiv->otg; in davinci_musb_interrupt()
Dda8xx.c292 struct usb_otg *otg = musb->xceiv->otg; in da8xx_musb_interrupt()
Dtusb6010.c559 struct usb_otg *otg = musb->xceiv->otg; in tusb_musb_set_vbus()
685 struct usb_otg *otg = musb->xceiv->otg; in tusb_otg_ints()
Dam35x.c223 struct usb_otg *otg = musb->xceiv->otg; in am35x_musb_interrupt()
Dmusb_gadget.c1888 struct usb_otg *otg = musb->xceiv->otg; in musb_gadget_start()
/linux-4.4.14/arch/arm64/boot/dts/qcom/
Dmsm8916.dtsi316 usb-phy = <&usb_otg>;
324 usb-phy = <&usb_otg>;
328 usb_otg: phy@78d9000 { label
/linux-4.4.14/arch/arm/boot/dts/
Dsun8i-a23-ippo-q8h-v1.2.dts58 &usb_otg {
Dsun8i-a33-q8-tablet.dts58 &usb_otg {
Dsun8i-a23-q8-tablet.dts58 &usb_otg {
Dsun8i-a23-ippo-q8h-v5.dts58 &usb_otg {
Dsun8i-a33-ippo-q8h-v1.2.dts58 &usb_otg {
Dsun8i-a33-et-q8-v1.6.dts58 &usb_otg {
Dsun6i-a31s-cs908.dts96 &usb_otg {
Drk3066a-rayeager.dts409 usb_otg {
469 &usb_otg {
Dsun4i-a10-ba10-tvbox.dts158 &usb_otg {
Dsun8i-a33-ga10h-v1.1.dts135 &usb_otg {
Dsun4i-a10-mini-xplus.dts140 &usb_otg {
Dsun8i-a23.dtsi88 usb_otg: usb@01c19000 { label
Dsun8i-a23-gt90h-v4.dts138 &usb_otg {
Dsun5i-a10s-auxtek-t003.dts150 &usb_otg {
Dsun6i-a31-mele-a1000g-quad.dts146 &usb_otg {
Drk3288-firefly.dtsi475 usb_otg {
554 &usb_otg {
Dsun4i-a10-chuwi-v7-cw0825.dts163 &usb_otg {
Dsun5i-q8-common.dtsi168 &usb_otg {
Dsun8i-a33.dtsi130 usb_otg: usb@01c19000 { label
Dsun4i-a10-pov-protab2-ips9.dts186 &usb_otg {
Dsun4i-a10-marsboard.dts202 &usb_otg {
Dsun7i-a20-wexler-tab7200.dts196 &usb_otg {
Dsun4i-a10-olinuxino-lime.dts223 &usb_otg {
Dsun4i-a10-inet1.dts212 &usb_otg {
Dsun7i-a20-wits-pro-a20-dkt.dts208 &usb_otg {
Dsun4i-a10-jesurun-q5.dts198 &usb_otg {
Drk3066a-marsboard.dts221 &usb_otg {
Dsun7i-a20-cubieboard2.dts181 &usb_otg {
Dsun7i-a20-olinuxino-lime.dts208 &usb_otg {
Dsun4i-a10-inet9f-rev03.dts214 &usb_otg {
Dsun5i-a13-hsg-h702.dts205 &usb_otg {
Dsun4i-a10-cubieboard.dts234 &usb_otg {
Dsun4i-a10-inet97fv2.dts207 &usb_otg {
Dsun5i-r8-chip.dts200 &usb_otg {
Dsun5i-a13-olinuxino.dts220 &usb_otg {
Dsun7i-a20-pcduino3.dts247 &usb_otg {
Dsun5i-a10s-wobo-i5.dts212 &usb_otg {
Dsun5i-a13-inet-98v-rev2.dts210 &usb_otg {
Dsun4i-a10-pcduino.dts227 &usb_otg {
Dsun7i-a20-pcduino3-nano.dts225 &usb_otg {
Dsun7i-a20-olinuxino-lime2.dts266 &usb_otg {
Dsun7i-a20-bananapi.dts271 &usb_otg {
Dsun6i-a31s-primo81.dts247 &usb_otg {
Dsun7i-a20-orangepi-mini.dts261 &usb_otg {
Dsun7i-a20-olinuxino-micro.dts306 &usb_otg {
Dsun5i-a10s-olinuxino-micro.dts269 &usb_otg {
Dsun7i-a20-orangepi.dts239 &usb_otg {
Dsun5i-a13-utoo-p66.dts240 &usb_otg {
Dsun7i-a20-cubietruck.dts310 &usb_otg {
Drk3188-radxarock.dts391 &usb_otg {
Drk3288-r89.dts387 &usb_otg {
Drk3xxx.dtsi169 usb_otg: usb@10180000 { label
Drk3288-veyron.dtsi415 &usb_otg {
Dsun5i.dtsi438 usb_otg: usb@01c13000 { label
Dsun4i-a10.dtsi667 usb_otg: usb@01c13000 { label
Dsun6i-a31.dtsi547 usb_otg: usb@01c19000 { label
Dsun7i-a20.dtsi751 usb_otg: usb@01c13000 { label
Drk3288.dtsi509 usb_otg: usb@ff580000 { label
/linux-4.4.14/drivers/usb/chipidea/
Dhost.c160 struct usb_otg *otg = &ci->otg; in host_start()
Dci.h211 struct usb_otg otg;
/linux-4.4.14/drivers/usb/host/
Dehci-tegra.c486 u_phy->otg = devm_kzalloc(&pdev->dev, sizeof(struct usb_otg), in tegra_ehci_probe()
/linux-4.4.14/arch/arm64/boot/dts/rockchip/
Drk3368-r88.dts347 &usb_otg {
Drk3368.dtsi433 usb_otg: usb@ff580000 { label