Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/clk/bcm/
Dclk-kona.c697 u64 scaled_parent_rate; in clk_recalc_rate() local
722 scaled_parent_rate = DIV_ROUND_CLOSEST_ULL(scaled_rate, in clk_recalc_rate()
725 scaled_parent_rate = scale_rate(div, parent_rate); in clk_recalc_rate()
734 result = DIV_ROUND_CLOSEST_ULL(scaled_parent_rate, scaled_div); in clk_recalc_rate()
753 u64 scaled_parent_rate; in round_rate() local
781 scaled_parent_rate = DIV_ROUND_CLOSEST_ULL(scaled_rate, in round_rate()
784 scaled_parent_rate = scale_rate(div, parent_rate); in round_rate()
793 best_scaled_div = DIV_ROUND_CLOSEST_ULL(scaled_parent_rate, in round_rate()
806 result = DIV_ROUND_CLOSEST_ULL(scaled_parent_rate, best_scaled_div); in round_rate()