Searched refs:core_iap_width (Results 1 – 1 of 1) sorted by relevance
101 static int core_iap_width; variable565 if ((v & (1ULL << (core_iap_width - 1))) == 0) in iap_perfctr_value_to_reload_count()567 v &= (1ULL << core_iap_width) - 1; in iap_perfctr_value_to_reload_count()568 return (1ULL << core_iap_width) - v; in iap_perfctr_value_to_reload_count()574 return (1ULL << core_iap_width) - rlc; in iap_reload_count_to_perfctr_value()587 return ((v & (1ULL << (core_iap_width - 1))) == 0); in iap_pmc_has_overflowed()851 *v = tmp & ((1ULL << core_iap_width) - 1); in iap_read_pmc()951 v &= (1ULL << core_iap_width) - 1; in iap_write_pmc()1220 core_iap_width = (cpuid[CORE_CPUID_EAX] >> 16) & 0xFF; in pmc_core_initialize()1227 iap_initialize(md, maxcpu, core_iap_npmc, core_iap_width, flags); in pmc_core_initialize()