/Linux-v4.19/include/linux/usb/ |
D | otg.h | 16 struct usb_otg { struct 28 int (*set_host)(struct usb_otg *otg, struct usb_bus *host); argument 31 int (*set_peripheral)(struct usb_otg *otg, argument 35 int (*set_vbus)(struct usb_otg *otg, bool enabled); argument 38 int (*start_srp)(struct usb_otg *otg); argument 41 int (*start_hnp)(struct usb_otg *otg); argument 64 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() [all …]
|
D | phy.h | 67 struct usb_otg; 96 struct usb_otg *otg;
|
D | otg-fsm.h | 192 struct usb_otg *otg;
|
/Linux-v4.19/drivers/phy/ti/ |
D | phy-omap-usb2.c | 63 static int omap_usb_set_vbus(struct usb_otg *otg, bool enabled) in omap_usb_set_vbus() 73 static int omap_usb_start_srp(struct usb_otg *otg) in omap_usb_start_srp() 83 static int omap_usb_set_host(struct usb_otg *otg, struct usb_bus *host) in omap_usb_set_host() 92 static int omap_usb_set_peripheral(struct usb_otg *otg, in omap_usb_set_peripheral() 279 struct usb_otg *otg; in omap_usb2_probe()
|
D | phy-dm816x-usb.c | 62 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()
|
D | phy-twl4030-usb.c | 623 static int twl4030_set_peripheral(struct usb_otg *otg, in twl4030_set_peripheral() 636 static int twl4030_set_host(struct usb_otg *otg, struct usb_bus *host) in twl4030_set_host() 666 struct usb_otg *otg; in twl4030_usb_probe()
|
/Linux-v4.19/drivers/usb/phy/ |
D | phy-ulpi.c | 199 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() 248 struct usb_otg *otg; in otg_ulpi_create()
|
D | phy-mv-usb.c | 51 static int mv_otg_set_vbus(struct usb_otg *otg, bool on) in mv_otg_set_vbus() 60 static int mv_otg_set_host(struct usb_otg *otg, in mv_otg_set_host() 68 static int mv_otg_set_peripheral(struct usb_otg *otg, in mv_otg_set_peripheral() 196 struct usb_otg *otg = mvotg->phy.otg; in mv_otg_start_host() 217 struct usb_otg *otg = mvotg->phy.otg; in mv_otg_start_periphrals() 405 struct usb_otg *otg; in mv_otg_work() 668 struct usb_otg *otg; in mv_otg_probe()
|
D | phy-fsl-usb.c | 459 struct usb_otg *otg = fsm->otg; in fsl_otg_start_host() 526 struct usb_otg *otg = fsm->otg; in fsl_otg_start_gadget() 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() 785 fsl_otg_tc->phy.otg = kzalloc(sizeof(struct usb_otg), GFP_KERNEL); in fsl_otg_conf()
|
D | phy-generic.c | 105 struct usb_otg *otg = nop->phy.otg; in nop_gpio_vbus_thread() 174 static int nop_set_peripheral(struct usb_otg *otg, struct usb_gadget *gadget) in nop_set_peripheral() 193 static int nop_set_host(struct usb_otg *otg, struct usb_bus *host) in nop_set_host()
|
D | phy-gpio-vbus-usb.c | 159 struct usb_otg *otg = gpio_vbus->phy.otg; in gpio_vbus_irq() 174 static int gpio_vbus_set_peripheral(struct usb_otg *otg, in gpio_vbus_set_peripheral() 260 gpio_vbus->phy.otg = devm_kzalloc(&pdev->dev, sizeof(struct usb_otg), in gpio_vbus_probe()
|
D | phy-isp1301-omap.c | 646 struct usb_otg *otg = isp->phy.otg; in omap_otg_irq() 934 struct usb_otg *otg = isp->phy.otg; in isp_update_otg() 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()
|
D | phy-tahvo.c | 192 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()
|
/Linux-v4.19/Documentation/devicetree/bindings/usb/ |
D | amlogic,dwc3.txt | 10 - reset-names: must be "usb_otg" 30 reset-names = "usb_otg";
|
D | allwinner,sun4i-a10-musb.txt | 19 usb_otg: usb@1c13000 {
|
/Linux-v4.19/arch/arm64/boot/dts/rockchip/ |
D | rk3368-lion-haikou.dts | 92 &usb_otg { 140 usb_otg {
|
/Linux-v4.19/arch/arm/mach-imx/ |
D | mx31moboard-devboard.c | 181 static int devboard_isp1105_set_vbus(struct usb_otg *otg, bool on) in devboard_isp1105_set_vbus() 205 phy->otg = kzalloc(sizeof(struct usb_otg), GFP_KERNEL); in devboard_usbh1_init()
|
D | mx31moboard-marxbot.c | 206 static int marxbot_isp1105_set_vbus(struct usb_otg *otg, bool on) in marxbot_isp1105_set_vbus() 230 phy->otg = kzalloc(sizeof(struct usb_otg), GFP_KERNEL); in marxbot_usbh1_init()
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | sun8i-r16-nintendo-nes-classic.dts | 47 &usb_otg {
|
D | rk3288-phycore-rdk.dts | 216 usb_otg { 262 &usb_otg {
|
D | rk3288-firefly-reload.dts | 303 &usb_otg { 387 usb_otg {
|
D | rk3066a-mk808.dts | 146 &usb_otg {
|
/Linux-v4.19/drivers/usb/musb/ |
D | musb_virthub.c | 53 struct usb_otg *otg = musb->xceiv->otg; in musb_port_suspend() 199 struct usb_otg *otg = musb->xceiv->otg; in musb_root_disconnect()
|
/Linux-v4.19/drivers/phy/motorola/ |
D | phy-cpcap-usb.c | 152 static int cpcap_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) in cpcap_usb_phy_set_host() 161 static int cpcap_usb_phy_set_peripheral(struct usb_otg *otg, in cpcap_usb_phy_set_peripheral() 566 struct usb_otg *otg; in cpcap_usb_phy_probe()
|
/Linux-v4.19/arch/arm64/boot/dts/allwinner/ |
D | sun50i-h5-orangepi-zero-plus.dts | 134 &usb_otg {
|