Lines Matching defs:devfn
37 dc21285_base_address(struct pci_bus *bus, unsigned int devfn)
42 if (PCI_SLOT(devfn) == 0)
44 * For devfn 0, point at the 21285
48 devfn -= 1 << 3;
50 if (devfn < PCI_DEVFN(MAX_SLOTS, 0))
51 addr = PCICFG0_BASE | 0xc00000 | (devfn << 8);
54 addr = PCICFG1_BASE | (bus->number << 16) | (devfn << 8);
60 dc21285_read_config(struct pci_bus *bus, unsigned int devfn, int where,
63 unsigned long addr = dc21285_base_address(bus, devfn);
94 dc21285_write_config(struct pci_bus *bus, unsigned int devfn, int where,
97 unsigned long addr = dc21285_base_address(bus, devfn);