Lines Matching refs:ccm
31 ccm_t *ccm = (ccm_t *)MMAP_CCM; in clock_enter_limp() local
45 clrsetbits_be16(&ccm->cdr, 0x0f00, CCM_CDR_LPDIV(i)); in clock_enter_limp()
49 setbits_be16(&ccm->misccr, CCM_MISCCR_LIMP); in clock_enter_limp()
58 ccm_t *ccm = (ccm_t *)MMAP_CCM; in clock_exit_limp() local
62 clrbits_be16(&ccm->misccr, CCM_MISCCR_LIMP); in clock_exit_limp()
72 ccm_t *ccm = (ccm_t *)MMAP_CCM; in setup_5441x_clocks() local
76 bootmod_ccr = (in_be16(&ccm->ccr) & CCM_CCR_BOOTMOD) >> 14; in setup_5441x_clocks()
104 setbits_be16(&ccm->misccr2, 0x02); in setup_5441x_clocks()
117 if (in_be16(&ccm->misccr2) & 2) /* fsys/4 */ in setup_5441x_clocks()
129 ccm_t *ccm = (ccm_t *)MMAP_CCM; in setup_5445x_clocks() local
146 if (((in_be16(&ccm->ccr) & CCM_CCR_360_FBCONFIG_MASK) == 0x00e0) || in setup_5445x_clocks()
147 ((in_be16(&ccm->ccr) & CCM_CCR_360_FBCONFIG_MASK) == 0x0060)) { in setup_5445x_clocks()
168 fbtemp = pPllmult[ccm->ccr & fbpll_mask]; in setup_5445x_clocks()
195 vco = pPllmult[ccm->rcon & fbpll_mask] * CONFIG_SYS_INPUT_CLKSRC; in setup_5445x_clocks()
226 pcrvalue |= pPllmult[in_be16(&ccm->ccr) & fbpll_mask] << 24; in setup_5445x_clocks()
237 if ((in_be16(&ccm->ccr) & CCM_MISCCR_LIMP) == CCM_MISCCR_LIMP) { in setup_5445x_clocks()