Lines Matching defs:devfn
62 if (dev->devfn != 0 || dev->bus->self != NULL)
1548 unsigned int devfn)
1567 if (bus->number == port->hose->first_busno && devfn != 0)
1572 PCI_SLOT(devfn) != 0)
1584 unsigned int devfn)
1596 ((relbus << 20) | (devfn << 12));
1599 static int ppc4xx_pciex_read_config(struct pci_bus *bus, unsigned int devfn,
1610 if (ppc4xx_pciex_validate_bdf(port, bus, devfn) != 0)
1613 addr = ppc4xx_pciex_get_config_base(port, bus, devfn);
1638 pr_debug("pcie-config-read: bus=%3d [%3d..%3d] devfn=0x%04x"
1641 devfn, offset, len, addr + offset, *val);
1656 static int ppc4xx_pciex_write_config(struct pci_bus *bus, unsigned int devfn,
1665 if (ppc4xx_pciex_validate_bdf(port, bus, devfn) != 0)
1668 addr = ppc4xx_pciex_get_config_base(port, bus, devfn);
1678 pr_debug("pcie-config-write: bus=%3d [%3d..%3d] devfn=0x%04x"
1681 devfn, offset, len, addr + offset, val);