Lines Matching refs:cmalwon
163 const struct cm_alwon *cmalwon = (struct cm_alwon *)CM_ALWON_BASE; variable
173 writel(PRCM_MOD_EN, &cmalwon->mmchs1clkctrl); in enable_per_clocks()
174 while (readl(&cmalwon->mmchs1clkctrl) != PRCM_MOD_EN) in enable_per_clocks()
178 writel(PRCM_MOD_EN, &cmalwon->ethclkstctrl); in enable_per_clocks()
179 writel(PRCM_MOD_EN, &cmalwon->ethernet0clkctrl); in enable_per_clocks()
180 while ((readl(&cmalwon->ethernet0clkctrl) & ENET_CLKCTRL_CMPL) != 0) in enable_per_clocks()
182 writel(PRCM_MOD_EN, &cmalwon->ethernet1clkctrl); in enable_per_clocks()
183 while ((readl(&cmalwon->ethernet1clkctrl) & ENET_CLKCTRL_CMPL) != 0) in enable_per_clocks()
187 writel(PRCM_MOD_EN, &cmalwon->rtcclkstctrl); in enable_per_clocks()
188 writel(PRCM_MOD_EN, &cmalwon->rtcclkctrl); in enable_per_clocks()
189 while (readl(&cmalwon->rtcclkctrl) != PRCM_MOD_EN) in enable_per_clocks()
376 writel(PRCM_MOD_EN, &cmalwon->l3slowclkstctrl); in enable_dmm_clocks()
377 while ((readl(&cmalwon->l3slowclkstctrl) & 0x2100) != 0x2100) in enable_dmm_clocks()
385 writel(PRCM_MOD_EN, &cmalwon->uart0clkctrl); in setup_clocks_for_console()
386 while (readl(&cmalwon->uart0clkctrl) != PRCM_MOD_EN) in setup_clocks_for_console()
401 writel(PRCM_MOD_EN, &cmalwon->controlclkctrl); in prcm_init()