Home
last modified time | relevance | path

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

/linux/drivers/clk/starfive/
H A Dclk-starfive-jh71x0.c131 unsigned long parent100 = 100 * req->best_parent_rate; in jh71x0_clk_frac_determine_rate() local
133 unsigned long div100 = clamp(DIV_ROUND_CLOSEST(parent100, rate), in jh71x0_clk_frac_determine_rate()
135 unsigned long result = parent100 / div100; in jh71x0_clk_frac_determine_rate()
139 result = parent100 / (div100 + 1); in jh71x0_clk_frac_determine_rate()
141 result = parent100 / (div100 - 1); in jh71x0_clk_frac_determine_rate()