Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/clk/mvebu/
Dap-cpu-clk.c149 int cpu_clkdiv_ratio; in ap_cpu_clk_recalc_rate() local
153 regmap_read(clk->pll_cr_base, cpu_clkdiv_reg, &cpu_clkdiv_ratio); in ap_cpu_clk_recalc_rate()
154 cpu_clkdiv_ratio &= clk->pll_regs->divider_mask; in ap_cpu_clk_recalc_rate()
155 cpu_clkdiv_ratio >>= clk->pll_regs->divider_offset; in ap_cpu_clk_recalc_rate()
157 return parent_rate / cpu_clkdiv_ratio; in ap_cpu_clk_recalc_rate()