Home
last modified time | relevance | path

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

/freebsd/sys/dev/hwpmc/
H A Dhwpmc_core.c97 static int core_iaf_width; variable
209 if ((v & (1ULL << (core_iaf_width - 1))) == 0) in iaf_perfctr_value_to_reload_count()
211 v &= (1ULL << core_iaf_width) - 1; in iaf_perfctr_value_to_reload_count()
212 return (1ULL << core_iaf_width) - v; in iaf_perfctr_value_to_reload_count()
218 return (1ULL << core_iaf_width) - rlc; in iaf_reload_count_to_perfctr_value()
385 *v = tmp & ((1ULL << core_iaf_width) - 1); in iaf_read_pmc()
486 wrmsr(IAF_CTR0 + ri, v & ((1ULL << core_iaf_width) - 1)); in iaf_write_pmc()
1234 core_iaf_width = (cpuid[CORE_CPUID_EDX] >> 5) & 0xFF; in pmc_core_initialize()
1236 iaf_initialize(md, maxcpu, core_iaf_npmc, core_iaf_width); in pmc_core_initialize()