Searched refs:ctl_shadow (Results 1 – 1 of 1) sorted by relevance
52 static unsigned int ctl_shadow[NPMC]; variable139 ctl_shadow[pmc] = control; in perfmon_setup()153 *control = ctl_shadow[pmc]; in perfmon_get()167 ctl_shadow[pmc] = 0; in perfmon_fini()184 ctl_shadow[pmc] |= (PMCF_EN << 16); in perfmon_start()204 ctl_shadow[pmc] &= ~(PMCF_EN << 16); in perfmon_stop()256 wrmsr(msr_ctl[pmc], ctl_shadow[pmc]); in writectl6()271 if (ctl_shadow[1] & (PMCF_EN << 16)) { in writectl5()274 if (ctl_shadow[1] & (PMCF_OS << 16)) in writectl5()283 if (ctl_shadow[0] & (PMCF_OS << 16)) in writectl5()[all …]