Searched refs:hclk_div (Results 1 – 8 of 8) sorted by relevance
81 u32 hclk_div; in rkclk_init() local125 hclk_div = GPLL_HZ / BUS_HCLK_HZ - 1; in rkclk_init()126 assert((hclk_div + 1) * BUS_HCLK_HZ == GPLL_HZ && hclk_div <= 0x3); in rkclk_init()136 hclk_div << BUS_HCLK_DIV_SHIFT); in rkclk_init()145 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()146 assert((1 << hclk_div) * PERI_HCLK_HZ == in rkclk_init()147 PERI_ACLK_HZ && (hclk_div < 0x4)); in rkclk_init()158 hclk_div << PERI_HCLK_DIV_SHIFT | in rkclk_init()
82 u32 hclk_div; in rkclk_init() local126 hclk_div = BUS_ACLK_HZ / BUS_HCLK_HZ - 1; in rkclk_init()127 assert((hclk_div + 1) * BUS_HCLK_HZ == GPLL_HZ && hclk_div <= 0x3); in rkclk_init()137 hclk_div << BUS_HCLK_DIV_SHIFT); in rkclk_init()146 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()147 assert((1 << hclk_div) * PERI_HCLK_HZ == in rkclk_init()148 PERI_ACLK_HZ && (hclk_div < 0x4)); in rkclk_init()159 hclk_div << PERI_HCLK_DIV_SHIFT | in rkclk_init()
375 u32 aclk_div, hclk_div, pclk_div, h2p_div; in rkclk_init() local408 hclk_div = ilog2(CPU_ACLK_HZ / CPU_HCLK_HZ); in rkclk_init()409 assert((1 << hclk_div) * CPU_HCLK_HZ == CPU_ACLK_HZ && hclk_div < 0x3); in rkclk_init()421 hclk_div << CPU_HCLK_DIV_SHIFT); in rkclk_init()430 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()431 assert((1 << hclk_div) * PERI_HCLK_HZ == in rkclk_init()432 PERI_ACLK_HZ && (hclk_div < 0x4)); in rkclk_init()444 hclk_div << PERI_HCLK_DIV_SHIFT | in rkclk_init()
143 u32 hclk_div; in rkclk_init() local187 hclk_div = BUS_ACLK_HZ / BUS_HCLK_HZ - 1; in rkclk_init()188 assert((hclk_div + 1) * BUS_HCLK_HZ == BUS_ACLK_HZ && hclk_div <= 0x3); in rkclk_init()198 hclk_div << BUS_HCLK_DIV_SHIFT); in rkclk_init()207 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()208 assert((1 << hclk_div) * PERI_HCLK_HZ == in rkclk_init()209 PERI_ACLK_HZ && (hclk_div < 0x4)); in rkclk_init()220 hclk_div << PERI_HCLK_DIV_SHIFT | in rkclk_init()
1026 u32 hclk_div; in rkclk_init() local1047 hclk_div = PERIHP_ACLK_HZ / PERIHP_HCLK_HZ - 1; in rkclk_init()1048 assert((hclk_div + 1) * PERIHP_HCLK_HZ == in rkclk_init()1049 PERIHP_ACLK_HZ && (hclk_div < 0x4)); in rkclk_init()1059 hclk_div << HCLK_PERIHP_DIV_CON_SHIFT | in rkclk_init()1067 hclk_div = PERILP0_ACLK_HZ / PERILP0_HCLK_HZ - 1; in rkclk_init()1068 assert((hclk_div + 1) * PERILP0_HCLK_HZ == in rkclk_init()1069 PERILP0_ACLK_HZ && (hclk_div < 0x4)); in rkclk_init()1079 hclk_div << HCLK_PERILP0_DIV_CON_SHIFT | in rkclk_init()1084 hclk_div = GPLL_HZ / PERILP1_HCLK_HZ - 1; in rkclk_init()[all …]
379 u32 hclk_div; in rkclk_init() local404 hclk_div = PD_BUS_ACLK_HZ / PD_BUS_HCLK_HZ - 1; in rkclk_init()405 assert((hclk_div + 1) * PD_BUS_HCLK_HZ == in rkclk_init()406 PD_BUS_ACLK_HZ && (hclk_div < 0x4) && (hclk_div != 0x2)); in rkclk_init()416 hclk_div << PD_BUS_HCLK_DIV_SHIFT | in rkclk_init()427 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()428 assert((1 << hclk_div) * PERI_HCLK_HZ == in rkclk_init()429 PERI_ACLK_HZ && (hclk_div < 0x4)); in rkclk_init()440 hclk_div << PERI_HCLK_DIV_SHIFT | in rkclk_init()
282 u32 hclk_div; in rkclk_init() local291 hclk_div = PERIHP_ACLK_HZ / PERIHP_HCLK_HZ - 1; in rkclk_init()301 hclk_div << HCLK_PERIHP_DIV_CON_SHIFT); in rkclk_init()
61 const uint8_t hclk_div = in get_HCLK() local63 const ulong hclk_rate = get_PLLCLK(&syscon->clkset1) / hclk_div; in get_HCLK()