Lines Matching refs:func
32 const struct nvbios_source *func; member
45 u32 read = mthd->func->read(data, start, limit - start, bios); in shadow_fetch()
58 if (mthd->func->no_pcir) { in shadow_image()
61 image.size = mthd->func->size(mthd->data); in shadow_image()
85 if (!mthd->func->ignore_checksum && in shadow_image()
89 if (mthd->func->rw) in shadow_image()
109 const struct nvbios_source *func = mthd->func; in shadow_method() local
111 if (func->name) { in shadow_method()
112 nvkm_debug(subdev, "trying %s...\n", name ? name : func->name); in shadow_method()
113 if (func->init) { in shadow_method()
114 mthd->data = func->init(bios, name); in shadow_method()
121 if (func->fini) in shadow_method()
122 func->fini(mthd->data); in shadow_method()
187 for (mthd = mthds; mthd->func; mthd++) { in nvbios_shadow()
188 if (mthd->func->name && in nvbios_shadow()
189 !strcasecmp(source, mthd->func->name)) { in nvbios_shadow()
198 mthd->func = &shadow_fw; in nvbios_shadow()
200 mthd->func = NULL; in nvbios_shadow()
212 for (mthd = mthds, best = mthd; mthd->func; mthd++) { in nvbios_shadow()
223 for (mthd = mthds; mthd->func; mthd++) { in nvbios_shadow()
233 nvkm_debug(subdev, "using image from %s\n", best->func ? in nvbios_shadow()
234 best->func->name : source); in nvbios_shadow()