Searched refs:nearest_rate (Results 1 – 1 of 1) sorted by relevance
393 unsigned long best = 0, nearest_rate; in roclk_determine_rate() local407 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()