Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libcpc/i386/
H A Devent_pentium.c556 struct xcesr { struct
563 unmake_cesr(uint32_t cesr, int cpuver, struct xcesr *xcesr) in unmake_cesr() argument
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()
569 xcesr->usr[0] = (cesr >> CPC_P5_CESR_USR0) & 1u; in unmake_cesr()
570 xcesr->usr[1] = (cesr >> CPC_P5_CESR_USR1) & 1u; in unmake_cesr()
571 xcesr->sys[0] = (cesr >> CPC_P5_CESR_OS0) & 1u; in unmake_cesr()
572 xcesr->sys[1] = (cesr >> CPC_P5_CESR_OS1) & 1u; in unmake_cesr()
573 xcesr->clk[0] = (cesr >> CPC_P5_CESR_CLK0) & 1u; in unmake_cesr()
574 xcesr->clk[1] = (cesr >> CPC_P5_CESR_CLK1) & 1u; in unmake_cesr()
[all …]