Searched refs:pm_cpu (Results 1 – 1 of 1) sorted by relevance
431 struct clk_pm_cpu *pm_cpu = to_clk_pm_cpu(hw); in clk_pm_cpu_get_parent() local434 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() local450 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 …]