Home
last modified time | relevance | path

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

/openbmc/linux/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()
/openbmc/linux/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()