Lines Matching +full:0 +full:xc01
25 refcount_set(&map->refcnt, 0); in perf_mmap__init()
38 map->prev = 0; in perf_mmap__mmap()
41 MAP_SHARED, fd, 0); in perf_mmap__mmap()
49 return 0; in perf_mmap__mmap()
58 refcount_set(&map->refcnt, 0); in perf_mmap__munmap()
71 BUG_ON(map->base && refcount_read(&map->refcnt) == 0); in perf_mmap__put()
120 return 0; in overwrite_rb_find_range()
125 if (pheader->size == 0) { in overwrite_rb_find_range()
128 return 0; in overwrite_rb_find_range()
172 return 0; in __perf_mmap__read_init()
301 asm volatile("mrs %0, " __stringify(r) : "=r" (__val)); \
315 PMEVCNTR_READ(0);
390 return 0; in read_perf_counter()
400 #define CSR_CYCLE 0xc00
401 #define CSR_TIME 0xc01
406 __asm__ __volatile__ ("csrr %0, %1" \
419 switchcase_csr_read(__csr_num + 0, __val) \ in csr_read_num()
422 switchcase_csr_read_2(__csr_num + 0, __val) \ in csr_read_num()
425 switchcase_csr_read_4(__csr_num + 0, __val) \ in csr_read_num()
428 switchcase_csr_read_8(__csr_num + 0, __val) \ in csr_read_num()
431 switchcase_csr_read_16(__csr_num + 0, __val) \ in csr_read_num()
434 unsigned long ret = 0; in csr_read_num()
462 static u64 read_perf_counter(unsigned int counter __maybe_unused) { return 0; } in read_perf_counter()
463 static u64 read_timestamp(void) { return 0; } in read_timestamp()
469 u32 seq, idx, time_mult = 0, time_shift = 0; in perf_mmap__read_self()
470 u64 cnt, cyc = 0, time_offset = 0, time_cycles = 0, time_mask = ~0ULL; in perf_mmap__read_self()
524 return 0; in perf_mmap__read_self()