Lines Matching defs:ucfc
324 struct uncore_cpu *ucfc;
333 ucfc = uncore_pcpu[cpu];
334 pm = ucfc->pc_uncorepmcs[ri + uncore_ucf_ri].phw_pmc;
336 ucfc->pc_ucfctrl |= pm->pm_md.pm_ucf.pm_ucf_ctrl;
338 wrmsr(UCF_CTRL, ucfc->pc_ucfctrl);
341 ucfc->pc_resync = 0;
342 ucfc->pc_globalctrl |= (1ULL << (ri + SELECTOFF(uncore_cputype)));
343 wrmsr(UC_GLOBAL_CTRL, ucfc->pc_globalctrl);
344 } while (ucfc->pc_resync != 0);
347 ucfc->pc_ucfctrl, (uint32_t) rdmsr(UCF_CTRL),
348 ucfc->pc_globalctrl, rdmsr(UC_GLOBAL_CTRL));
357 struct uncore_cpu *ucfc;
361 ucfc = uncore_pcpu[cpu];
370 ucfc->pc_ucfctrl &= ~fc;
372 PMCDBG1(MDP,STO,1,"ucf-stop ucfctrl=%x", ucfc->pc_ucfctrl);
373 wrmsr(UCF_CTRL, ucfc->pc_ucfctrl);
376 ucfc->pc_resync = 0;
377 ucfc->pc_globalctrl &= ~(1ULL << (ri + SELECTOFF(uncore_cputype)));
378 wrmsr(UC_GLOBAL_CTRL, ucfc->pc_globalctrl);
379 } while (ucfc->pc_resync != 0);
382 ucfc->pc_ucfctrl, (uint32_t) rdmsr(UCF_CTRL),
383 ucfc->pc_globalctrl, rdmsr(UC_GLOBAL_CTRL));