Home
last modified time | relevance | path

Searched refs:pclk_dbg_div (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/clk/rockchip/
H A Dclk_rk3399.c425 u32 pclk_dbg_div; in rk3399_configure_cpu_l() local
435 pclk_dbg_div = LPLL_HZ / PCLK_DBG_L_HZ - 1; in rk3399_configure_cpu_l()
436 assert((pclk_dbg_div + 1) * PCLK_DBG_L_HZ == LPLL_HZ && in rk3399_configure_cpu_l()
437 pclk_dbg_div < 0x1f); in rk3399_configure_cpu_l()
452 pclk_dbg_div << PCLK_DBG_L_DIV_SHIFT | in rk3399_configure_cpu_l()
460 u32 pclk_dbg_div; in rk3399_configure_cpu_b() local
470 pclk_dbg_div = BPLL_HZ / PCLK_DBG_B_HZ - 1; in rk3399_configure_cpu_b()
471 assert((pclk_dbg_div + 1) * PCLK_DBG_B_HZ == BPLL_HZ && in rk3399_configure_cpu_b()
472 pclk_dbg_div < 0x1f); in rk3399_configure_cpu_b()
487 pclk_dbg_div << PCLK_DBG_B_DIV_SHIFT | in rk3399_configure_cpu_b()
H A Dclk_rk3328.c309 u32 pclk_dbg_div; in rk3328_configure_cpu() local
315 pclk_dbg_div = APLL_HZ / PCLK_DBG_HZ / (clk_core_div + 1) - 1; in rk3328_configure_cpu()
324 pclk_dbg_div << PCLK_DBG_DIV_SHIFT | in rk3328_configure_cpu()