Lines Matching refs:crn
40 def gen_read32_macro(reg_name, crn, opc1, crm, opc2, descr): argument
45 print('\tmrc p15, ' + opc1 + ', \\reg, ' + crn + ', ' + crm + ', ' + opc2)
49 def gen_write32_macro(reg_name, crn, opc1, crm, opc2, descr): argument
54 print('\tmcr p15, ' + opc1 + ', \\reg, ' + crn + ', ' + crm + ', ' + opc2)
58 def gen_write32_dummy_macro(reg_name, crn, opc1, crm, opc2, descr): argument
64 print('\tmcr p15, ' + opc1 + ', r0, ' + crn + ', ' + crm + ', ' + opc2)
96 def gen_read32_func(reg_name, crn, opc1, crm, opc2, descr): argument
105 print('\tasm volatile ("mrc p15, ' + opc1 + ', %0, ' + crn + ', ' +
112 def gen_write32_func(reg_name, crn, opc1, crm, opc2, descr): argument
119 print('\tasm volatile ("mcr p15, ' + opc1 + ', %0, ' + crn + ', ' +
124 def gen_write32_dummy_func(reg_name, crn, opc1, crm, opc2, descr): argument
131 print('\tasm volatile ("mcr p15, ' + opc1 + ', r0, ' + crn + ', ' +
158 crn = words[1]
173 if crn == '-':
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)