Lines Matching refs:base
97 void __iomem *base;
127 void __iomem *base = info->base;
132 val = readq(base + CXL_PMU_CAP_REG);
156 val = readq(base + CXL_PMU_COUNTER_CFG_REG(i));
170 eval = readq(base + CXL_PMU_EVENT_CAP_REG(group_idx));
199 eval = readq(base + CXL_PMU_EVENT_CAP_REG(j));
599 void __iomem *base = info->base;
602 writeq(0, base + CXL_PMU_FREEZE_REG);
608 void __iomem *base = info->base;
617 writeq(GENMASK_ULL(63, 0), base + CXL_PMU_FREEZE_REG);
624 void __iomem *base = info->base;
646 writeq(cfg, base + CXL_PMU_FILTER_CFG_REG(hwc->idx, 0));
649 cfg = readq(base + CXL_PMU_COUNTER_CFG_REG(hwc->idx));
676 writeq(cfg, base + CXL_PMU_COUNTER_CFG_REG(hwc->idx));
679 writeq(0, base + CXL_PMU_COUNTER_REG(hwc->idx));
687 void __iomem *base = info->base;
689 return readq(base + CXL_PMU_COUNTER_REG(event->hw.idx));
722 void __iomem *base = info->base;
730 cfg = readq(base + CXL_PMU_COUNTER_CFG_REG(hwc->idx));
733 writeq(cfg, base + CXL_PMU_COUNTER_CFG_REG(hwc->idx));
778 void __iomem *base = info->base;
783 overflowed = readq(base + CXL_PMU_OVERFLOW_REG);
802 writeq(overflowed, base + CXL_PMU_OVERFLOW_REG);
838 info->base = pmu->base;