Searched refs:__csr_num (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/perf/ |
H A D | riscv_pmu.c | 96 case __csr_num: \ in csr_read_num() 97 __val = csr_read(__csr_num); \ in csr_read_num() 100 switchcase_csr_read(__csr_num + 0, __val) \ in csr_read_num() 101 switchcase_csr_read(__csr_num + 1, __val)} in csr_read_num() 103 switchcase_csr_read_2(__csr_num + 0, __val) \ in csr_read_num() 104 switchcase_csr_read_2(__csr_num + 2, __val)} in csr_read_num() 106 switchcase_csr_read_4(__csr_num + 0, __val) \ in csr_read_num() 107 switchcase_csr_read_4(__csr_num + 4, __val)} in csr_read_num() 109 switchcase_csr_read_8(__csr_num + 0, __val) \ in csr_read_num() 110 switchcase_csr_read_8(__csr_num + 8, __val)} in csr_read_num() [all …]
|
/openbmc/linux/tools/lib/perf/ |
H A D | mmap.c | 415 case __csr_num: \ in csr_read_num() 416 __val = csr_read(__csr_num); \ in csr_read_num() 419 switchcase_csr_read(__csr_num + 0, __val) \ in csr_read_num() 420 switchcase_csr_read(__csr_num + 1, __val)} in csr_read_num() 422 switchcase_csr_read_2(__csr_num + 0, __val) \ in csr_read_num() 423 switchcase_csr_read_2(__csr_num + 2, __val)} in csr_read_num() 425 switchcase_csr_read_4(__csr_num + 0, __val) \ in csr_read_num() 426 switchcase_csr_read_4(__csr_num + 4, __val)} in csr_read_num() 428 switchcase_csr_read_8(__csr_num + 0, __val) \ in csr_read_num() 429 switchcase_csr_read_8(__csr_num + 8, __val)} in csr_read_num() [all …]
|