Lines Matching refs:rdr_num

190 static const struct rdr_tbl_ent * perf_rdr_get_entry(uint32_t rdr_num);
191 static int perf_rdr_read_ubuf(uint32_t rdr_num, uint64_t *buffer);
192 static int perf_rdr_clear(uint32_t rdr_num);
194 static void perf_rdr_write(uint32_t rdr_num, uint64_t *buffer);
197 extern uint64_t perf_rdr_shift_in_W (uint32_t rdr_num, uint16_t width);
198 extern uint64_t perf_rdr_shift_in_U (uint32_t rdr_num, uint16_t width);
199 extern void perf_rdr_shift_out_W (uint32_t rdr_num, uint64_t buffer);
200 extern void perf_rdr_shift_out_U (uint32_t rdr_num, uint64_t buffer);
642 static const struct rdr_tbl_ent * perf_rdr_get_entry(uint32_t rdr_num) in perf_rdr_get_entry() argument
645 return &perf_rdr_tbl_U[rdr_num]; in perf_rdr_get_entry()
647 return &perf_rdr_tbl_W[rdr_num]; in perf_rdr_get_entry()
656 static int perf_rdr_read_ubuf(uint32_t rdr_num, uint64_t *buffer) in perf_rdr_read_ubuf() argument
662 tentry = perf_rdr_get_entry(rdr_num); in perf_rdr_read_ubuf()
684 data = perf_rdr_shift_in_U(rdr_num, width); in perf_rdr_read_ubuf()
686 data = perf_rdr_shift_in_W(rdr_num, width); in perf_rdr_read_ubuf()
706 static int perf_rdr_clear(uint32_t rdr_num) in perf_rdr_clear() argument
711 tentry = perf_rdr_get_entry(rdr_num); in perf_rdr_clear()
720 perf_rdr_shift_out_U(rdr_num, 0UL); in perf_rdr_clear()
722 perf_rdr_shift_out_W(rdr_num, 0UL); in perf_rdr_clear()
820 static void perf_rdr_write(uint32_t rdr_num, uint64_t *buffer) in perf_rdr_write() argument
826 tentry = perf_rdr_get_entry(rdr_num); in perf_rdr_write()
832 perf_rdr_shift_out_U(rdr_num, buffer[i]); in perf_rdr_write()
834 perf_rdr_shift_out_W(rdr_num, buffer[i]); in perf_rdr_write()