Searched refs:pes (Results 1 – 2 of 2) sorted by relevance
694 uint64_t pes[2]; in ptm_pcbe_overflow_bitmap() local708 pes[0] = rdmsr(REG_PERFEVNT0); in ptm_pcbe_overflow_bitmap()709 if (((uint32_t)pes[0] & P6_PES_EN) != P6_PES_EN) in ptm_pcbe_overflow_bitmap()718 pes[1] = rdmsr(REG_PERFEVNT1); in ptm_pcbe_overflow_bitmap()719 if ((uint32_t)pes[0] & P6_PES_INT) in ptm_pcbe_overflow_bitmap()721 if ((uint32_t)pes[1] & P6_PES_INT) in ptm_pcbe_overflow_bitmap()936 uint64_t pes; in ptm_pcbe_program() local940 pes = pic1->ptm_ctl; in ptm_pcbe_program()941 DTRACE_PROBE1(ptm__pes1, uint64_t, pes); in ptm_pcbe_program()942 wrmsr(REG_PERFEVNT1, pes); in ptm_pcbe_program()[all …]
543 unmake_pes(uint32_t pes, int cpuver, struct xpes *xpes) in unmake_pes() argument545 xpes->cmask = (uint8_t)(pes >> CPC_P6_PES_CMASK_SHIFT); in unmake_pes()546 xpes->pc = (pes >> CPC_P6_PES_PC) & 1u; in unmake_pes()547 xpes->inv = (pes >> CPC_P6_PES_INV) & 1u; in unmake_pes()548 xpes->irupt = (pes >> CPC_P6_PES_INT) & 1u; in unmake_pes()549 xpes->edge = (pes >> CPC_P6_PES_E) & 1u; in unmake_pes()550 xpes->sys = (pes >> CPC_P6_PES_OS) & 1u; in unmake_pes()551 xpes->usr = (pes >> CPC_P6_PES_USR) & 1u; in unmake_pes()552 xpes->umask = (uint8_t)(pes >> CPC_P6_PES_UMASK_SHIFT); in unmake_pes()553 xpes->evsel = (uint8_t)pes; in unmake_pes()