Searched refs:counter_regs (Results 1 – 2 of 2) sorted by relevance
257 uint64_t *counter_regs, *ctrl_regs; in xen_amd_pmu_emulate() local275 counter_regs = field_offset(ctxt, counters); in xen_amd_pmu_emulate()276 reg = &counter_regs[i]; in xen_amd_pmu_emulate()340 uint64_t *counter_regs; in xen_amd_read_pmc() local353 counter_regs = field_offset(ctxt, counters); in xen_amd_read_pmc()354 return counter_regs[counter]; in xen_amd_read_pmc()
539 static const unsigned int counter_regs[] = { in mtk_star_reset_counters() local572 for (i = 0; i < ARRAY_SIZE(counter_regs); i++) in mtk_star_reset_counters()573 regmap_read(priv->regs, counter_regs[i], &val); in mtk_star_reset_counters()