Lines Matching full:image
25 #include <subdev/bios/image.h>
30 nvbios_imagen(struct nvkm_bios *bios, struct nvbios_image *image) in nvbios_imagen() argument
39 switch ((data = nvbios_rd16(bios, image->base + 0x00))) { in nvbios_imagen()
46 image->base, data); in nvbios_imagen()
50 if (!(data = nvbios_pcirTp(bios, image->base, &ver, &hdr, &pcir))) in nvbios_imagen()
52 image->size = pcir.image_size; in nvbios_imagen()
53 image->type = pcir.image_type; in nvbios_imagen()
54 image->last = pcir.last; in nvbios_imagen()
56 if (image->type != 0x70) { in nvbios_imagen()
57 if (!(data = nvbios_npdeTp(bios, image->base, &npde))) in nvbios_imagen()
59 image->size = npde.image_size; in nvbios_imagen()
60 image->last = npde.last; in nvbios_imagen()
62 image->last = true; in nvbios_imagen()
69 nvbios_image(struct nvkm_bios *bios, int idx, struct nvbios_image *image) in nvbios_image() argument
72 memset(image, 0x00, sizeof(*image)); in nvbios_image()
75 image->base += image->size; in nvbios_image()
76 if (image->last || !nvbios_imagen(bios, image)) { in nvbios_image()