Lines Matching +full:0 +full:xe0000
18 #define BIOS32_SIGNATURE (('_' << 0) + ('3' << 8) + ('2' << 16) + ('_' << 24))
21 #define PCI_SIGNATURE (('P' << 0) + ('C' << 8) + ('I' << 16) + (' ' << 24))
24 #define PCI_SERVICE (('$' << 0) + ('P' << 8) + ('C' << 16) + ('I' << 24))
27 #define PCIBIOS_HW_TYPE1 0x01
28 #define PCIBIOS_HW_TYPE2 0x02
29 #define PCIBIOS_HW_TYPE1_SPEC 0x10
30 #define PCIBIOS_HW_TYPE2_SPEC 0x20
38 * We could make the 0xe0000-0x100000 range rox, but this can break
67 unsigned char revision; /* Revision level, 0 */
85 } bios32_indirect __initdata = { 0, __KERNEL_CS };
105 : "0" (service), in bios32_service()
106 "1" (0), in bios32_service()
111 case 0: in bios32_service()
113 case 0x80: /* Not present */ in bios32_service()
114 printk(KERN_WARNING "bios32_service(0x%lx): not present\n", service); in bios32_service()
115 return 0; in bios32_service()
117 printk(KERN_WARNING "bios32_service(0x%lx): returned 0x%x -- BIOS bug!\n", in bios32_service()
119 return 0; in bios32_service()
127 .address = 0,
157 status = (eax >> 8) & 0xff; in check_pcibios()
158 hw_mech = eax & 0xff; in check_pcibios()
159 major_ver = (ebx >> 8) & 0xff; in check_pcibios()
160 minor_ver = ebx & 0xff; in check_pcibios()
161 if (pcibios_last_bus < 0) in check_pcibios()
162 pcibios_last_bus = ecx & 0xff; in check_pcibios()
168 return 0; in check_pcibios()
170 printk(KERN_INFO "PCI: PCI BIOS revision %x.%02x entry at 0x%lx, last bus=%d\n", in check_pcibios()
180 return 0; in check_pcibios()
186 unsigned long result = 0; in pci_bios_read()
189 u16 number = 0, mask = 0; in pci_bios_read()
200 mask = 0xff; in pci_bios_read()
204 mask = 0xffff; in pci_bios_read()
230 return (int)((result & 0xff00) >> 8); in pci_bios_read()
236 unsigned long result = 0; in pci_bios_write()
239 u16 number = 0; in pci_bios_write()
264 : "0" (number), in pci_bios_write()
272 return (int)((result & 0xff00) >> 8); in pci_bios_write()
298 * 0xe0000 through 0xfffff for a valid BIOS32 structure. in pci_find_bios()
301 for (check = (union bios32 *) __va(0xe0000); in pci_find_bios()
302 check <= (union bios32 *) __va(0xffff0); in pci_find_bios()
313 sum = 0; in pci_find_bios()
314 for (i = 0; i < length ; ++i) in pci_find_bios()
316 if (sum != 0) in pci_find_bios()
318 if (check->fields.revision != 0) { in pci_find_bios()
319 printk("PCI: unsupported BIOS32 revision %d at 0x%p\n", in pci_find_bios()
323 DBG("PCI: BIOS32 Service Directory structure at 0x%p\n", check); in pci_find_bios()
324 if (check->fields.entry >= 0x100000) { in pci_find_bios()
325 printk("PCI: BIOS32 entry (0x%p) in high memory, " in pci_find_bios()
330 DBG("PCI: BIOS32 Service Directory entry at 0x%lx\n", in pci_find_bios()
381 : "0" (PCIBIOS_GET_ROUTING_OPTIONS), in pcibios_get_irq_routing_table()
382 "1" (0), in pcibios_get_irq_routing_table()
388 if (ret & 0xff00) in pcibios_get_irq_routing_table()
389 printk(KERN_ERR "PCI: Error %02x when fetching IRQ routing table.\n", (ret >> 8) & 0xff); in pcibios_get_irq_routing_table()
393 memset(rt, 0, sizeof(struct irq_routing_table)); in pcibios_get_irq_routing_table()
414 : "0" (PCIBIOS_SET_PCI_HW_INT), in pcibios_set_irq_routing()
418 return !(ret & 0xff00); in pcibios_set_irq_routing()