Home
last modified time | relevance | path

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

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/usb/phy/
H 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 …]
H A Dphy-fsl-usb.c461 struct fsl_otg *otg_dev = in fsl_otg_start_host() local
477 if (otg_dev->host_working) in fsl_otg_start_host()
552 struct fsl_otg *otg_dev; in fsl_otg_set_host() local
558 if (otg_dev != fsl_otg_dev) in fsl_otg_set_host()
564 otg_dev->fsm.a_bus_req = 1; in fsl_otg_set_host()
576 otg_dev->host_working = 1; in fsl_otg_set_host()
591 otg_dev->host_working = 0; in fsl_otg_set_host()
602 struct fsl_otg *otg_dev; in fsl_otg_set_peripheral() local
610 if (otg_dev != fsl_otg_dev) in fsl_otg_set_peripheral()
664 struct fsl_otg *otg_dev; in fsl_otg_start_srp() local
[all …]
H A Dphy-isp1301-omap.c808 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()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/usb/phy/
H 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 …]
H A Dphy-fsl-usb.c461 struct fsl_otg *otg_dev = in fsl_otg_start_host() local
477 if (otg_dev->host_working) in fsl_otg_start_host()
552 struct fsl_otg *otg_dev; in fsl_otg_set_host() local
558 if (otg_dev != fsl_otg_dev) in fsl_otg_set_host()
564 otg_dev->fsm.a_bus_req = 1; in fsl_otg_set_host()
576 otg_dev->host_working = 1; in fsl_otg_set_host()
591 otg_dev->host_working = 0; in fsl_otg_set_host()
602 struct fsl_otg *otg_dev; in fsl_otg_set_peripheral() local
610 if (otg_dev != fsl_otg_dev) in fsl_otg_set_peripheral()
664 struct fsl_otg *otg_dev; in fsl_otg_start_srp() local
[all …]
H A Dphy-isp1301-omap.c808 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()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/usb/phy/
H 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 …]
H A Dphy-fsl-usb.c461 struct fsl_otg *otg_dev = in fsl_otg_start_host() local
477 if (otg_dev->host_working) in fsl_otg_start_host()
552 struct fsl_otg *otg_dev; in fsl_otg_set_host() local
558 if (otg_dev != fsl_otg_dev) in fsl_otg_set_host()
564 otg_dev->fsm.a_bus_req = 1; in fsl_otg_set_host()
576 otg_dev->host_working = 1; in fsl_otg_set_host()
591 otg_dev->host_working = 0; in fsl_otg_set_host()
602 struct fsl_otg *otg_dev; in fsl_otg_set_peripheral() local
610 if (otg_dev != fsl_otg_dev) in fsl_otg_set_peripheral()
664 struct fsl_otg *otg_dev; in fsl_otg_start_srp() local
[all …]
H A Dphy-isp1301-omap.c808 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()