Searched refs:pevent (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/sys/dev/hwpmc/
H A Dhwpmc_piv.c920 struct p4_event_descr *pevent; local
962 if ((pevent = p4_find_event(pm->pm_event)) == NULL)
965 PMCDBG(MDP,ALL,2, "pevent={ev=%d,escrsel=0x%x,cccrsel=0x%x,isti=%d}",
966 pevent->pm_event, pevent->pm_escr_eventselect,
967 pevent->pm_cccr_select, pevent->pm_is_ti_event);
975 if (P4_EVENT_IS_TI(pevent) &&
986 if ((escr = pevent->pm_escrs[n]) == P4_ESCR_NONE)
1054 cccrvalue = P4_CCCR_TO_ESCR_SELECT(pevent
[all...]
H A Dhwpmc_ppro.c499 const struct p6_event_descr *pevent; local
529 if ((pevent = p6_find_event(ev)) == NULL)
532 if (!P6_EVENT_VALID_FOR_CPU(pevent, p6_cputype) ||
533 !P6_EVENT_VALID_FOR_CTR(pevent, (ri-1)))
545 allowed_unitmask = P6_EVSEL_TO_UMASK(pevent->pm_unitmask);
556 config |= P6_EVSEL_EVENT_SELECT(pevent->pm_evsel);

Completed in 89 milliseconds