Home
last modified time | relevance | path

Searched refs:counter_regs (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/x86/xen/
Dpmu.c265 uint64_t *counter_regs, *ctrl_regs; in xen_amd_pmu_emulate() local
283 counter_regs = field_offset(ctxt, counters); in xen_amd_pmu_emulate()
284 reg = &counter_regs[i]; in xen_amd_pmu_emulate()
352 uint64_t *counter_regs; in xen_amd_read_pmc() local
365 counter_regs = field_offset(ctxt, counters); in xen_amd_read_pmc()
366 return counter_regs[counter]; in xen_amd_read_pmc()
/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_star_emac.c580 static const unsigned int counter_regs[] = { in mtk_star_reset_counters() local
613 for (i = 0; i < ARRAY_SIZE(counter_regs); i++) in mtk_star_reset_counters()
614 regmap_read(priv->regs, counter_regs[i], &val); in mtk_star_reset_counters()