Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clk/
Dclk-composite.c77 unsigned long rate_diff; in clk_composite_determine_rate() local
123 rate_diff = req->rate - tmp_req.rate; in clk_composite_determine_rate()
125 rate_diff = tmp_req.rate - req->rate; in clk_composite_determine_rate()
127 if (!rate_diff || !req->best_parent_hw in clk_composite_determine_rate()
128 || best_rate_diff > rate_diff) { in clk_composite_determine_rate()
131 best_rate_diff = rate_diff; in clk_composite_determine_rate()
135 if (!rate_diff) in clk_composite_determine_rate()
/linux-6.12.1/drivers/tty/serial/
Dlpc32xx_hs.c211 u32 rate_diff; in __serial_get_clock_div() local
221 rate_diff = 0xFFFFFFFF; in __serial_get_clock_div()
225 if (abs(comprate - rate) < rate_diff) { in __serial_get_clock_div()
227 rate_diff = abs(comprate - rate); in __serial_get_clock_div()
/linux-6.12.1/drivers/clk/qcom/
Dclk-rcg2.c267 unsigned long rate_diff, best_rate_diff = ULONG_MAX; in __clk_rcg2_select_conf() local
299 rate_diff = abs_diff(req_rate, rate); in __clk_rcg2_select_conf()
300 if (rate_diff < best_rate_diff) { in __clk_rcg2_select_conf()
301 best_rate_diff = rate_diff; in __clk_rcg2_select_conf()