Lines Matching refs:userbuf
550 uint64_t userbuf[MAX_RDR_WORDS]; in perf_stop_counters() local
560 if (!perf_rdr_read_ubuf(16, userbuf)) in perf_stop_counters()
564 tmp64 = (userbuf[21] << 22) & 0x00000000ffc00000; in perf_stop_counters()
565 tmp64 |= (userbuf[22] >> 42) & 0x00000000003fffff; in perf_stop_counters()
567 tmp64 |= (userbuf[22] >> 10) & 0x0000000080000000; in perf_stop_counters()
571 tmp64 = (userbuf[22] >> 9) & 0x00000000ffffffff; in perf_stop_counters()
573 tmp64 |= (userbuf[22] << 23) & 0x0000000080000000; in perf_stop_counters()
577 tmp64 = (userbuf[22] << 24) & 0x00000000ff000000; in perf_stop_counters()
578 tmp64 |= (userbuf[23] >> 40) & 0x0000000000ffffff; in perf_stop_counters()
580 tmp64 |= (userbuf[23] >> 8) & 0x0000000080000000; in perf_stop_counters()
584 tmp64 = (userbuf[23] >> 7) & 0x00000000ffffffff; in perf_stop_counters()
586 tmp64 |= (userbuf[23] << 25) & 0x0000000080000000; in perf_stop_counters()
600 userbuf[21] &= 0xfffffffffffffc00ul; /* 0 to last 10 bits */ in perf_stop_counters()
601 userbuf[22] = 0; in perf_stop_counters()
602 userbuf[23] = 0; in perf_stop_counters()
608 perf_rdr_write(16, userbuf); in perf_stop_counters()
614 if (!perf_rdr_read_ubuf(15, userbuf)) { in perf_stop_counters()
626 raddr[0] = (uint32_t)((userbuf[0] >> 32) & 0x00000000ffffffffUL); in perf_stop_counters()
627 raddr[1] = (uint32_t)(userbuf[0] & 0x00000000ffffffffUL); in perf_stop_counters()
628 raddr[2] = (uint32_t)((userbuf[1] >> 32) & 0x00000000ffffffffUL); in perf_stop_counters()
629 raddr[3] = (uint32_t)(userbuf[1] & 0x00000000ffffffffUL); in perf_stop_counters()