Home
last modified time | relevance | path

Searched refs:evsel (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/intel/pcbe/
H A Dopteron_pcbe.c626 uint64_t evsel = 0, evsel_tmp = 0; in opt_pcbe_configure() local
649 evsel |= gevp->umask << OPT_PES_UMASK_SHIFT; in opt_pcbe_configure()
672 evsel &= ~OPT_PES_HOST; in opt_pcbe_configure()
673 evsel &= ~OPT_PES_GUEST; in opt_pcbe_configure()
677 evsel |= evsel_tmp << 24; in opt_pcbe_configure()
679 evsel |= evp->emask & 0x00ff; in opt_pcbe_configure()
682 evsel |= OPT_PES_USR; in opt_pcbe_configure()
684 evsel |= OPT_PES_OS; in opt_pcbe_configure()
686 evsel |= OPT_PES_INT; in opt_pcbe_configure()
691 evsel |= OPT_PES_EDGE; in opt_pcbe_configure()
[all …]
/titanic_41/usr/src/lib/libcpc/i386/
H A Devent_pentium.c537 uint8_t cmask, umask, evsel; member
553 xpes->evsel = (uint8_t)pes; in unmake_pes()
557 uint8_t evsel[2]; member
565 xcesr->evsel[0] = (cesr >> CPC_P5_CESR_ES0_SHIFT) & in unmake_cesr()
567 xcesr->evsel[1] = (cesr >> CPC_P5_CESR_ES1_SHIFT) & in unmake_cesr()
600 if ((pic[0] = regtostr(cpuver, 0, xpes[0].evsel)) == NULL) in cpc_eventtostr()
604 if ((pic[1] = regtostr(cpuver, 1, xpes[1].evsel)) == NULL) { in cpc_eventtostr()
636 if ((pic[0] = regtostr(cpuver, 0, xcesr.evsel[0])) == NULL) in cpc_eventtostr()
638 if ((pic[1] = regtostr(cpuver, 1, xcesr.evsel[1])) == NULL) { in cpc_eventtostr()
721 xpes[i].evsel)) == NULL) { in __cpc_eventtoset()
[all …]
/titanic_41/usr/src/uts/sun4v/pcbe/
H A Dniagara2_pcbe.c489 uint32_t evsel; in ni2_pcbe_configure() local
520 evsel = evp->emask; in ni2_pcbe_configure()
530 evsel |= attrs[i].ka_val; in ni2_pcbe_configure()
553 if ((evsel & SL_MASK) == SL3_MASK) { in ni2_pcbe_configure()
600 cfg->pcbe_evsel = evsel; in ni2_pcbe_configure()