Lines Matching full:mttc0
164 #define mttc0(rd, sel, v) ({ __asm__ __volatile__( " .set push \n" " .set mips32r2 \n" " .set noat \n" " move $1, %0 \n" " # mttc0 %0," #rd ", " #sel " \n" " .word 0x41810000 | (" #rd " << 11) | " #sel " \n" " .set pop \n" : : "r" (v)); })
169 #define write_vpe_c0_vpecontrol(val) mttc0(1, 1, val)
171 #define write_vpe_c0_vpeconf0(val) mttc0(1, 2, val)
174 #define write_vpe_c0_count(val) mttc0(9, 0, val)
176 #define write_vpe_c0_status(val) mttc0(12, 0, val)
179 #define write_vpe_c0_cause(val) mttc0(13, 0, val)
181 #define write_vpe_c0_config(val) mttc0(16, 0, val)
184 #define write_vpe_c0_config1(val) mttc0(16, 1, val)
186 #define write_vpe_c0_config7(val) mttc0(16, 7, val)
189 #define write_vpe_c0_ebase(val) mttc0(15, 1, val)
190 #define write_vpe_c0_compare(val) mttc0(11, 0, val)
194 #define write_vpe_c0_epc(val) mttc0(14, 0, val)
196 #define write_tc_c0_tcstatus(val) mttc0(2, 1, val)
199 #define write_tc_c0_tcbind(val) mttc0(2, 2, val)
201 #define write_tc_c0_tcrestart(val) mttc0(2, 3, val)
204 #define write_tc_c0_tchalt(val) mttc0(2, 4, val)
206 #define write_tc_c0_tccontext(val) mttc0(2, 5, val)