Searched refs:PERI_ACLK_HZ (Results 1 – 10 of 10) sorted by relevance
204 aclk_div = GPLL_HZ / PERI_ACLK_HZ - 1; in rkclk_init()205 assert((aclk_div + 1) * PERI_ACLK_HZ == GPLL_HZ && aclk_div < 0x1f); in rkclk_init()207 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()209 PERI_ACLK_HZ && (hclk_div < 0x4)); in rkclk_init()211 pclk_div = ilog2(PERI_ACLK_HZ / PERI_PCLK_HZ); in rkclk_init()213 PERI_ACLK_HZ && pclk_div < 0x8); in rkclk_init()364 return DIV_TO_RATE(PERI_ACLK_HZ, div); in rk3128_peri_get_pclk()371 src_clk_div = PERI_ACLK_HZ / hz; in rk3128_peri_set_pclk()388 return DIV_TO_RATE(PERI_ACLK_HZ, src_clk_div); in rk3128_peri_set_pclk()
142 aclk_div = GPLL_HZ / PERI_ACLK_HZ - 1; in rkclk_init()143 assert((aclk_div + 1) * PERI_ACLK_HZ == GPLL_HZ && aclk_div < 0x1f); in rkclk_init()145 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()147 PERI_ACLK_HZ && (hclk_div < 0x4)); in rkclk_init()149 pclk_div = ilog2(PERI_ACLK_HZ / PERI_PCLK_HZ); in rkclk_init()151 PERI_ACLK_HZ && pclk_div < 0x8); in rkclk_init()
143 aclk_div = GPLL_HZ / PERI_ACLK_HZ - 1; in rkclk_init()144 assert((aclk_div + 1) * PERI_ACLK_HZ == GPLL_HZ && aclk_div < 0x1f); in rkclk_init()146 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()148 PERI_ACLK_HZ && (hclk_div < 0x4)); in rkclk_init()150 pclk_div = ilog2(PERI_ACLK_HZ / PERI_PCLK_HZ); in rkclk_init()152 PERI_ACLK_HZ && pclk_div < 0x8); in rkclk_init()
427 aclk_div = GPLL_HZ / PERI_ACLK_HZ - 1; in rkclk_init()428 assert((aclk_div + 1) * PERI_ACLK_HZ == GPLL_HZ && aclk_div < 0x1f); in rkclk_init()430 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()432 PERI_ACLK_HZ && (hclk_div < 0x4)); in rkclk_init()434 pclk_div = ilog2(PERI_ACLK_HZ / PERI_PCLK_HZ); in rkclk_init()436 PERI_ACLK_HZ && (pclk_div < 0x4)); in rkclk_init()
424 aclk_div = GPLL_HZ / PERI_ACLK_HZ - 1; in rkclk_init()425 assert((aclk_div + 1) * PERI_ACLK_HZ == GPLL_HZ && aclk_div < 0x1f); in rkclk_init()427 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()429 PERI_ACLK_HZ && (hclk_div < 0x4)); in rkclk_init()431 pclk_div = ilog2(PERI_ACLK_HZ / PERI_PCLK_HZ); in rkclk_init()433 PERI_ACLK_HZ && (pclk_div < 0x4)); in rkclk_init()
21 #define PERI_ACLK_HZ 148500000 macro
22 #define PERI_ACLK_HZ 148500000 macro
24 #define PERI_ACLK_HZ 148500000 macro
23 #define PERI_ACLK_HZ 148500000 macro