Searched refs:cmdef (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/arch/arm/mach-omap2/am33xx/ |
H A D | clock_ti816x.c | 133 const struct cm_def *cmdef = (struct cm_def *)CM_DEFAULT_BASE; variable 139 writel(PRCM_MOD_EN, &cmdef->dmmclkctrl); in enable_dmm_clocks() 141 while (((readl(&cmdef->dmmclkctrl) >> 17) & 0x3) != 0) in enable_dmm_clocks() 147 writel(PRCM_MOD_EN, &cmdef->fwclkctrl); in enable_emif_clocks() 148 writel(PRCM_MOD_EN, &cmdef->l3fastclkstctrl); in enable_emif_clocks() 149 writel(PRCM_MOD_EN, &cmdef->emif0clkctrl); in enable_emif_clocks() 150 writel(PRCM_MOD_EN, &cmdef->emif1clkctrl); in enable_emif_clocks() 153 while ((readl(&cmdef->l3fastclkstctrl) & 0x300) != 0x300) in enable_emif_clocks() 156 while (((readl(&cmdef->emif0clkctrl) >> 17) & 0x3) != 0) in enable_emif_clocks() 159 while (((readl(&cmdef->emif1clkctrl) >> 17) & 0x3) != 0) in enable_emif_clocks()
|
H A D | clock_ti814x.c | 163 const struct cm_def *cmdef = (struct cm_def *)CM_DEFAULT_BASE; variable 362 writel(PRCM_MOD_EN, &cmdef->fwclkctrl); in enable_dmm_clocks() 363 writel(PRCM_MOD_EN, &cmdef->l3fastclkstctrl); in enable_dmm_clocks() 364 writel(PRCM_MOD_EN, &cmdef->emif0clkctrl); in enable_dmm_clocks() 365 while ((readl(&cmdef->emif0clkctrl)) != PRCM_MOD_EN) in enable_dmm_clocks() 367 writel(PRCM_MOD_EN, &cmdef->emif1clkctrl); in enable_dmm_clocks() 368 while ((readl(&cmdef->emif1clkctrl)) != PRCM_MOD_EN) in enable_dmm_clocks() 370 while ((readl(&cmdef->l3fastclkstctrl) & 0x300) != 0x300) in enable_dmm_clocks() 372 writel(PRCM_MOD_EN, &cmdef->dmmclkctrl); in enable_dmm_clocks() 373 while ((readl(&cmdef->dmmclkctrl)) != PRCM_MOD_EN) in enable_dmm_clocks()
|