Lines Matching defs:devfn
36 dc21285_base_address(struct pci_bus *bus, unsigned int devfn)
41 if (PCI_SLOT(devfn) == 0)
43 * For devfn 0, point at the 21285
47 devfn -= 1 << 3;
49 if (devfn < PCI_DEVFN(MAX_SLOTS, 0))
50 addr = PCICFG0_BASE | 0xc00000 | (devfn << 8);
53 addr = PCICFG1_BASE | (bus->number << 16) | (devfn << 8);
59 dc21285_read_config(struct pci_bus *bus, unsigned int devfn, int where,
62 unsigned long addr = dc21285_base_address(bus, devfn);
93 dc21285_write_config(struct pci_bus *bus, unsigned int devfn, int where,
96 unsigned long addr = dc21285_base_address(bus, devfn);