Lines Matching refs:phy_mode
46 enum phy_mode phy_mode; member
130 glue->phy_mode = PHY_MODE_USB_HOST; in mtk_otg_switch_set()
141 glue->phy_mode = PHY_MODE_USB_DEVICE; in mtk_otg_switch_set()
151 glue->phy_mode = PHY_MODE_USB_OTG; in mtk_otg_switch_set()
165 phy_set_mode(glue->phy, glue->phy_mode); in mtk_otg_switch_set()
273 enum phy_mode new_mode; in mtk_musb_set_mode()
294 if (glue->phy_mode == new_mode) in mtk_musb_set_mode()
336 phy_set_mode(glue->phy, glue->phy_mode); in mtk_musb_init()
489 glue->phy_mode = PHY_MODE_USB_HOST; in mtk_musb_probe()
493 glue->phy_mode = PHY_MODE_USB_DEVICE; in mtk_musb_probe()
497 glue->phy_mode = PHY_MODE_USB_OTG; in mtk_musb_probe()