Lines Matching full:rom

26 	.name	= "System ROM",
33 .name = "Extension ROM",
40 .name = "Adapter ROM",
45 .name = "Adapter ROM",
50 .name = "Adapter ROM",
55 .name = "Adapter ROM",
60 .name = "Adapter ROM",
65 .name = "Adapter ROM",
72 .name = "Video ROM",
122 const unsigned char *rom; in find_oprom() local
127 rom = isa_bus_to_virt(res->start); in find_oprom()
128 if (probe_kernel_address(rom + 0x18, offset) != 0) in find_oprom()
131 if (probe_kernel_address(rom + offset + 0x4, vendor) != 0) in find_oprom()
134 if (probe_kernel_address(rom + offset + 0x6, device) != 0) in find_oprom()
142 if (probe_kernel_address(rom + offset + 0x8, list) == 0 && in find_oprom()
143 probe_kernel_address(rom + offset + 0xc, rev) == 0 && in find_oprom()
145 probe_list(pdev, vendor, rom + offset + list)) { in find_oprom()
181 static int __init romsignature(const unsigned char *rom) in romsignature() argument
183 const unsigned short * const ptr = (const unsigned short *)rom; in romsignature()
189 static int __init romchecksum(const unsigned char *rom, unsigned long length) in romchecksum() argument
193 for (sum = 0; length && probe_kernel_address(rom++, c) == 0; length--) in romchecksum()
200 const unsigned char *rom; in probe_roms() local
205 /* video rom */ in probe_roms()
208 rom = isa_bus_to_virt(start); in probe_roms()
209 if (!romsignature(rom)) in probe_roms()
214 if (probe_kernel_address(rom + 2, c) != 0) in probe_roms()
221 if (length && romchecksum(rom, length)) in probe_roms()
232 /* system rom */ in probe_roms()
236 /* check for extension rom (ignore length byte!) */ in probe_roms()
237 rom = isa_bus_to_virt(extension_rom_resource.start); in probe_roms()
238 if (romsignature(rom)) { in probe_roms()
240 if (romchecksum(rom, length)) { in probe_roms()
248 rom = isa_bus_to_virt(start); in probe_roms()
249 if (!romsignature(rom)) in probe_roms()
252 if (probe_kernel_address(rom + 2, c) != 0) in probe_roms()
259 if (!length || start + length > upper || !romchecksum(rom, length)) in probe_roms()