Lines Matching refs:phy_otg_ena
102 static u32 phy_otg_ctrl, phy_otg_ena; in tusb_wbus_quirk() local
107 phy_otg_ena = musb_readl(tbase, TUSB_PHY_OTG_CTRL_ENABLE); in tusb_wbus_quirk()
109 | phy_otg_ena | WBUS_QUIRK_MASK; in tusb_wbus_quirk()
111 tmp = phy_otg_ena & ~WBUS_QUIRK_MASK; in tusb_wbus_quirk()
121 tmp = TUSB_PHY_OTG_CTRL_WRPROTECT | phy_otg_ena; in tusb_wbus_quirk()
127 phy_otg_ena = 0; in tusb_wbus_quirk()
636 u32 otg_stat, phy_otg_ctrl, phy_otg_ena, dev_conf; in tusb_musb_set_mode() local
640 phy_otg_ena = musb_readl(tbase, TUSB_PHY_OTG_CTRL_ENABLE); in tusb_musb_set_mode()
647 phy_otg_ena |= TUSB_PHY_OTG_CTRL_OTG_ID_PULLUP; in tusb_musb_set_mode()
653 phy_otg_ena |= TUSB_PHY_OTG_CTRL_OTG_ID_PULLUP; in tusb_musb_set_mode()
658 phy_otg_ena |= TUSB_PHY_OTG_CTRL_OTG_ID_PULLUP; in tusb_musb_set_mode()
670 TUSB_PHY_OTG_CTRL_WRPROTECT | phy_otg_ena); in tusb_musb_set_mode()