Lines Matching refs:phy_mode
49 enum phy_mode phy_mode; member
78 glue->phy_mode = PHY_MODE_USB_HOST; in mtk_otg_switch_set()
89 glue->phy_mode = PHY_MODE_USB_DEVICE; in mtk_otg_switch_set()
99 glue->phy_mode = PHY_MODE_USB_OTG; in mtk_otg_switch_set()
113 phy_set_mode(glue->phy, glue->phy_mode); in mtk_otg_switch_set()
222 enum phy_mode new_mode; in mtk_musb_set_mode()
243 if (glue->phy_mode == new_mode) in mtk_musb_set_mode()
285 phy_set_mode(glue->phy, glue->phy_mode); in mtk_musb_init()
438 glue->phy_mode = PHY_MODE_USB_HOST; in mtk_musb_probe()
442 glue->phy_mode = PHY_MODE_USB_DEVICE; in mtk_musb_probe()
446 glue->phy_mode = PHY_MODE_USB_OTG; in mtk_musb_probe()