Lines Matching refs:userbuf

566 	uint64_t userbuf[MAX_RDR_WORDS];  in perf_stop_counters()  local
576 if (!perf_rdr_read_ubuf(16, userbuf)) in perf_stop_counters()
580 tmp64 = (userbuf[21] << 22) & 0x00000000ffc00000; in perf_stop_counters()
581 tmp64 |= (userbuf[22] >> 42) & 0x00000000003fffff; in perf_stop_counters()
583 tmp64 |= (userbuf[22] >> 10) & 0x0000000080000000; in perf_stop_counters()
587 tmp64 = (userbuf[22] >> 9) & 0x00000000ffffffff; in perf_stop_counters()
589 tmp64 |= (userbuf[22] << 23) & 0x0000000080000000; in perf_stop_counters()
593 tmp64 = (userbuf[22] << 24) & 0x00000000ff000000; in perf_stop_counters()
594 tmp64 |= (userbuf[23] >> 40) & 0x0000000000ffffff; in perf_stop_counters()
596 tmp64 |= (userbuf[23] >> 8) & 0x0000000080000000; in perf_stop_counters()
600 tmp64 = (userbuf[23] >> 7) & 0x00000000ffffffff; in perf_stop_counters()
602 tmp64 |= (userbuf[23] << 25) & 0x0000000080000000; in perf_stop_counters()
616 userbuf[21] &= 0xfffffffffffffc00ul; /* 0 to last 10 bits */ in perf_stop_counters()
617 userbuf[22] = 0; in perf_stop_counters()
618 userbuf[23] = 0; in perf_stop_counters()
624 perf_rdr_write(16, userbuf); in perf_stop_counters()
630 if (!perf_rdr_read_ubuf(15, userbuf)) { in perf_stop_counters()
642 raddr[0] = (uint32_t)((userbuf[0] >> 32) & 0x00000000ffffffffUL); in perf_stop_counters()
643 raddr[1] = (uint32_t)(userbuf[0] & 0x00000000ffffffffUL); in perf_stop_counters()
644 raddr[2] = (uint32_t)((userbuf[1] >> 32) & 0x00000000ffffffffUL); in perf_stop_counters()
645 raddr[3] = (uint32_t)(userbuf[1] & 0x00000000ffffffffUL); in perf_stop_counters()