Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/dma/idxd/
Dperfmon.c292 u64 cntr_cfg, cntrdata, event_enc, event_cat = 0; in perfmon_pmu_event_start() local
333 cntr_cfg = event_cat << CNTRCFG_CATEGORY_SHIFT; in perfmon_pmu_event_start()
334 cntr_cfg |= event_enc << CNTRCFG_EVENT_SHIFT; in perfmon_pmu_event_start()
336 cntr_cfg |= (CNTRCFG_IRQ_OVERFLOW | CNTRCFG_ENABLE); in perfmon_pmu_event_start()
338 iowrite64(cntr_cfg, CNTRCFG_REG(idxd, cntr)); in perfmon_pmu_event_start()
346 u64 cntr_cfg; in perfmon_pmu_event_stop() local
361 cntr_cfg = ioread64(CNTRCFG_REG(idxd, cntr)); in perfmon_pmu_event_stop()
362 cntr_cfg &= ~CNTRCFG_ENABLE; in perfmon_pmu_event_stop()
363 iowrite64(cntr_cfg, CNTRCFG_REG(idxd, cntr)); in perfmon_pmu_event_stop()