Searched refs:rate_diff (Results 1 – 2 of 2) sorted by relevance
77 unsigned long rate_diff; in clk_composite_determine_rate() local122 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()
215 u32 rate_diff; in __serial_get_clock_div() local225 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()