Lines Matching +full:8 +full:mb
66 dev->class = PCI_CLASS_BRIDGE_ISA << 8; in quirk_isa_bridge()
77 if (dev->class >> 8 == PCI_CLASS_STORAGE_IDE) { in quirk_cypress()
95 if (dev->class >> 8 == PCI_CLASS_BRIDGE_ISA) { in quirk_cypress()
111 unsigned int class = dev->class >> 8; in pcibios_fixup_final()
123 #define MB (1024*KB) macro
124 #define GB (1024*MB)
156 * octant (16MB) of every 128MB segment is in pcibios_align_resource()
157 * aliased to the very first 16 MB of the in pcibios_align_resource()
162 * Devices that need more than 112MB of in pcibios_align_resource()
170 if (hose->sparse_mem_base && size <= 7 * 16*MB) { in pcibios_align_resource()
171 if (((start / (16*MB)) & 0x7) == 0) { in pcibios_align_resource()
172 start &= ~(128*MB - 1); in pcibios_align_resource()
173 start += 16*MB; in pcibios_align_resource()
176 if (start/(128*MB) != (start + size - 1)/(128*MB)) { in pcibios_align_resource()
177 start &= ~(128*MB - 1); in pcibios_align_resource()
178 start += (128 + 16)*MB; in pcibios_align_resource()
187 #undef MB
259 (dev->class >> 8) == PCI_CLASS_BRIDGE_PCI) { in pcibios_fixup_bus()
371 /* Don't allow 8-bit bus number overflow inside the hose - in common_init_pci()