Lines Matching defs:global
227 uint64_t global = 0, mask = 0, fixed_ctrl = 0;
242 /* rmw the global control */
243 global = rdmsr64(MSR_IA32_PERF_GLOBAL_CTRL);
248 global |= mask;
250 global &= ~mask;
252 wrmsr64(MSR_IA32_PERF_GLOBAL_CTRL, global);
260 uint64_t global = 0, mask = 0;
268 /* rmw the global control */
269 global = rdmsr64(MSR_IA32_PERF_GLOBAL_CTRL);
281 global |= mask;
283 global &= ~mask;
285 wrmsr64(MSR_IA32_PERF_GLOBAL_CTRL, global);