Searched refs:pc_globalctrl (Results 1 - 2 of 2) sorted by relevance
/freebsd-10.2-release/sys/dev/hwpmc/ |
H A D | hwpmc_uncore.c | 70 volatile uint64_t pc_globalctrl; /* Global control register. */ member in struct:uncore_cpu 342 ucfc->pc_globalctrl |= (1ULL << (ri + SELECTOFF(uncore_cputype))); 343 wrmsr(UC_GLOBAL_CTRL, ucfc->pc_globalctrl); 348 ucfc->pc_globalctrl, rdmsr(UC_GLOBAL_CTRL)); 377 ucfc->pc_globalctrl &= ~(1ULL << (ri + SELECTOFF(uncore_cputype))); 378 wrmsr(UC_GLOBAL_CTRL, ucfc->pc_globalctrl); 383 ucfc->pc_globalctrl, rdmsr(UC_GLOBAL_CTRL)); 1082 cc->pc_globalctrl |= (1ULL << ri); 1083 wrmsr(UC_GLOBAL_CTRL, cc->pc_globalctrl); 1114 cc->pc_globalctrl [all...] |
H A D | hwpmc_core.c | 91 volatile uint64_t pc_globalctrl; /* Global control register. */ member in struct:core_cpu 415 iafc->pc_globalctrl |= (1ULL << (ri + IAF_OFFSET)); 417 wrmsr(IA_GLOBAL_CTRL, msr | (iafc->pc_globalctrl & 423 iafc->pc_globalctrl, rdmsr(IA_GLOBAL_CTRL)); 458 iafc->pc_globalctrl &= ~(1ULL << (ri + IAF_OFFSET)); 460 wrmsr(IA_GLOBAL_CTRL, msr | (iafc->pc_globalctrl & 466 iafc->pc_globalctrl, rdmsr(IA_GLOBAL_CTRL)); 2425 cc->pc_globalctrl |= (1ULL << ri); 2426 wrmsr(IA_GLOBAL_CTRL, cc->pc_globalctrl); 2462 cc->pc_globalctrl [all...] |
Completed in 94 milliseconds