Lines Matching refs:userbuf

551 	uint64_t userbuf[MAX_RDR_WORDS];  in perf_stop_counters()  local
561 if (!perf_rdr_read_ubuf(16, userbuf)) in perf_stop_counters()
565 tmp64 = (userbuf[21] << 22) & 0x00000000ffc00000; in perf_stop_counters()
566 tmp64 |= (userbuf[22] >> 42) & 0x00000000003fffff; in perf_stop_counters()
568 tmp64 |= (userbuf[22] >> 10) & 0x0000000080000000; in perf_stop_counters()
572 tmp64 = (userbuf[22] >> 9) & 0x00000000ffffffff; in perf_stop_counters()
574 tmp64 |= (userbuf[22] << 23) & 0x0000000080000000; in perf_stop_counters()
578 tmp64 = (userbuf[22] << 24) & 0x00000000ff000000; in perf_stop_counters()
579 tmp64 |= (userbuf[23] >> 40) & 0x0000000000ffffff; in perf_stop_counters()
581 tmp64 |= (userbuf[23] >> 8) & 0x0000000080000000; in perf_stop_counters()
585 tmp64 = (userbuf[23] >> 7) & 0x00000000ffffffff; in perf_stop_counters()
587 tmp64 |= (userbuf[23] << 25) & 0x0000000080000000; in perf_stop_counters()
601 userbuf[21] &= 0xfffffffffffffc00ul; /* 0 to last 10 bits */ in perf_stop_counters()
602 userbuf[22] = 0; in perf_stop_counters()
603 userbuf[23] = 0; in perf_stop_counters()
609 perf_rdr_write(16, userbuf); in perf_stop_counters()
615 if (!perf_rdr_read_ubuf(15, userbuf)) { in perf_stop_counters()
627 raddr[0] = (uint32_t)((userbuf[0] >> 32) & 0x00000000ffffffffUL); in perf_stop_counters()
628 raddr[1] = (uint32_t)(userbuf[0] & 0x00000000ffffffffUL); in perf_stop_counters()
629 raddr[2] = (uint32_t)((userbuf[1] >> 32) & 0x00000000ffffffffUL); in perf_stop_counters()
630 raddr[3] = (uint32_t)(userbuf[1] & 0x00000000ffffffffUL); in perf_stop_counters()