Home
last modified time | relevance | path

Searched refs:counter_regs (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/xen/
H A Dpmu.c257 uint64_t *counter_regs, *ctrl_regs; in xen_amd_pmu_emulate() local
275 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() local
353 counter_regs = field_offset(ctxt, counters); in xen_amd_read_pmc()
354 return counter_regs[counter]; in xen_amd_read_pmc()
/kernel/linux/linux-6.6/arch/x86/xen/
H A Dpmu.c266 uint64_t *counter_regs, *ctrl_regs; in xen_amd_pmu_emulate() local
284 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() local
366 counter_regs = field_offset(ctxt, counters); in xen_amd_read_pmc()
367 return counter_regs[counter]; in xen_amd_read_pmc()
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/
H A Dmtk_star_emac.c539 static const unsigned int counter_regs[] = { in mtk_star_reset_counters() local
572 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/
H A 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()

Completed in 7 milliseconds