Lines Matching refs:best
656 u32 best, diff, tdiff; in fb_find_mode() local
780 best = -1; in fb_find_mode()
800 best = i; in fb_find_mode()
804 if (best != -1) { in fb_find_mode()
805 fb_try_mode(var, info, &db[best], bpp); in fb_find_mode()
810 best = -1; in fb_find_mode()
827 best = i; in fb_find_mode()
831 if (best != -1) { in fb_find_mode()
832 fb_try_mode(var, info, &db[best], bpp); in fb_find_mode()
967 struct fb_videomode *mode, *best = NULL; in fb_find_best_mode() local
979 best = mode; in fb_find_best_mode()
980 } else if (diff == d && best && in fb_find_best_mode()
981 mode->refresh > best->refresh) in fb_find_best_mode()
982 best = mode; in fb_find_best_mode()
985 return best; in fb_find_best_mode()
1002 struct fb_videomode *cmode, *best = NULL; in fb_find_nearest_mode() local
1014 best = cmode; in fb_find_nearest_mode()
1019 best = cmode; in fb_find_nearest_mode()
1024 return best; in fb_find_nearest_mode()
1146 const struct fb_videomode *m, *m1 = NULL, *md = NULL, *best = NULL; in fb_find_best_display() local
1169 best = md; in fb_find_best_display()
1182 best = m; in fb_find_best_display()
1189 best = md; in fb_find_best_display()
1194 best = m1; in fb_find_best_display()
1196 return best; in fb_find_best_display()