Home
last modified time | relevance | path

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

/freebsd/sys/dev/hwpmc/
H A Dhwpmc_core.c100 static int core_iap_width; variable
564 if ((v & (1ULL << (core_iap_width - 1))) == 0) in iap_perfctr_value_to_reload_count()
566 v &= (1ULL << core_iap_width) - 1; in iap_perfctr_value_to_reload_count()
567 return (1ULL << core_iap_width) - v; in iap_perfctr_value_to_reload_count()
573 return (1ULL << core_iap_width) - rlc; in iap_reload_count_to_perfctr_value()
586 return ((v & (1ULL << (core_iap_width - 1))) == 0); in iap_pmc_has_overflowed()
850 *v = tmp & ((1ULL << core_iap_width) - 1); in iap_read_pmc()
950 v &= (1ULL << core_iap_width) - 1; in iap_write_pmc()
1219 core_iap_width = (cpuid[CORE_CPUID_EAX] >> 16) & 0xFF; in pmc_core_initialize()
1226 iap_initialize(md, maxcpu, core_iap_npmc, core_iap_width, flags); in pmc_core_initialize()