Lines Matching refs:phy_mode
48 enum phy_mode phy_mode; member
77 glue->phy_mode = PHY_MODE_USB_HOST; in mtk_otg_switch_set()
88 glue->phy_mode = PHY_MODE_USB_DEVICE; in mtk_otg_switch_set()
98 glue->phy_mode = PHY_MODE_USB_OTG; in mtk_otg_switch_set()
112 phy_set_mode(glue->phy, glue->phy_mode); in mtk_otg_switch_set()
221 enum phy_mode new_mode; in mtk_musb_set_mode()
242 if (glue->phy_mode == new_mode) in mtk_musb_set_mode()
284 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()