Lines Matching +full:0 +full:xc01

26 	refcount_set(&map->refcnt, 0);  in perf_mmap__init()
39 map->prev = 0; in perf_mmap__mmap()
42 MAP_SHARED, fd, 0); in perf_mmap__mmap()
50 return 0; in perf_mmap__mmap()
59 map->event_copy_sz = 0; in perf_mmap__munmap()
64 refcount_set(&map->refcnt, 0); in perf_mmap__munmap()
77 BUG_ON(map->base && refcount_read(&map->refcnt) == 0); in perf_mmap__put()
126 return 0; in overwrite_rb_find_range()
131 if (pheader->size == 0) { in overwrite_rb_find_range()
134 return 0; in overwrite_rb_find_range()
178 return 0; in __perf_mmap__read_init()
315 asm volatile("mrs %0, " __stringify(r) : "=r" (__val)); \
329 PMEVCNTR_READ(0);
404 return 0; in read_perf_counter()
414 #define CSR_CYCLE 0xc00
415 #define CSR_TIME 0xc01
420 __asm__ __volatile__ ("csrr %0, %1" \
433 switchcase_csr_read(__csr_num + 0, __val) \ in csr_read_num()
436 switchcase_csr_read_2(__csr_num + 0, __val) \ in csr_read_num()
439 switchcase_csr_read_4(__csr_num + 0, __val) \ in csr_read_num()
442 switchcase_csr_read_8(__csr_num + 0, __val) \ in csr_read_num()
445 switchcase_csr_read_16(__csr_num + 0, __val) \ in csr_read_num()
448 unsigned long ret = 0; in csr_read_num()
476 static u64 read_perf_counter(unsigned int counter __maybe_unused) { return 0; } in read_perf_counter()
477 static u64 read_timestamp(void) { return 0; } in read_timestamp()
483 u32 seq, idx, time_mult = 0, time_shift = 0; in perf_mmap__read_self()
484 u64 cnt, cyc = 0, time_offset = 0, time_cycles = 0, time_mask = ~0ULL; in perf_mmap__read_self()
538 return 0; in perf_mmap__read_self()