Lines Matching refs:func
34 const struct nvbios_source *func; member
48 u32 read = mthd->func->read(data, start, limit - start, bios); in shadow_fetch()
113 if (mthd->func->rw) in shadow_image()
145 const struct nvbios_source *func = mthd->func; in shadow_method() local
146 if (func->name) { in shadow_method()
147 nv_debug(bios, "trying %s...\n", name ? name : func->name); in shadow_method()
148 if (func->init) { in shadow_method()
149 mthd->data = func->init(bios, name); in shadow_method()
156 if (func->fini) in shadow_method()
157 func->fini(mthd->data); in shadow_method()
220 for (mthd = mthds; mthd->func; mthd++) { in nvbios_shadow()
221 if (mthd->func->name && in nvbios_shadow()
222 !strcasecmp(source, mthd->func->name)) { in nvbios_shadow()
231 mthd->func = &shadow_fw; in nvbios_shadow()
233 mthd->func = NULL; in nvbios_shadow()
245 for (mthd = mthds, best = mthd; mthd->func; mthd++) { in nvbios_shadow()
256 for (mthd = mthds; mthd->func; mthd++) { in nvbios_shadow()
266 nv_info(bios, "using image from %s\n", best->func ? in nvbios_shadow()
267 best->func->name : source); in nvbios_shadow()