Lines Matching defs:devfn
141 pdev->pin = 1 + (PCI_FUNC(pdev->devfn) & 3);
174 struct pci_bus *bus, unsigned int devfn, int where)
183 addroff |= (devfn << 8) | where;
188 struct pci_bus *bus, unsigned int devfn, int where)
197 addroff |= (devfn << 8) | (where & 0xff) | ((where & 0xf00) << 16);
201 static void __iomem *pci_loongson_map_bus(struct pci_bus *bus, unsigned int devfn,
204 unsigned int device = PCI_SLOT(devfn);
205 unsigned int function = PCI_FUNC(devfn);
223 return cfg0_map(priv, bus, devfn, where);
227 return cfg1_map(priv, bus, devfn, where);