Lines Matching refs:userbuf

564 	uint64_t userbuf[MAX_RDR_WORDS];  in perf_stop_counters()  local
574 if (!perf_rdr_read_ubuf(16, userbuf)) in perf_stop_counters()
578 tmp64 = (userbuf[21] << 22) & 0x00000000ffc00000; in perf_stop_counters()
579 tmp64 |= (userbuf[22] >> 42) & 0x00000000003fffff; in perf_stop_counters()
581 tmp64 |= (userbuf[22] >> 10) & 0x0000000080000000; in perf_stop_counters()
585 tmp64 = (userbuf[22] >> 9) & 0x00000000ffffffff; in perf_stop_counters()
587 tmp64 |= (userbuf[22] << 23) & 0x0000000080000000; in perf_stop_counters()
591 tmp64 = (userbuf[22] << 24) & 0x00000000ff000000; in perf_stop_counters()
592 tmp64 |= (userbuf[23] >> 40) & 0x0000000000ffffff; in perf_stop_counters()
594 tmp64 |= (userbuf[23] >> 8) & 0x0000000080000000; in perf_stop_counters()
598 tmp64 = (userbuf[23] >> 7) & 0x00000000ffffffff; in perf_stop_counters()
600 tmp64 |= (userbuf[23] << 25) & 0x0000000080000000; in perf_stop_counters()
614 userbuf[21] &= 0xfffffffffffffc00ul; /* 0 to last 10 bits */ in perf_stop_counters()
615 userbuf[22] = 0; in perf_stop_counters()
616 userbuf[23] = 0; in perf_stop_counters()
622 perf_rdr_write(16, userbuf); in perf_stop_counters()
628 if (!perf_rdr_read_ubuf(15, userbuf)) { in perf_stop_counters()
640 raddr[0] = (uint32_t)((userbuf[0] >> 32) & 0x00000000ffffffffUL); in perf_stop_counters()
641 raddr[1] = (uint32_t)(userbuf[0] & 0x00000000ffffffffUL); in perf_stop_counters()
642 raddr[2] = (uint32_t)((userbuf[1] >> 32) & 0x00000000ffffffffUL); in perf_stop_counters()
643 raddr[3] = (uint32_t)(userbuf[1] & 0x00000000ffffffffUL); in perf_stop_counters()