Lines Matching refs:devfn
59 #define pci_cfg_addr(bus, devfn, off) (((bus) << 16) | ((devfn) << 8) | (off)) argument
62 static inline u32 pci_cfg_read_32bit(struct pci_bus *bus, unsigned int devfn, in pci_cfg_read_32bit() argument
69 pci_cfg_addr(bus->number, devfn, where & ~3)); in pci_cfg_read_32bit()
74 static inline void pci_cfg_write_32bit(struct pci_bus *bus, unsigned int devfn, in pci_cfg_write_32bit() argument
80 pci_cfg_addr(bus->number, devfn, where & ~3)); in pci_cfg_write_32bit()
84 static int nlm_pcibios_read(struct pci_bus *bus, unsigned int devfn, in nlm_pcibios_read() argument
94 data = pci_cfg_read_32bit(bus, devfn, where); in nlm_pcibios_read()
107 static int nlm_pcibios_write(struct pci_bus *bus, unsigned int devfn, in nlm_pcibios_write() argument
117 data = pci_cfg_read_32bit(bus, devfn, where); in nlm_pcibios_write()
128 pci_cfg_write_32bit(bus, devfn, where, data); in nlm_pcibios_write()
212 link = PCI_SLOT(lnk->devfn); in get_irq_vector()