Lines Matching defs:base
70 void __iomem *base;
158 u32 val = readl_relaxed(pcie_pmu->base + reg_off);
195 return readl_relaxed(pcie_pmu->base + offset);
202 writel_relaxed(val, pcie_pmu->base + offset);
209 return readq_relaxed(pcie_pmu->base + offset);
216 writeq_relaxed(val, pcie_pmu->base + offset);
597 writel(HISI_PCIE_GLOBAL_EN, pcie_pmu->base + HISI_PCIE_GLOBAL_CTRL);
604 writel(HISI_PCIE_GLOBAL_NONE, pcie_pmu->base + HISI_PCIE_GLOBAL_CTRL);
802 pcie_pmu->identifier = readl(pcie_pmu->base + HISI_PCIE_REG_VERSION);
826 pcie_pmu->base = pci_ioremap_bar(pdev, 2);
827 if (!pcie_pmu->base) {
862 iounmap(pcie_pmu->base);
875 iounmap(pcie_pmu->base);