Searched refs:min_mult (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/drivers/clk/renesas/ |
A D | rcar-gen4-cpg.c | 84 unsigned int min_mult, max_mult, mult; in cpg_pll_clk_determine_rate() local 88 min_mult = max(div64_ul(req->min_rate, prate), 1ULL); in cpg_pll_clk_determine_rate() 90 if (max_mult < min_mult) in cpg_pll_clk_determine_rate() 94 mult = clamp(mult, min_mult, max_mult); in cpg_pll_clk_determine_rate() 213 unsigned int min_mult, max_mult, mult; in cpg_z_clk_determine_rate() local 228 min_mult = max(div64_ul(req->min_rate * 32ULL, prate), 1ULL); in cpg_z_clk_determine_rate() 230 if (max_mult < min_mult) in cpg_z_clk_determine_rate() 234 mult = clamp(mult, min_mult, max_mult); in cpg_z_clk_determine_rate()
|
A D | rcar-gen3-cpg.c | 69 unsigned int min_mult, max_mult, mult; in cpg_pll_clk_determine_rate() local 73 min_mult = max(div64_ul(req->min_rate, prate), 1ULL); in cpg_pll_clk_determine_rate() 75 if (max_mult < min_mult) in cpg_pll_clk_determine_rate() 79 mult = clamp(mult, min_mult, max_mult); in cpg_pll_clk_determine_rate() 193 unsigned int min_mult, max_mult, mult; in cpg_z_clk_determine_rate() local 208 min_mult = max(div64_ul(req->min_rate * 32ULL, prate), 1ULL); in cpg_z_clk_determine_rate() 210 if (max_mult < min_mult) in cpg_z_clk_determine_rate() 214 mult = clamp(mult, min_mult, max_mult); in cpg_z_clk_determine_rate()
|
A D | rcar-gen2-cpg.c | 70 unsigned int min_mult, max_mult, mult; in cpg_z_clk_determine_rate() local 72 min_mult = max(div64_ul(req->min_rate * 32ULL, prate), 1ULL); in cpg_z_clk_determine_rate() 74 if (max_mult < min_mult) in cpg_z_clk_determine_rate() 78 mult = clamp(mult, min_mult, max_mult); in cpg_z_clk_determine_rate()
|
Completed in 6 milliseconds