Home
last modified time | relevance | path

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

/netbsd/src/sys/dev/tprof/
Dtprof_x86_amd.c174 tprof_amd_stop(tprof_countermask_t stopmask) in tprof_amd_stop() argument
178 while ((bit = ffs(stopmask)) != 0) { in tprof_amd_stop()
180 CLR(stopmask, __BIT(bit)); in tprof_amd_stop()
Dtprof_x86_intel.c165 tprof_intel_stop(tprof_countermask_t stopmask) in tprof_intel_stop() argument
169 while ((bit = ffs(stopmask)) != 0) { in tprof_intel_stop()
171 CLR(stopmask, __BIT(bit)); in tprof_intel_stop()
Dtprof.c325 tprof_countermask_t stopmask = (uintptr_t)arg2; in tprof_stop_cpu() local
327 tb->tb_ops->tbo_stop(stopmask); in tprof_stop_cpu()
416 tprof_stop(tprof_countermask_t stopmask) in tprof_stop() argument
426 stopmask &= tb->tb_softc.sc_ctr_running_mask; in tprof_stop()
427 if (stopmask == 0) { in tprof_stop()
432 xc = xc_broadcast(0, tprof_stop_cpu, tb, (void *)(uintptr_t)stopmask); in tprof_stop()
435 tb->tb_softc.sc_ctr_running_mask &= ~stopmask; in tprof_stop()
Dtprof_armv7.c211 armv7_pmu_stop(tprof_countermask_t stopmask) in armv7_pmu_stop() argument
214 armreg_pmcntenclr_write(stopmask & PMCNTEN_P); in armv7_pmu_stop()
Dtprof_armv8.c183 armv8_pmu_stop(tprof_countermask_t stopmask) in armv8_pmu_stop() argument
186 reg_pmcntenclr_el0_write(stopmask & PMCNTEN_P); in armv8_pmu_stop()