Lines Matching refs:devfn
581 u32 devfn, int where, int size, u32 *val) in dw_pcie_rd_other_conf() argument
586 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | in dw_pcie_rd_other_conf()
587 PCIE_ATU_FUNC(PCI_FUNC(devfn)); in dw_pcie_rd_other_conf()
606 u32 devfn, int where, int size, u32 val) in dw_pcie_wr_other_conf() argument
611 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | in dw_pcie_wr_other_conf()
612 PCIE_ATU_FUNC(PCI_FUNC(devfn)); in dw_pcie_wr_other_conf()
653 static int dw_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, in dw_pcie_rd_conf() argument
659 if (dw_pcie_valid_config(pp, bus, PCI_SLOT(devfn)) == 0) { in dw_pcie_rd_conf()
666 ret = pp->ops->rd_other_conf(pp, bus, devfn, in dw_pcie_rd_conf()
669 ret = dw_pcie_rd_other_conf(pp, bus, devfn, in dw_pcie_rd_conf()
677 static int dw_pcie_wr_conf(struct pci_bus *bus, u32 devfn, in dw_pcie_wr_conf() argument
683 if (dw_pcie_valid_config(pp, bus, PCI_SLOT(devfn)) == 0) in dw_pcie_wr_conf()
688 ret = pp->ops->wr_other_conf(pp, bus, devfn, in dw_pcie_wr_conf()
691 ret = dw_pcie_wr_other_conf(pp, bus, devfn, in dw_pcie_wr_conf()