Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/musb/
Dda8xx.c101 u32 cfgchip2 = __raw_readl(CFGCHIP2); in phy_on() local
106 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() local
123 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 …]
/linux-4.4.14/drivers/usb/host/
Dohci-da8xx.c36 u32 cfgchip2; in ohci_da8xx_clock() local
38 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()
/linux-4.4.14/arch/arm/mach-davinci/
Dboard-da830-evm.c109 u32 cfgchip2; in da830_evm_usb_init() local
116 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()
Dboard-omapl138-hawk.c246 u32 cfgchip2; in omapl138_hawk_usb_init() local
256 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()