Searched refs:counter_regs (Results 1 – 2 of 2) sorted by relevance
266 uint64_t *counter_regs, *ctrl_regs; in xen_amd_pmu_emulate() local284 counter_regs = field_offset(ctxt, counters); in xen_amd_pmu_emulate()285 reg = &counter_regs[i]; in xen_amd_pmu_emulate()353 uint64_t *counter_regs; in xen_amd_read_pmc() local366 counter_regs = field_offset(ctxt, counters); in xen_amd_read_pmc()367 return counter_regs[counter]; in xen_amd_read_pmc()
581 static const unsigned int counter_regs[] = { in mtk_star_reset_counters() local614 for (i = 0; i < ARRAY_SIZE(counter_regs); i++) in mtk_star_reset_counters()615 regmap_read(priv->regs, counter_regs[i], &val); in mtk_star_reset_counters()