Home
last modified time | relevance | path

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

/drivers/perf/
Driscv_pmu.c166 u64 prev_raw_count, new_raw_count; in riscv_pmu_event_update() local
177 new_raw_count = rvpmu->ctr_read(event); in riscv_pmu_event_update()
179 new_raw_count); in riscv_pmu_event_update()
182 delta = (new_raw_count - prev_raw_count) & cmask; in riscv_pmu_event_update()
Darm_pmu.c246 u64 delta, prev_raw_count, new_raw_count; in armpmu_event_update() local
251 new_raw_count = armpmu->read_counter(event); in armpmu_event_update()
254 new_raw_count) != prev_raw_count) in armpmu_event_update()
257 delta = (new_raw_count - prev_raw_count) & max_period; in armpmu_event_update()
262 return new_raw_count; in armpmu_event_update()
Dfsl_imx8_ddr_perf.c479 u64 new_raw_count; in ddr_perf_event_update() local
483 new_raw_count = ddr_perf_read_counter(pmu, counter); in ddr_perf_event_update()
487 new_raw_count &= CYCLES_COUNTER_MASK; in ddr_perf_event_update()
490 local64_add(new_raw_count, &event->count); in ddr_perf_event_update()
Dfsl_imx9_ddr_perf.c404 u64 new_raw_count; in ddr_perf_event_update() local
406 new_raw_count = ddr_perf_read_counter(pmu, counter); in ddr_perf_event_update()
407 local64_add(new_raw_count, &event->count); in ddr_perf_event_update()
Darm-cci.c983 u64 delta, prev_raw_count, new_raw_count; in pmu_event_update() local
987 new_raw_count = pmu_read_counter(event); in pmu_event_update()
989 new_raw_count) != prev_raw_count); in pmu_event_update()
991 delta = (new_raw_count - prev_raw_count) & CCI_PMU_CNTR_MASK; in pmu_event_update()
995 return new_raw_count; in pmu_event_update()
Dxgene_pmu.c992 u64 delta, prev_raw_count, new_raw_count; in xgene_perf_event_update() local
996 new_raw_count = xgene_pmu->ops->read_counter(pmu_dev, GET_CNTR(event)); in xgene_perf_event_update()
999 new_raw_count) != prev_raw_count) in xgene_perf_event_update()
1002 delta = (new_raw_count - prev_raw_count) & pmu_dev->max_period; in xgene_perf_event_update()
/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c296 u64 delta, prev_raw_count, new_raw_count; in hisi_uncore_pmu_event_update() local
300 new_raw_count = hisi_pmu->ops->read_counter(hisi_pmu, hwc); in hisi_uncore_pmu_event_update()
303 new_raw_count) != prev_raw_count); in hisi_uncore_pmu_event_update()
307 delta = (new_raw_count - prev_raw_count) & in hisi_uncore_pmu_event_update()
/drivers/perf/amlogic/
Dmeson_ddr_pmu_core.c88 u64 new_raw_count = 0; in meson_ddr_perf_event_update() local
100 new_raw_count = sum_dc.all_cnt; in meson_ddr_perf_event_update()
111 new_raw_count = sum_dc.channel_cnt[idx]; in meson_ddr_perf_event_update()
115 local64_set(&event->count, new_raw_count); in meson_ddr_perf_event_update()
/drivers/dma/idxd/
Dperfmon.c244 u64 prev_raw_count, new_raw_count, delta, p, n; in perfmon_pmu_event_update() local
250 new_raw_count = perfmon_pmu_read_counter(event); in perfmon_pmu_event_update()
252 &prev_raw_count, new_raw_count)); in perfmon_pmu_event_update()
253 n = (new_raw_count << shift); in perfmon_pmu_event_update()