Searched refs:min_mult (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/clk/renesas/ |
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()
|
D | rcar-gen3-cpg.c | 121 unsigned int min_mult, max_mult, mult; in cpg_z_clk_determine_rate() local 125 min_mult = max(div64_ul(req->min_rate * 32ULL, prate), 1ULL); in cpg_z_clk_determine_rate() 127 if (max_mult < min_mult) in cpg_z_clk_determine_rate() 131 mult = clamp(mult, min_mult, max_mult); in cpg_z_clk_determine_rate()
|