Home
last modified time | relevance | path

Searched refs:PCI_CONF2_ADDRESS (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/arch/x86_64/kernel/
Dpci-pc.c194 #define PCI_CONF2_ADDRESS(dev, reg) (u16)(0xC000 | (dev << 8) | reg) macro
213 *value = inb(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read()
216 *value = inw(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read()
219 *value = inl(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read()
247 outb ((u8)value, PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_write()
250 outw ((u16)value, PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_write()
253 outl ((u32)value, PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_write()
/linux-2.4.37.9/arch/i386/kernel/
Dpci-pc.c306 #define PCI_CONF2_ADDRESS(dev, reg) (u16)(0xC000 | (dev << 8) | reg) macro
325 *value = inb(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read()
328 *value = inw(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read()
331 *value = inl(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read()
359 outb ((u8)value, PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_write()
362 outw ((u16)value, PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_write()
365 outl ((u32)value, PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_write()
376 #undef PCI_CONF2_ADDRESS