Lines Matching refs:pclk_div
82 u32 pclk_div; in rkclk_init() local
102 pclk_div = APLL_HZ / CORE_PERI_HZ - 1; in rkclk_init()
103 assert((pclk_div + 1) * CORE_PERI_HZ == APLL_HZ && pclk_div < 0xf); in rkclk_init()
113 pclk_div << CORE_PERI_DIV_SHIFT); in rkclk_init()
122 pclk_div = GPLL_HZ / BUS_PCLK_HZ - 1; in rkclk_init()
123 assert((pclk_div + 1) * BUS_PCLK_HZ == GPLL_HZ && pclk_div <= 0x7); in rkclk_init()
135 pclk_div << BUS_PCLK_DIV_SHIFT | in rkclk_init()
149 pclk_div = ilog2(PERI_ACLK_HZ / PERI_PCLK_HZ); in rkclk_init()
150 assert((1 << pclk_div) * PERI_PCLK_HZ == in rkclk_init()
151 PERI_ACLK_HZ && pclk_div < 0x8); in rkclk_init()
157 pclk_div << PERI_PCLK_DIV_SHIFT | in rkclk_init()