Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/hwpmc/
H A Dhwpmc_core.c103 static int core_iap_width; variable
600 if ((v & (1ULL << (core_iap_width - 1))) == 0) in iap_perfctr_value_to_reload_count()
602 v &= (1ULL << core_iap_width) - 1; in iap_perfctr_value_to_reload_count()
603 return (1ULL << core_iap_width) - v; in iap_perfctr_value_to_reload_count()
609 return (1ULL << core_iap_width) - rlc; in iap_reload_count_to_perfctr_value()
622 return ((v & (1ULL << (core_iap_width - 1))) == 0); in iap_pmc_has_overflowed()
888 *v = tmp & ((1ULL << core_iap_width) - 1); in iap_read_pmc()
1027 v &= (1ULL << core_iap_width) - 1; in iap_write_pmc()
1306 core_iap_width = (cpuid[CORE_CPUID_EAX] >> 16) & 0xFF; in pmc_core_initialize()
1313 iap_initialize(md, maxcpu, core_iap_npmc, core_iap_width, flags); in pmc_core_initialize()