Searched refs:PCI_CONF2_ADDRESS (Results 1 – 1 of 1) sorted by relevance
/arch/x86/pci/ |
D | direct.c | 93 #define PCI_CONF2_ADDRESS(dev, reg) (u16)(0xC000 | (dev << 8) | reg) macro 120 *value = inb(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read() 123 *value = inw(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read() 126 *value = inl(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read() 160 outb((u8)value, PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_write() 163 outw((u16)value, PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_write() 166 outl((u32)value, PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_write() 177 #undef PCI_CONF2_ADDRESS
|