Lines Matching refs:userbuf

567 	uint64_t userbuf[MAX_RDR_WORDS];  in perf_stop_counters()  local
577 if (!perf_rdr_read_ubuf(16, userbuf)) in perf_stop_counters()
581 tmp64 = (userbuf[21] << 22) & 0x00000000ffc00000; in perf_stop_counters()
582 tmp64 |= (userbuf[22] >> 42) & 0x00000000003fffff; in perf_stop_counters()
584 tmp64 |= (userbuf[22] >> 10) & 0x0000000080000000; in perf_stop_counters()
588 tmp64 = (userbuf[22] >> 9) & 0x00000000ffffffff; in perf_stop_counters()
590 tmp64 |= (userbuf[22] << 23) & 0x0000000080000000; in perf_stop_counters()
594 tmp64 = (userbuf[22] << 24) & 0x00000000ff000000; in perf_stop_counters()
595 tmp64 |= (userbuf[23] >> 40) & 0x0000000000ffffff; in perf_stop_counters()
597 tmp64 |= (userbuf[23] >> 8) & 0x0000000080000000; in perf_stop_counters()
601 tmp64 = (userbuf[23] >> 7) & 0x00000000ffffffff; in perf_stop_counters()
603 tmp64 |= (userbuf[23] << 25) & 0x0000000080000000; in perf_stop_counters()
617 userbuf[21] &= 0xfffffffffffffc00ul; /* 0 to last 10 bits */ in perf_stop_counters()
618 userbuf[22] = 0; in perf_stop_counters()
619 userbuf[23] = 0; in perf_stop_counters()
625 perf_rdr_write(16, userbuf); in perf_stop_counters()
631 if (!perf_rdr_read_ubuf(15, userbuf)) { in perf_stop_counters()
643 raddr[0] = (uint32_t)((userbuf[0] >> 32) & 0x00000000ffffffffUL); in perf_stop_counters()
644 raddr[1] = (uint32_t)(userbuf[0] & 0x00000000ffffffffUL); in perf_stop_counters()
645 raddr[2] = (uint32_t)((userbuf[1] >> 32) & 0x00000000ffffffffUL); in perf_stop_counters()
646 raddr[3] = (uint32_t)(userbuf[1] & 0x00000000ffffffffUL); in perf_stop_counters()