Lines Matching refs:devfn
50 *ixp23xx_pci_config_addr(unsigned int bus_nr, unsigned int devfn, int where)
63 if (PCI_SLOT(devfn) >= 8)
67 | (1 << (PCI_SLOT(devfn) + 16))
68 | (PCI_FUNC(devfn) << 8) | where);
72 | (PCI_SLOT(devfn) << 11)
73 | (PCI_FUNC(devfn) << 8) | where);
91 static int ixp23xx_pci_read_config(struct pci_bus *bus, unsigned int devfn,
100 bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn));
102 addr = ixp23xx_pci_config_addr(bus->number, devfn, where);
122 static int ixp23xx_pci_write_config(struct pci_bus *bus, unsigned int devfn,
130 addr = ixp23xx_pci_config_addr(bus->number, devfn, where);