Home
last modified time | relevance | path

Searched defs:otg (Results 1 – 25 of 61) sorted by relevance

123

/kernel/linux/linux-5.10/include/linux/usb/
Dotg.h64 otg_start_hnp(struct usb_otg *otg) in otg_start_hnp()
74 otg_set_vbus(struct usb_otg *otg, bool enabled) in otg_set_vbus()
84 otg_set_host(struct usb_otg *otg, struct usb_bus *host) in otg_set_host()
96 otg_set_peripheral(struct usb_otg *otg, struct usb_gadget *periph) in otg_set_peripheral()
105 otg_start_srp(struct usb_otg *otg) in otg_start_srp()
/kernel/linux/linux-6.6/include/linux/usb/
Dotg.h64 otg_start_hnp(struct usb_otg *otg) in otg_start_hnp()
74 otg_set_vbus(struct usb_otg *otg, bool enabled) in otg_set_vbus()
84 otg_set_host(struct usb_otg *otg, struct usb_bus *host) in otg_set_host()
96 otg_set_peripheral(struct usb_otg *otg, struct usb_gadget *periph) in otg_set_peripheral()
105 otg_start_srp(struct usb_otg *otg) in otg_start_srp()
/kernel/linux/linux-5.10/drivers/usb/phy/
Dphy-ulpi.c199 static int ulpi_set_host(struct usb_otg *otg, struct usb_bus *host) in ulpi_set_host()
225 static int ulpi_set_vbus(struct usb_otg *otg, bool on) in ulpi_set_vbus()
243 static void otg_ulpi_init(struct usb_phy *phy, struct usb_otg *otg, in otg_ulpi_init()
263 struct usb_otg *otg; in otg_ulpi_create() local
287 struct usb_otg *otg; in devm_otg_ulpi_create() local
Dphy-mv-usb.c52 static int mv_otg_set_vbus(struct usb_otg *otg, bool on) in mv_otg_set_vbus()
61 static int mv_otg_set_host(struct usb_otg *otg, in mv_otg_set_host()
69 static int mv_otg_set_peripheral(struct usb_otg *otg, in mv_otg_set_peripheral()
194 struct usb_otg *otg = mvotg->phy.otg; in mv_otg_start_host() local
215 struct usb_otg *otg = mvotg->phy.otg; in mv_otg_start_periphrals() local
402 struct usb_otg *otg; in mv_otg_work() local
667 struct usb_otg *otg; in mv_otg_probe() local
Dphy-fsl-usb.c459 struct usb_otg *otg = fsm->otg; in fsl_otg_start_host() local
526 struct usb_otg *otg = fsm->otg; in fsl_otg_start_gadget() local
550 static int fsl_otg_set_host(struct usb_otg *otg, struct usb_bus *host) in fsl_otg_set_host()
599 static int fsl_otg_set_peripheral(struct usb_otg *otg, in fsl_otg_set_peripheral()
662 static int fsl_otg_start_srp(struct usb_otg *otg) in fsl_otg_start_srp()
680 static int fsl_otg_start_hnp(struct usb_otg *otg) in fsl_otg_start_hnp()
709 struct usb_otg *otg = ((struct fsl_otg *)dev_id)->phy.otg; in fsl_otg_isr() local
Dphy-generic.c104 struct usb_otg *otg = nop->phy.otg; in nop_gpio_vbus_thread() local
173 static int nop_set_peripheral(struct usb_otg *otg, struct usb_gadget *gadget) in nop_set_peripheral()
192 static int nop_set_host(struct usb_otg *otg, struct usb_bus *host) in nop_set_host()
Dphy-ulpi-viewport.c29 static int ulpi_viewport_read(struct usb_phy *otg, u32 reg) in ulpi_viewport_read()
47 static int ulpi_viewport_write(struct usb_phy *otg, u32 val, u32 reg) in ulpi_viewport_write()
Dphy-jz4770.c107 struct usb_otg otg; member
114 static inline struct jz4770_phy *otg_to_jz4770_phy(struct usb_otg *otg) in otg_to_jz4770_phy()
124 static int ingenic_usb_phy_set_peripheral(struct usb_otg *otg, in ingenic_usb_phy_set_peripheral()
144 static int ingenic_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) in ingenic_usb_phy_set_host()
Dphy-isp1301-omap.c646 struct usb_otg *otg = isp->phy.otg; in omap_otg_irq() local
934 struct usb_otg *otg = isp->phy.otg; in isp_update_otg() local
1263 isp1301_set_host(struct usb_otg *otg, struct usb_bus *host) in isp1301_set_host()
1319 isp1301_set_peripheral(struct usb_otg *otg, struct usb_gadget *gadget) in isp1301_set_peripheral()
1399 isp1301_start_srp(struct usb_otg *otg) in isp1301_start_srp()
1425 isp1301_start_hnp(struct usb_otg *otg) in isp1301_start_hnp()
Dphy-gpio-vbus-usb.c151 struct usb_otg *otg = gpio_vbus->phy.otg; in gpio_vbus_irq() local
166 static int gpio_vbus_set_peripheral(struct usb_otg *otg, in gpio_vbus_set_peripheral()
Dphy-tahvo.c192 static int tahvo_usb_set_host(struct usb_otg *otg, struct usb_bus *host) in tahvo_usb_set_host()
221 static int tahvo_usb_set_peripheral(struct usb_otg *otg, in tahvo_usb_set_peripheral()
/kernel/linux/linux-6.6/drivers/usb/phy/
Dphy-ulpi.c199 static int ulpi_set_host(struct usb_otg *otg, struct usb_bus *host) in ulpi_set_host()
225 static int ulpi_set_vbus(struct usb_otg *otg, bool on) in ulpi_set_vbus()
243 static void otg_ulpi_init(struct usb_phy *phy, struct usb_otg *otg, in otg_ulpi_init()
263 struct usb_otg *otg; in otg_ulpi_create() local
287 struct usb_otg *otg; in devm_otg_ulpi_create() local
Dphy-mv-usb.c52 static int mv_otg_set_vbus(struct usb_otg *otg, bool on) in mv_otg_set_vbus()
61 static int mv_otg_set_host(struct usb_otg *otg, in mv_otg_set_host()
69 static int mv_otg_set_peripheral(struct usb_otg *otg, in mv_otg_set_peripheral()
194 struct usb_otg *otg = mvotg->phy.otg; in mv_otg_start_host() local
215 struct usb_otg *otg = mvotg->phy.otg; in mv_otg_start_periphrals() local
402 struct usb_otg *otg; in mv_otg_work() local
663 struct usb_otg *otg; in mv_otg_probe() local
Dphy-fsl-usb.c459 struct usb_otg *otg = fsm->otg; in fsl_otg_start_host() local
526 struct usb_otg *otg = fsm->otg; in fsl_otg_start_gadget() local
550 static int fsl_otg_set_host(struct usb_otg *otg, struct usb_bus *host) in fsl_otg_set_host()
599 static int fsl_otg_set_peripheral(struct usb_otg *otg, in fsl_otg_set_peripheral()
662 static int fsl_otg_start_srp(struct usb_otg *otg) in fsl_otg_start_srp()
680 static int fsl_otg_start_hnp(struct usb_otg *otg) in fsl_otg_start_hnp()
709 struct usb_otg *otg = ((struct fsl_otg *)dev_id)->phy.otg; in fsl_otg_isr() local
Dphy-generic.c104 struct usb_otg *otg = nop->phy.otg; in nop_gpio_vbus_thread() local
173 static int nop_set_peripheral(struct usb_otg *otg, struct usb_gadget *gadget) in nop_set_peripheral()
192 static int nop_set_host(struct usb_otg *otg, struct usb_bus *host) in nop_set_host()
Dphy-ulpi-viewport.c29 static int ulpi_viewport_read(struct usb_phy *otg, u32 reg) in ulpi_viewport_read()
47 static int ulpi_viewport_write(struct usb_phy *otg, u32 val, u32 reg) in ulpi_viewport_write()
Dphy-gpio-vbus-usb.c151 struct usb_otg *otg = gpio_vbus->phy.otg; in gpio_vbus_irq() local
166 static int gpio_vbus_set_peripheral(struct usb_otg *otg, in gpio_vbus_set_peripheral()
Dphy-tahvo.c192 static int tahvo_usb_set_host(struct usb_otg *otg, struct usb_bus *host) in tahvo_usb_set_host()
219 static int tahvo_usb_set_peripheral(struct usb_otg *otg, in tahvo_usb_set_peripheral()
/kernel/linux/linux-5.10/drivers/phy/ti/
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()
189 struct usb_otg *otg; in dm816x_usb_phy_probe() local
Dphy-omap-usb2.c115 static int omap_usb_set_vbus(struct usb_otg *otg, bool enabled) in omap_usb_set_vbus()
125 static int omap_usb_start_srp(struct usb_otg *otg) in omap_usb_start_srp()
135 static int omap_usb_set_host(struct usb_otg *otg, struct usb_bus *host) in omap_usb_set_host()
144 static int omap_usb_set_peripheral(struct usb_otg *otg, in omap_usb_set_peripheral()
371 struct usb_otg *otg; in omap_usb2_probe() local
/kernel/linux/linux-6.6/drivers/phy/ti/
Dphy-dm816x-usb.c53 static int dm816x_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) in dm816x_usb_phy_set_host()
62 static int dm816x_usb_phy_set_peripheral(struct usb_otg *otg, in dm816x_usb_phy_set_peripheral()
180 struct usb_otg *otg; in dm816x_usb_phy_probe() local
Dphy-omap-usb2.c115 static int omap_usb_set_vbus(struct usb_otg *otg, bool enabled) in omap_usb_set_vbus()
125 static int omap_usb_start_srp(struct usb_otg *otg) in omap_usb_start_srp()
135 static int omap_usb_set_host(struct usb_otg *otg, struct usb_bus *host) in omap_usb_set_host()
144 static int omap_usb_set_peripheral(struct usb_otg *otg, in omap_usb_set_peripheral()
370 struct usb_otg *otg; in omap_usb2_probe() local
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dpxa3xx-ulpi.c33 struct usb_phy *otg; member
79 static int pxa310_ulpi_read(struct usb_phy *otg, u32 reg) in pxa310_ulpi_read()
98 static int pxa310_ulpi_write(struct usb_phy *otg, u32 val, u32 reg) in pxa310_ulpi_write()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_virthub.c53 struct usb_otg *otg = musb->xceiv->otg; in musb_port_suspend() local
199 struct usb_otg *otg = musb->xceiv->otg; in musb_root_disconnect() local
/kernel/linux/linux-5.10/include/linux/platform_data/
Dusb-ehci-mxc.h10 struct usb_phy *otg; member

123