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