Home
last modified time | relevance | path

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

/linux/drivers/clk/ingenic/
H A Dx1830-cgu.c53 #define USBPCR_OTG_DISABLE BIT(20) macro
63 writel(readl(reg_usbpcr) & ~USBPCR_OTG_DISABLE & ~USBPCR_SIDDQ, reg_usbpcr); in x1830_usb_phy_enable()
73 writel(readl(reg_usbpcr) | USBPCR_OTG_DISABLE | USBPCR_SIDDQ, reg_usbpcr); in x1830_usb_phy_disable()
83 !(readl(reg_usbpcr) & USBPCR_OTG_DISABLE); in x1830_usb_phy_is_enabled()
H A Dx1000-cgu.c50 #define USBPCR_OTG_DISABLE BIT(20) macro
139 writel(readl(reg_usbpcr) & ~USBPCR_OTG_DISABLE & ~USBPCR_SIDDQ, reg_usbpcr); in x1000_usb_phy_enable()
149 writel(readl(reg_usbpcr) | USBPCR_OTG_DISABLE | USBPCR_SIDDQ, reg_usbpcr); in x1000_usb_phy_disable()
159 !(readl(reg_usbpcr) & USBPCR_OTG_DISABLE); in x1000_usb_phy_is_enabled()
H A Djz4780-cgu.c64 #define USBPCR_OTG_DISABLE BIT(20) macro
190 writel(readl(reg_usbpcr) & ~USBPCR_OTG_DISABLE & ~USBPCR_SIDDQ, reg_usbpcr); in jz4780_otg_phy_enable()
200 writel(readl(reg_usbpcr) | USBPCR_OTG_DISABLE | USBPCR_SIDDQ, reg_usbpcr); in jz4780_otg_phy_disable()
210 !(readl(reg_usbpcr) & USBPCR_OTG_DISABLE); in jz4780_otg_phy_is_enabled()
/linux/drivers/phy/ingenic/
H A Dphy-ingenic-usb.c33 #define USBPCR_OTG_DISABLE BIT(20) macro
167 u32p_replace_bits(&reg, 0, USBPCR_OTG_DISABLE); in ingenic_usb_phy_set_mode()
176 u32p_replace_bits(&reg, 1, USBPCR_OTG_DISABLE); in ingenic_usb_phy_set_mode()
185 u32p_replace_bits(&reg, 0, USBPCR_OTG_DISABLE); in ingenic_usb_phy_set_mode()