Lines Matching refs:__csr_num
95 #define switchcase_csr_read(__csr_num, __val) {\ in csr_read_num() argument
96 case __csr_num: \ in csr_read_num()
97 __val = csr_read(__csr_num); \ in csr_read_num()
99 #define switchcase_csr_read_2(__csr_num, __val) {\ in csr_read_num() argument
100 switchcase_csr_read(__csr_num + 0, __val) \ in csr_read_num()
101 switchcase_csr_read(__csr_num + 1, __val)} in csr_read_num()
102 #define switchcase_csr_read_4(__csr_num, __val) {\ in csr_read_num() argument
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()
105 #define switchcase_csr_read_8(__csr_num, __val) {\ in csr_read_num() argument
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()
108 #define switchcase_csr_read_16(__csr_num, __val) {\ in csr_read_num() argument
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()
111 #define switchcase_csr_read_32(__csr_num, __val) {\ in csr_read_num() argument
112 switchcase_csr_read_16(__csr_num + 0, __val) \ in csr_read_num()
113 switchcase_csr_read_16(__csr_num + 16, __val)} in csr_read_num()