Home
last modified time | relevance | path

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

/linux-4.1.27/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
48 otg_start_hnp(struct usb_otg *otg) in otg_start_hnp()
58 otg_set_vbus(struct usb_otg *otg, bool enabled) in otg_set_vbus()
68 otg_set_host(struct usb_otg *otg, struct usb_bus *host) in otg_set_host()
80 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.1.27/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.c609 static int twl4030_set_peripheral(struct usb_otg *otg, in twl4030_set_peripheral()
622 static int twl4030_set_host(struct usb_otg *otg, struct usb_bus *host) in twl4030_set_host()
652 struct usb_otg *otg; in twl4030_usb_probe()
/linux-4.1.27/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.c700 static int msm_otg_set_host(struct usb_otg *otg, struct usb_bus *host) in msm_otg_set_host()
773 static int msm_otg_set_peripheral(struct usb_otg *otg, in msm_otg_set_peripheral()
1163 struct usb_otg *otg = motg->phy.otg; in msm_otg_sm_work()
1298 struct usb_otg *otg = motg->phy.otg; in msm_otg_mode_show()
1326 struct usb_otg *otg = motg->phy.otg; in msm_otg_mode_write()
1537 motg->phy.otg = devm_kzalloc(&pdev->dev, sizeof(struct usb_otg), in msm_otg_probe()
1746 struct usb_otg *otg = motg->phy.otg; in msm_otg_runtime_idle()
Dphy-tahvo.c199 static int tahvo_usb_set_host(struct usb_otg *otg, struct usb_bus *host) in tahvo_usb_set_host()
228 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.1.27/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.1.27/drivers/usb/musb/
Dmusb_virthub.c79 struct usb_otg *otg = musb->xceiv->otg; in musb_port_suspend()
219 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()
Dda8xx.c292 struct usb_otg *otg = musb->xceiv->otg; in da8xx_musb_interrupt()
Ddavinci.c267 struct usb_otg *otg = musb->xceiv->otg; in davinci_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.c1840 struct usb_otg *otg = musb->xceiv->otg; in musb_gadget_start()
/linux-4.1.27/drivers/usb/chipidea/
Dhost.c134 struct usb_otg *otg = &ci->otg; in host_start()
Dci.h209 struct usb_otg otg;
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Dmsm-hsusb.txt15 usb-phy = <&usb_otg>;
/linux-4.1.27/arch/arm/boot/dts/
Drk3066a-rayeager.dts406 usb_otg {
462 &usb_otg {
Drk3288-firefly.dtsi417 usb_otg {
488 &usb_otg {
Drk3188-radxarock.dts336 &usb_otg {
Drk3xxx.dtsi141 usb_otg: usb@10180000 { label
Drk3288.dtsi442 usb_otg: usb@ff580000 { label
/linux-4.1.27/drivers/usb/host/
Dehci-tegra.c480 u_phy->otg = devm_kzalloc(&pdev->dev, sizeof(struct usb_otg), in tegra_ehci_probe()