Lines Matching refs:region
215 static void __init quirk_io_region(struct pci_dev *dev, unsigned region, unsigned size, int nr) in quirk_io_region() argument
217 region &= ~(size-1); in quirk_io_region()
218 if (region) { in quirk_io_region()
222 res->start = region; in quirk_io_region()
223 res->end = region + size - 1; in quirk_io_region()
254 u16 region; in quirk_ali7101_acpi() local
256 pci_read_config_word(dev, 0xE0, ®ion); in quirk_ali7101_acpi()
257 quirk_io_region(dev, region, 64, PCI_BRIDGE_RESOURCES); in quirk_ali7101_acpi()
258 pci_read_config_word(dev, 0xE2, ®ion); in quirk_ali7101_acpi()
259 quirk_io_region(dev, region, 32, PCI_BRIDGE_RESOURCES+1); in quirk_ali7101_acpi()
269 u32 region; in quirk_piix4_acpi() local
271 pci_read_config_dword(dev, 0x40, ®ion); in quirk_piix4_acpi()
272 quirk_io_region(dev, region, 64, PCI_BRIDGE_RESOURCES); in quirk_piix4_acpi()
273 pci_read_config_dword(dev, 0x90, ®ion); in quirk_piix4_acpi()
274 quirk_io_region(dev, region, 32, PCI_BRIDGE_RESOURCES+1); in quirk_piix4_acpi()
284 u32 region; in quirk_ich4_lpc_acpi() local
286 pci_read_config_dword(dev, 0x40, ®ion); in quirk_ich4_lpc_acpi()
287 quirk_io_region(dev, region, 128, PCI_BRIDGE_RESOURCES); in quirk_ich4_lpc_acpi()
289 pci_read_config_dword(dev, 0x58, ®ion); in quirk_ich4_lpc_acpi()
290 quirk_io_region(dev, region, 64, PCI_BRIDGE_RESOURCES+1); in quirk_ich4_lpc_acpi()
300 u32 region; in quirk_vt82c586_acpi() local
304 pci_read_config_dword(dev, 0x48, ®ion); in quirk_vt82c586_acpi()
305 region &= PCI_BASE_ADDRESS_IO_MASK; in quirk_vt82c586_acpi()
306 quirk_io_region(dev, region, 256, PCI_BRIDGE_RESOURCES); in quirk_vt82c586_acpi()