Home
last modified time | relevance | path

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

/NextBSD/sys/dev/hwpmc/
HDhwpmc_core.h124 #define IAP_EVSEL0 0x186 macro
HDhwpmc_core.c181 msr = rdmsr(IAP_EVSEL0 + n) & ~IAP_EVSEL_MASK; in core_pcpu_fini()
182 wrmsr(IAP_EVSEL0 + n, msr); in core_pcpu_fini()
2524 cpu, ri, IAP_EVSEL0 + ri, evsel); in iap_start_pmc()
2538 wrmsr(IAP_EVSEL0 + ri, evsel | IAP_EN); in iap_start_pmc()
2573 msr = rdmsr(IAP_EVSEL0 + ri) & ~IAP_EVSEL_MASK; in iap_stop_pmc()
2574 wrmsr(IAP_EVSEL0 + ri, msr); /* stop hw */ in iap_stop_pmc()
2701 msr = rdmsr(IAP_EVSEL0 + ri) & ~IAP_EVSEL_MASK; in core_intr()
2702 wrmsr(IAP_EVSEL0 + ri, msr); in core_intr()
2708 wrmsr(IAP_EVSEL0 + ri, msr | (pm->pm_md.pm_iap.pm_iap_evsel | in core_intr()