Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/
Dclk-composite.c77 unsigned long rate_diff; in clk_composite_determine_rate() local
122 rate_diff = abs(req->rate - tmp_req.rate); in clk_composite_determine_rate()
124 if (!rate_diff || !req->best_parent_hw in clk_composite_determine_rate()
125 || best_rate_diff > rate_diff) { in clk_composite_determine_rate()
128 best_rate_diff = rate_diff; in clk_composite_determine_rate()
132 if (!rate_diff) in clk_composite_determine_rate()
/linux-6.1.9/drivers/tty/serial/
Dlpc32xx_hs.c215 u32 rate_diff; in __serial_get_clock_div() local
225 rate_diff = 0xFFFFFFFF; in __serial_get_clock_div()
229 if (abs(comprate - rate) < rate_diff) { in __serial_get_clock_div()
231 rate_diff = abs(comprate - rate); in __serial_get_clock_div()