Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/dwc3/
H A Ddwc3-meson-g12a.c257 enum phy_mode otg_phy_mode; member
504 priv->otg_phy_mode = mode; in dwc3_meson_g12a_otg_mode_set()
527 if (mode == priv->otg_phy_mode) in dwc3_meson_g12a_role_set()
540 return priv->otg_phy_mode == PHY_MODE_USB_HOST ? in dwc3_meson_g12a_role_get()
550 if (otg_id != priv->otg_phy_mode) { in dwc3_meson_g12a_irq_thread()
604 if (otg_id != priv->otg_phy_mode) { in dwc3_meson_g12a_otg_init()
688 priv->otg_phy_mode); in dwc3_meson_gxl_usb_post_init()
765 priv->otg_phy_mode = PHY_MODE_USB_DEVICE; in dwc3_meson_g12a_probe()
767 priv->otg_phy_mode = PHY_MODE_USB_HOST; in dwc3_meson_g12a_probe()
880 if (priv->vbus && priv->otg_phy_mode == PHY_MODE_USB_HOST) { in dwc3_meson_g12a_suspend()
[all …]