Home
last modified time | relevance | path

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

/linux/drivers/clk/microchip/
H A Dclk-core.c393 unsigned long best = 0, nearest_rate; in roclk_determine_rate() local
407 nearest_rate = roclk_round_rate(hw, req->rate, &parent_rate); in roclk_determine_rate()
408 delta = abs(nearest_rate - req->rate); in roclk_determine_rate()
409 if ((nearest_rate >= req->rate) && (delta < best_delta)) { in roclk_determine_rate()
412 best = nearest_rate; in roclk_determine_rate()