Searched refs:pct_bcr (Results 1 – 1 of 1) sorted by relevance
725 struct arc_reg_pct_build pct_bcr; in arc_pmu_device_probe() local739 READ_BCR(ARC_REG_PCT_BUILD, pct_bcr); in arc_pmu_device_probe()740 if (!pct_bcr.v) { in arc_pmu_device_probe()745 if (WARN_ON(pct_bcr.c > ARC_PERF_MAX_COUNTERS)) in arc_pmu_device_probe()761 has_interrupts = is_isa_arcv2() ? pct_bcr.i : 0; in arc_pmu_device_probe()763 arc_pmu->n_counters = pct_bcr.c; in arc_pmu_device_probe()764 counter_size = 32 + (pct_bcr.s << 4); in arc_pmu_device_probe()