Lines Matching defs:config
458 PMCDBG(MDP,CFG,1, "p6-config cpu=%d ri=%d pm=%p", cpu, ri, pm);
497 uint32_t allowed_unitmask, caps, config, unitmask;
554 config = 0;
556 config |= P6_EVSEL_EVENT_SELECT(pevent->pm_evsel);
559 config |= unitmask;
562 config |= a->pm_md.pm_ppro.pm_ppro_config &
567 config |= P6_EVSEL_USR;
569 config |= P6_EVSEL_OS;
571 config |= (P6_EVSEL_USR|P6_EVSEL_OS);
574 config |= P6_EVSEL_E;
576 config |= P6_EVSEL_INV;
578 config |= P6_EVSEL_INT;
580 pm->pm_md.pm_ppro.pm_ppro_evsel = config;
582 PMCDBG(MDP,ALL,2, "p6-allocate config=0x%x", config);
608 uint32_t config;
628 config = pm->pm_md.pm_ppro.pm_ppro_evsel;
630 PMCDBG(MDP,STA,2, "p6-start/2 cpu=%d ri=%d evselmsr=0x%x config=0x%x",
631 cpu, ri, pd->pm_evsel_msr, config);
634 wrmsr(pd->pm_evsel_msr, config);