Lines Matching refs:reg_name
22 def gen_read64_macro(reg_name, opc1, crm, descr): argument
26 print('\t.macro read_' + reg_name.lower() + ' reg0, reg1')
31 def gen_write64_macro(reg_name, opc1, crm, descr): argument
35 print('\t.macro write_' + reg_name.lower() + ' reg0, reg1')
40 def gen_read32_macro(reg_name, crn, opc1, crm, opc2, descr): argument
44 print('\t.macro read_' + reg_name.lower() + ' reg')
49 def gen_write32_macro(reg_name, crn, opc1, crm, opc2, descr): argument
53 print('\t.macro write_' + reg_name.lower() + ' reg')
58 def gen_write32_dummy_macro(reg_name, crn, opc1, crm, opc2, descr): argument
62 print('\t.macro write_' + reg_name.lower())
68 def gen_read64_func(reg_name, opc1, crm, descr): argument
72 print('static inline __noprof uint64_t read_' + reg_name.lower() +
84 def gen_write64_func(reg_name, opc1, crm, descr): argument
88 print('static inline __noprof void write_' + reg_name.lower() +
96 def gen_read32_func(reg_name, crn, opc1, crm, opc2, descr): argument
100 print('static inline __noprof uint32_t read_' + reg_name.lower() +
112 def gen_write32_func(reg_name, crn, opc1, crm, opc2, descr): argument
116 print('static inline __noprof void write_' + reg_name.lower() +
124 def gen_write32_dummy_func(reg_name, crn, opc1, crm, opc2, descr): argument
128 print('static inline __noprof void write_' + reg_name.lower() + '(void)')
157 reg_name = words[0]
179 gen_read64_macro(reg_name, opc1, crm, descr)
181 gen_read64_func(reg_name, opc1, crm, descr)
184 gen_write64_macro(reg_name, opc1, crm, descr)
186 gen_write64_func(reg_name, opc1, crm, descr)
190 gen_read32_macro(reg_name, crn, opc1, crm, opc2, descr)
192 gen_read32_func(reg_name, crn, opc1, crm, opc2, descr)
197 gen_write32_dummy_macro(reg_name, crn, opc1, crm, opc2,
200 gen_write32_dummy_func(reg_name, crn, opc1, crm, opc2,
204 gen_write32_macro(reg_name, crn, opc1, crm, opc2, descr)
206 gen_write32_func(reg_name, crn, opc1, crm, opc2, descr)