Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/renesas/ !
Drcar-gen3-cpg.c69 unsigned int min_mult, max_mult, mult; in cpg_pll_clk_determine_rate() local
74 max_mult = min(div64_ul(req->max_rate, prate), 128ULL); 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
209 max_mult = min(div64_ul(req->max_rate * 32ULL, prate), 32ULL); 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()
Drcar-gen4-cpg.c66 unsigned int min_mult, max_mult, mult; in cpg_z_clk_determine_rate() local
82 max_mult = min(div64_ul(req->max_rate * 32ULL, prate), 32ULL); in cpg_z_clk_determine_rate()
83 if (max_mult < min_mult) in cpg_z_clk_determine_rate()
87 mult = clamp(mult, min_mult, max_mult); in cpg_z_clk_determine_rate()
Drcar-gen2-cpg.c70 unsigned int min_mult, max_mult, mult; in cpg_z_clk_determine_rate() local
73 max_mult = min(div64_ul(req->max_rate * 32ULL, prate), 32ULL); 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()