Lines Matching full:regions
32 struct tad_region *regions; member
53 new += readq(tad_pmu->regions[i].base + in tad_pmu_event_counter_read()
71 writeq_relaxed(0, tad_pmu->regions[i].base + in tad_pmu_event_counter_stop()
92 writeq_relaxed(0, tad_pmu->regions[i].base + in tad_pmu_event_counter_start()
100 writeq_relaxed(reg_val, tad_pmu->regions[i].base + in tad_pmu_event_counter_start()
258 struct tad_region *regions; in tad_pmu_probe() local
299 regions = devm_kcalloc(&pdev->dev, tad_cnt, in tad_pmu_probe()
300 sizeof(*regions), GFP_KERNEL); in tad_pmu_probe()
301 if (!regions) in tad_pmu_probe()
304 /* ioremap the distributed TAD pmu regions */ in tad_pmu_probe()
306 regions[i].base = devm_ioremap(&pdev->dev, in tad_pmu_probe()
309 if (!regions[i].base) { in tad_pmu_probe()
316 tad_pmu->regions = regions; in tad_pmu_probe()