Lines Matching refs:cmalwon
162 const struct cm_alwon *cmalwon = (struct cm_alwon *)CM_ALWON_BASE; variable
172 writel(PRCM_MOD_EN, &cmalwon->mmchs1clkctrl); in enable_per_clocks()
173 while (readl(&cmalwon->mmchs1clkctrl) != PRCM_MOD_EN) in enable_per_clocks()
177 writel(PRCM_MOD_EN, &cmalwon->ethclkstctrl); in enable_per_clocks()
178 writel(PRCM_MOD_EN, &cmalwon->ethernet0clkctrl); in enable_per_clocks()
179 while ((readl(&cmalwon->ethernet0clkctrl) & ENET_CLKCTRL_CMPL) != 0) in enable_per_clocks()
181 writel(PRCM_MOD_EN, &cmalwon->ethernet1clkctrl); in enable_per_clocks()
182 while ((readl(&cmalwon->ethernet1clkctrl) & ENET_CLKCTRL_CMPL) != 0) in enable_per_clocks()
186 writel(PRCM_MOD_EN, &cmalwon->rtcclkstctrl); in enable_per_clocks()
187 writel(PRCM_MOD_EN, &cmalwon->rtcclkctrl); in enable_per_clocks()
188 while (readl(&cmalwon->rtcclkctrl) != PRCM_MOD_EN) in enable_per_clocks()
375 writel(PRCM_MOD_EN, &cmalwon->l3slowclkstctrl); in enable_dmm_clocks()
376 while ((readl(&cmalwon->l3slowclkstctrl) & 0x2100) != 0x2100) in enable_dmm_clocks()
384 writel(PRCM_MOD_EN, &cmalwon->uart0clkctrl); in setup_clocks_for_console()
385 while (readl(&cmalwon->uart0clkctrl) != PRCM_MOD_EN) in setup_clocks_for_console()
400 writel(PRCM_MOD_EN, &cmalwon->controlclkctrl); in prcm_init()