Lines Matching refs:ccm
293 struct mxc_ccm_reg *ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR; in setup_display() local
301 setbits_le32(&ccm->analog_pll_video, BM_ANADIG_PLL_VIDEO_POWERDOWN); in setup_display()
303 reg = readl(&ccm->analog_pll_video); in setup_display()
308 writel(reg, &ccm->analog_pll_video); in setup_display()
310 writel(BF_ANADIG_PLL_VIDEO_NUM_A(11), &ccm->analog_pll_video_num); in setup_display()
311 writel(BF_ANADIG_PLL_VIDEO_DENOM_B(12), &ccm->analog_pll_video_denom); in setup_display()
314 writel(reg, &ccm->analog_pll_video); in setup_display()
317 if (readl(&ccm->analog_pll_video) & BM_ANADIG_PLL_VIDEO_LOCK) in setup_display()
324 reg = readl(&ccm->analog_pll_video); in setup_display()
327 writel(reg, &ccm->analog_pll_video); in setup_display()
330 clrbits_le32(&ccm->CCGR3, MXC_CCM_CCGR3_LDB_DI0_MASK); in setup_display()
333 reg = readl(&ccm->chsccdr); in setup_display()
340 writel(reg, &ccm->chsccdr); in setup_display()
343 setbits_le32(&ccm->CCGR3, MXC_CCM_CCGR3_LDB_DI0_MASK); in setup_display()
681 struct mxc_ccm_reg *ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR; in ccgr_init() local
683 writel(0x00C03F3F, &ccm->CCGR0); in ccgr_init()
684 writel(0x0030FC03, &ccm->CCGR1); in ccgr_init()
685 writel(0x0FFFC000, &ccm->CCGR2); in ccgr_init()
686 writel(0x3FF00000, &ccm->CCGR3); in ccgr_init()
687 writel(0x00FFF300, &ccm->CCGR4); in ccgr_init()
688 writel(0x0F0000C3, &ccm->CCGR5); in ccgr_init()
689 writel(0x000003FF, &ccm->CCGR6); in ccgr_init()