Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/rockchip/
H A Dclk-cpu.c87 u32 clksel0 = readl_relaxed(cpuclk->reg_base + reg_data->core_reg[0]); in rockchip_cpuclk_recalc_rate() local
89 clksel0 >>= reg_data->div_core_shift[0]; in rockchip_cpuclk_recalc_rate()
90 clksel0 &= reg_data->div_core_mask[0]; in rockchip_cpuclk_recalc_rate()
91 return parent_rate / (clksel0 + 1); in rockchip_cpuclk_recalc_rate()