Lines Matching defs:devfn
255 #define PCIE_CONF_ADDR(bus, devfn, where) \
256 (PCIE_CONF_BUS(bus) | PCIE_CONF_DEV(PCI_SLOT(devfn)) | \
257 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | PCIE_CONF_REG(where))
980 int devfn)
982 if (pci_is_root_bus(bus) && PCI_SLOT(devfn) != 0)
1024 static int advk_pcie_rd_conf(struct pci_bus *bus, u32 devfn,
1033 if (!advk_pcie_valid_device(pcie, bus, devfn)) {
1064 reg = PCIE_CONF_ADDR(bus->number, devfn, where);
1112 static int advk_pcie_wr_conf(struct pci_bus *bus, u32 devfn,
1122 if (!advk_pcie_valid_device(pcie, bus, devfn))
1145 reg = PCIE_CONF_ADDR(bus->number, devfn, where);