Searched refs:cfgchip2 (Results 1 – 4 of 4) sorted by relevance
101 u32 cfgchip2 = __raw_readl(CFGCHIP2); in phy_on() local106 cfgchip2 &= ~(CFGCHIP2_RESET | CFGCHIP2_PHYPWRDN | CFGCHIP2_OTGPWRDN); in phy_on()107 cfgchip2 |= CFGCHIP2_PHY_PLLON; in phy_on()108 __raw_writel(cfgchip2, CFGCHIP2); in phy_on()117 u32 cfgchip2 = __raw_readl(CFGCHIP2); in phy_off() local123 if (!(cfgchip2 & CFGCHIP2_USB1PHYCLKMUX) && in phy_off()124 (cfgchip2 & CFGCHIP2_USB1SUSPENDM)) { in phy_off()133 cfgchip2 |= CFGCHIP2_PHYPWRDN | CFGCHIP2_OTGPWRDN; in phy_off()134 __raw_writel(cfgchip2, CFGCHIP2); in phy_off()388 u32 cfgchip2 = __raw_readl(CFGCHIP2); in da8xx_musb_set_mode() local[all …]
36 u32 cfgchip2; in ohci_da8xx_clock() local38 cfgchip2 = __raw_readl(CFGCHIP2); in ohci_da8xx_clock()47 if (!(cfgchip2 & CFGCHIP2_USB1PHYCLKMUX)) { in ohci_da8xx_clock()50 cfgchip2 &= ~(CFGCHIP2_RESET | CFGCHIP2_PHYPWRDN); in ohci_da8xx_clock()51 cfgchip2 |= CFGCHIP2_PHY_PLLON; in ohci_da8xx_clock()52 __raw_writel(cfgchip2, CFGCHIP2); in ohci_da8xx_clock()60 cfgchip2 |= CFGCHIP2_USB1SUSPENDM; in ohci_da8xx_clock()63 if (!(cfgchip2 & CFGCHIP2_USB1PHYCLKMUX)) in ohci_da8xx_clock()67 cfgchip2 &= ~CFGCHIP2_USB1SUSPENDM; in ohci_da8xx_clock()69 __raw_writel(cfgchip2, CFGCHIP2); in ohci_da8xx_clock()
109 u32 cfgchip2; in da830_evm_usb_init() local116 cfgchip2 = __raw_readl(DA8XX_SYSCFG0_VIRT(DA8XX_CFGCHIP2_REG)); in da830_evm_usb_init()119 cfgchip2 &= ~CFGCHIP2_REFFREQ; in da830_evm_usb_init()120 cfgchip2 |= CFGCHIP2_REFFREQ_24MHZ; in da830_evm_usb_init()127 cfgchip2 &= ~CFGCHIP2_USB1PHYCLKMUX; in da830_evm_usb_init()128 cfgchip2 |= CFGCHIP2_USB2PHYCLKMUX; in da830_evm_usb_init()136 cfgchip2 &= ~CFGCHIP2_OTGMODE; in da830_evm_usb_init()138 cfgchip2 |= CFGCHIP2_FORCE_HOST; in da830_evm_usb_init()140 cfgchip2 |= CFGCHIP2_SESENDEN | CFGCHIP2_VBDTCTEN; in da830_evm_usb_init()143 __raw_writel(cfgchip2, DA8XX_SYSCFG0_VIRT(DA8XX_CFGCHIP2_REG)); in da830_evm_usb_init()
246 u32 cfgchip2; in omapl138_hawk_usb_init() local256 cfgchip2 = __raw_readl(DA8XX_SYSCFG0_VIRT(DA8XX_CFGCHIP2_REG)); in omapl138_hawk_usb_init()257 cfgchip2 &= ~CFGCHIP2_REFFREQ; in omapl138_hawk_usb_init()258 cfgchip2 |= CFGCHIP2_REFFREQ_24MHZ; in omapl138_hawk_usb_init()259 __raw_writel(cfgchip2, DA8XX_SYSCFG0_VIRT(DA8XX_CFGCHIP2_REG)); in omapl138_hawk_usb_init()