Lines Matching refs:best
186 }, *mthd, *best = NULL; in nvbios_shadow() local
199 best = mthd; in nvbios_shadow()
206 if (!best && (best = mthd)) { in nvbios_shadow()
212 if (!best->score) { in nvbios_shadow()
220 if (!best || !best->score) { in nvbios_shadow()
221 for (mthd = mthds, best = mthd; mthd->func; mthd++) { in nvbios_shadow()
222 if (!mthd->skip || best->score < mthd->skip) { in nvbios_shadow()
224 if (mthd->score > best->score) in nvbios_shadow()
225 best = mthd; in nvbios_shadow()
233 if (mthd != best) in nvbios_shadow()
237 if (!best->score) { in nvbios_shadow()
242 nvkm_debug(subdev, "using image from %s\n", best->func ? in nvbios_shadow()
243 best->func->name : source); in nvbios_shadow()
244 bios->data = best->data; in nvbios_shadow()
245 bios->size = best->size; in nvbios_shadow()