Home
last modified time | relevance | path

Searched refs:otg_dev (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/phy/
A Dphy-omap-otg.c52 if (!otg_dev->id && otg_dev->vbus) in omap_otg_set_mode()
55 else if (otg_dev->vbus) in omap_otg_set_mode()
58 else if (!otg_dev->id) in omap_otg_set_mode()
68 otg_dev->id = event; in omap_otg_id_notifier()
69 omap_otg_set_mode(otg_dev); in omap_otg_id_notifier()
80 otg_dev->vbus = event; in omap_otg_vbus_notifier()
101 otg_dev = devm_kzalloc(&pdev->dev, sizeof(*otg_dev), GFP_KERNEL); in omap_otg_probe()
102 if (!otg_dev) in omap_otg_probe()
106 if (IS_ERR(otg_dev->base)) in omap_otg_probe()
109 otg_dev->extcon = extcon; in omap_otg_probe()
[all …]
A Dphy-fsl-usb.c462 struct fsl_otg *otg_dev = in fsl_otg_start_host() local
478 if (otg_dev->host_working) in fsl_otg_start_host()
553 struct fsl_otg *otg_dev; in fsl_otg_set_host() local
559 if (otg_dev != fsl_otg_dev) in fsl_otg_set_host()
565 otg_dev->fsm.a_bus_req = 1; in fsl_otg_set_host()
577 otg_dev->host_working = 1; in fsl_otg_set_host()
592 otg_dev->host_working = 0; in fsl_otg_set_host()
603 struct fsl_otg *otg_dev; in fsl_otg_set_peripheral() local
611 if (otg_dev != fsl_otg_dev) in fsl_otg_set_peripheral()
665 struct fsl_otg *otg_dev; in fsl_otg_start_srp() local
[all …]

Completed in 7 milliseconds