Lines Matching defs:image
73 * pci_get_rom_size - obtain the actual size of the ROM image
75 * @rom: kernel virtual pointer to image of ROM
77 * return: size of actual ROM image
79 * Determine the actual length of the ROM image.
81 * actual image size.
86 void __iomem *image;
90 image = rom;
94 if (readw(image) != 0xAA55) {
96 readw(image));
100 pds = image + readw(image + 24);
108 image += length * 512;
110 if (image >= rom + size)
113 if (readw(image) != 0xAA55) {
114 pci_info(pdev, "No more image in the PCI ROM\n");
122 return min((size_t)(image - rom), size);
130 * Return: kernel virtual pointer to image of ROM