Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/hwpmc/
H A Dhwpmc_core.c98 static int core_iaf_width; variable
210 if ((v & (1ULL << (core_iaf_width - 1))) == 0) in iaf_perfctr_value_to_reload_count()
212 v &= (1ULL << core_iaf_width) - 1; in iaf_perfctr_value_to_reload_count()
213 return (1ULL << core_iaf_width) - v; in iaf_perfctr_value_to_reload_count()
219 return (1ULL << core_iaf_width) - rlc; in iaf_reload_count_to_perfctr_value()
386 *v = tmp & ((1ULL << core_iaf_width) - 1); in iaf_read_pmc()
487 wrmsr(IAF_CTR0 + ri, v & ((1ULL << core_iaf_width) - 1)); in iaf_write_pmc()
1235 core_iaf_width = (cpuid[CORE_CPUID_EDX] >> 5) & 0xFF; in pmc_core_initialize()
1237 iaf_initialize(md, maxcpu, core_iaf_npmc, core_iaf_width); in pmc_core_initialize()