Lines Matching refs:devfn
567 u32 devfn, int where, int size, u32 *val) in dw_pcie_rd_other_conf() argument
574 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | in dw_pcie_rd_other_conf()
575 PCIE_ATU_FUNC(PCI_FUNC(devfn)); in dw_pcie_rd_other_conf()
601 u32 devfn, int where, int size, u32 val) in dw_pcie_wr_other_conf() argument
608 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | in dw_pcie_wr_other_conf()
609 PCIE_ATU_FUNC(PCI_FUNC(devfn)); in dw_pcie_wr_other_conf()
657 static int dw_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, in dw_pcie_rd_conf() argument
663 if (dw_pcie_valid_config(pp, bus, PCI_SLOT(devfn)) == 0) { in dw_pcie_rd_conf()
670 ret = pp->ops->rd_other_conf(pp, bus, devfn, in dw_pcie_rd_conf()
673 ret = dw_pcie_rd_other_conf(pp, bus, devfn, in dw_pcie_rd_conf()
681 static int dw_pcie_wr_conf(struct pci_bus *bus, u32 devfn, in dw_pcie_wr_conf() argument
687 if (dw_pcie_valid_config(pp, bus, PCI_SLOT(devfn)) == 0) in dw_pcie_wr_conf()
692 ret = pp->ops->wr_other_conf(pp, bus, devfn, in dw_pcie_wr_conf()
695 ret = dw_pcie_wr_other_conf(pp, bus, devfn, in dw_pcie_wr_conf()