Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/clk/mvebu/
Darmada-37xx-periph.c431 struct clk_pm_cpu *pm_cpu = to_clk_pm_cpu(hw); in clk_pm_cpu_get_parent() local
434 if (armada_3700_pm_dvfs_is_enabled(pm_cpu->nb_pm_base)) { in clk_pm_cpu_get_parent()
435 val = armada_3700_pm_dvfs_get_cpu_parent(pm_cpu->nb_pm_base); in clk_pm_cpu_get_parent()
437 val = readl(pm_cpu->reg_mux) >> pm_cpu->shift_mux; in clk_pm_cpu_get_parent()
438 val &= pm_cpu->mask_mux; in clk_pm_cpu_get_parent()
447 struct clk_pm_cpu *pm_cpu = to_clk_pm_cpu(hw); in clk_pm_cpu_recalc_rate() local
450 if (armada_3700_pm_dvfs_is_enabled(pm_cpu->nb_pm_base)) in clk_pm_cpu_recalc_rate()
451 div = armada_3700_pm_dvfs_get_cpu_div(pm_cpu->nb_pm_base); in clk_pm_cpu_recalc_rate()
453 div = get_div(pm_cpu->reg_div, pm_cpu->shift_div); in clk_pm_cpu_recalc_rate()
460 struct clk_pm_cpu *pm_cpu = to_clk_pm_cpu(hw); in clk_pm_cpu_round_rate() local
[all …]