Searched refs:otg_dev (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/usb/phy/ ! |
D | phy-omap-otg.c | 40 static void omap_otg_ctrl(struct otg_device *otg_dev, u32 outputs) in omap_otg_ctrl() argument 44 l = readl(otg_dev->base + OMAP_OTG_CTRL); in omap_otg_ctrl() 47 writel(l, otg_dev->base + OMAP_OTG_CTRL); in omap_otg_ctrl() 50 static void omap_otg_set_mode(struct otg_device *otg_dev) in omap_otg_set_mode() argument 52 if (!otg_dev->id && otg_dev->vbus) in omap_otg_set_mode() 54 omap_otg_ctrl(otg_dev, OMAP_OTG_ID | OMAP_OTG_BSESSVLD); in omap_otg_set_mode() 55 else if (otg_dev->vbus) in omap_otg_set_mode() 57 omap_otg_ctrl(otg_dev, OMAP_OTG_ASESSVLD); in omap_otg_set_mode() 58 else if (!otg_dev->id) in omap_otg_set_mode() 60 omap_otg_ctrl(otg_dev, OMAP_OTG_ID | OMAP_OTG_BSESSEND); in omap_otg_set_mode() [all …]
|
D | phy-fsl-usb.c | 461 struct fsl_otg *otg_dev = in fsl_otg_start_host() local 477 if (otg_dev->host_working) in fsl_otg_start_host() 498 otg_dev->host_working = 1; in fsl_otg_start_host() 502 if (!otg_dev->host_working) in fsl_otg_start_host() 513 otg_dev->host_working = 0; in fsl_otg_start_host() 552 struct fsl_otg *otg_dev; in fsl_otg_set_host() local 557 otg_dev = container_of(otg->usb_phy, struct fsl_otg, phy); in fsl_otg_set_host() 558 if (otg_dev != fsl_otg_dev) in fsl_otg_set_host() 563 otg_dev->fsm.a_bus_drop = 0; in fsl_otg_set_host() 564 otg_dev->fsm.a_bus_req = 1; in fsl_otg_set_host() [all …]
|
D | phy-isp1301-omap.c | 808 static struct platform_device *otg_dev; variable 814 if (!otg_dev) in isp1301_otg_init() 854 otg_dev = dev; in otg_probe() 860 otg_dev = NULL; in otg_remove() 876 if (otg_dev) in otg_bind() 883 if (otg_dev) in otg_bind() 884 status = request_irq(otg_dev->resource[1].start, omap_otg_irq, in otg_bind() 896 if (!otg_dev) in otg_unbind() 898 free_irq(otg_dev->resource[1].start, isp); in otg_unbind()
|