Lines Matching refs:cntr
203 int cntr = hwc->idx; in perfmon_pmu_read_counter() local
207 return ioread64(CNTRDATA_REG(idxd, cntr)); in perfmon_pmu_read_counter()
297 int cntr; in perfmon_pmu_event_start() local
302 cntr = hwc->idx; in perfmon_pmu_event_start()
318 iowrite32(flt_wq, FLTCFG_REG(idxd, cntr, FLT_WQ)); in perfmon_pmu_event_start()
320 iowrite32(flt_tc, FLTCFG_REG(idxd, cntr, FLT_TC)); in perfmon_pmu_event_start()
322 iowrite32(flt_pg_sz, FLTCFG_REG(idxd, cntr, FLT_PG_SZ)); in perfmon_pmu_event_start()
324 iowrite32(flt_xfer_sz, FLTCFG_REG(idxd, cntr, FLT_XFER_SZ)); in perfmon_pmu_event_start()
326 iowrite32(flt_eng, FLTCFG_REG(idxd, cntr, FLT_ENG)); in perfmon_pmu_event_start()
329 cntrdata = ioread64(CNTRDATA_REG(idxd, cntr)); in perfmon_pmu_event_start()
338 iowrite64(cntr_cfg, CNTRCFG_REG(idxd, cntr)); in perfmon_pmu_event_start()
345 int i, cntr = hwc->idx; in perfmon_pmu_event_stop() local
361 cntr_cfg = ioread64(CNTRCFG_REG(idxd, cntr)); in perfmon_pmu_event_stop()
363 iowrite64(cntr_cfg, CNTRCFG_REG(idxd, cntr)); in perfmon_pmu_event_stop()
369 clear_bit(cntr, idxd->idxd_pmu->used_mask); in perfmon_pmu_event_stop()