Lines Matching refs:best
47 const struct videomode *this, *best = NULL; in pick_mode_by_dotclock() local
57 if (best != NULL) { in pick_mode_by_dotclock()
58 if (this->dot_clock > best->dot_clock) in pick_mode_by_dotclock()
59 best = this; in pick_mode_by_dotclock()
61 best = this; in pick_mode_by_dotclock()
63 if (best != NULL) in pick_mode_by_dotclock()
64 DPRINTF("found %s\n", best->name); in pick_mode_by_dotclock()
66 return best; in pick_mode_by_dotclock()
72 const struct videomode *this, *best = NULL; in pick_mode_by_ref() local
85 if (best != NULL) { in pick_mode_by_ref()
87 best = this; in pick_mode_by_ref()
91 best = this; in pick_mode_by_ref()
95 if (best != NULL) in pick_mode_by_ref()
96 DPRINTF("found %s %d\n", best->name, best->dot_clock); in pick_mode_by_ref()
98 return best; in pick_mode_by_ref()