Searched refs:TEST_R (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/arch/arm/probes/kprobes/
H A Dtest-thumb.c68 TEST_R( "lsls r7, r",0,VAL1,", #5") kprobe_thumb16_test_cases()
69 TEST_R( "lsls r0, r",7,VAL2,", #11") kprobe_thumb16_test_cases()
70 TEST_R( "lsrs r7, r",0,VAL1,", #5") kprobe_thumb16_test_cases()
71 TEST_R( "lsrs r0, r",7,VAL2,", #11") kprobe_thumb16_test_cases()
72 TEST_R( "asrs r7, r",0,VAL1,", #5") kprobe_thumb16_test_cases()
73 TEST_R( "asrs r0, r",7,VAL2,", #11") kprobe_thumb16_test_cases()
78 TEST_R( "adds r7, r",0,VAL1,", #5") kprobe_thumb16_test_cases()
79 TEST_R( "adds r0, r",7,VAL2,", #2") kprobe_thumb16_test_cases()
80 TEST_R( "subs r7, r",0,VAL1,", #5") kprobe_thumb16_test_cases()
81 TEST_R( "subs r0, r",7,VAL2,", #2") kprobe_thumb16_test_cases()
84 TEST_R( "cmp.n r",0,0x5e, ", #0x5f") kprobe_thumb16_test_cases()
85 TEST_R( "cmp.n r",5,0x15f,", #0x5f") kprobe_thumb16_test_cases()
86 TEST_R( "cmp.n r",7,0xa0, ", #0xa0") kprobe_thumb16_test_cases()
87 TEST_R( "adds.n r",0,VAL1,", #0x5f") kprobe_thumb16_test_cases()
88 TEST_R( "adds.n r",7,VAL2,", #0xa0") kprobe_thumb16_test_cases()
89 TEST_R( "subs.n r",0,VAL1,", #0x5f") kprobe_thumb16_test_cases()
90 TEST_R( "subs.n r",7,VAL2,", #0xa0") kprobe_thumb16_test_cases()
107 TEST_R("rsbs r",0,VAL1,", #0") kprobe_thumb16_test_cases()
108 TEST_R("rsbs r",7,VAL2,", #0") kprobe_thumb16_test_cases()
121 TEST_R( "add sp" ", r",8,-8, "") kprobe_thumb16_test_cases()
122 TEST_R( "add r",14,VAL1,", pc") kprobe_thumb16_test_cases()
128 TEST_R( "cmp sp" ", r",8,-8, "") kprobe_thumb16_test_cases()
130 TEST_R( "mov r0, r",7,VAL2,"") kprobe_thumb16_test_cases()
131 TEST_R( "mov r3, r",8,VAL3,"") kprobe_thumb16_test_cases()
132 TEST_R( "mov r8, r",0,VAL1,"") kprobe_thumb16_test_cases()
199 TEST_R( "str r",0, VAL1,", [sp, #0]") kprobe_thumb16_test_cases()
200 TEST_R( "str r",7, VAL2,", [sp, #160]") kprobe_thumb16_test_cases()
230 TEST_R("sxth r0, r",7, HH1,"") kprobe_thumb16_test_cases()
231 TEST_R("sxth r7, r",0, HH2,"") kprobe_thumb16_test_cases()
232 TEST_R("sxtb r0, r",7, HH1,"") kprobe_thumb16_test_cases()
233 TEST_R("sxtb r7, r",0, HH2,"") kprobe_thumb16_test_cases()
234 TEST_R("uxth r0, r",7, HH1,"") kprobe_thumb16_test_cases()
235 TEST_R("uxth r7, r",0, HH2,"") kprobe_thumb16_test_cases()
236 TEST_R("uxtb r0, r",7, HH1,"") kprobe_thumb16_test_cases()
237 TEST_R("uxtb r7, r",0, HH2,"") kprobe_thumb16_test_cases()
238 TEST_R("rev r0, r",7, VAL1,"") kprobe_thumb16_test_cases()
239 TEST_R("rev r7, r",0, VAL2,"") kprobe_thumb16_test_cases()
240 TEST_R("rev16 r0, r",7, VAL1,"") kprobe_thumb16_test_cases()
241 TEST_R("rev16 r7, r",0, VAL2,"") kprobe_thumb16_test_cases()
244 TEST_R("revsh r0, r",7, VAL1,"") kprobe_thumb16_test_cases()
245 TEST_R("revsh r7, r",0, VAL2,"") kprobe_thumb16_test_cases()
489 TEST_R( op s" r0, r",11,VAL1,", #0x00010001") \ kprobe_thumb32_test_cases()
490 TEST_R( op s" r11, r",0, VAL1,", #0xf5000000") \ kprobe_thumb32_test_cases()
491 TEST_R( op s" r7, r",8, VAL2,", #0x000af000") kprobe_thumb32_test_cases()
505 TEST_R( op" r",11,VAL1,", #0x00010001") \ kprobe_thumb32_test_cases()
506 TEST_R( op" r",0, VAL1,", #0xf5000000") \ kprobe_thumb32_test_cases()
507 TEST_R( op" r",8, VAL2,", #0x000af000") kprobe_thumb32_test_cases()
510 TEST_R( op s".w r0, r",14, val, "") \ kprobe_thumb32_test_cases()
511 TEST_R( op s" r1, r",12, val, ", lsl #3") \ kprobe_thumb32_test_cases()
512 TEST_R( op s" r2, r",11, val, ", lsr #4") \ kprobe_thumb32_test_cases()
513 TEST_R( op s" r3, r",10, val, ", asr #5") \ kprobe_thumb32_test_cases()
514 TEST_R( op s" r4, r",9, N(val),", asr #6") \ kprobe_thumb32_test_cases()
515 TEST_R( op s" r5, r",8, val, ", ror #7") \ kprobe_thumb32_test_cases()
516 TEST_R( op s" r8, r",7,val, ", rrx") \ kprobe_thumb32_test_cases()
583 TEST_R("add.w r0, sp, r",1, 4,"") kprobe_thumb32_test_cases()
584 TEST_R("adds r0, sp, r",1, 4,", asl #3") kprobe_thumb32_test_cases()
585 TEST_R("add r0, sp, r",1, 4,", asl #4") kprobe_thumb32_test_cases()
586 TEST_R("add r0, sp, r",1, 16,", ror #1") kprobe_thumb32_test_cases()
587 TEST_R("add.w sp, sp, r",1, 4,"") kprobe_thumb32_test_cases()
588 TEST_R("add sp, sp, r",1, 4,", asl #3") kprobe_thumb32_test_cases()
599 TEST_R("sub.w r0, sp, r",1, 4,"") kprobe_thumb32_test_cases()
600 TEST_R("subs r0, sp, r",1, 4,", asl #3") kprobe_thumb32_test_cases()
601 TEST_R("sub r0, sp, r",1, 4,", asl #4") kprobe_thumb32_test_cases()
602 TEST_R("sub r0, sp, r",1, 16,", ror #1") kprobe_thumb32_test_cases()
603 TEST_R("sub.w sp, sp, r",1, 4,"") kprobe_thumb32_test_cases()
604 TEST_R("sub sp, sp, r",1, 4,", asl #3") kprobe_thumb32_test_cases()
656 TEST_R("addw r0, r",1, VAL1,", #0x123") kprobe_thumb32_test_cases()
665 TEST_R("subw r0, r",1, VAL1,", #0x123") kprobe_thumb32_test_cases()
680 TEST_R("movt r",0, VAL1,", #0") kprobe_thumb32_test_cases()
681 TEST_R("movt r",0, VAL2,", #0xffff") kprobe_thumb32_test_cases()
682 TEST_R("movt r",14,VAL1,", #0xffff") kprobe_thumb32_test_cases()
686 TEST_R( "ssat r0, #24, r",0, VAL1,"") kprobe_thumb32_test_cases()
687 TEST_R( "ssat r14, #24, r",12, VAL2,"") kprobe_thumb32_test_cases()
688 TEST_R( "ssat r0, #24, r",0, VAL1,", lsl #8") kprobe_thumb32_test_cases()
689 TEST_R( "ssat r14, #24, r",12, VAL2,", asr #8") kprobe_thumb32_test_cases()
695 TEST_R( "usat r0, #24, r",0, VAL1,"") kprobe_thumb32_test_cases()
696 TEST_R( "usat r14, #24, r",12, VAL2,"") kprobe_thumb32_test_cases()
697 TEST_R( "usat r0, #24, r",0, VAL1,", lsl #8") kprobe_thumb32_test_cases()
698 TEST_R( "usat r14, #24, r",12, VAL2,", asr #8") kprobe_thumb32_test_cases()
704 TEST_R( "ssat16 r0, #12, r",0, HH1,"") kprobe_thumb32_test_cases()
705 TEST_R( "ssat16 r14, #12, r",12, HH2,"") kprobe_thumb32_test_cases()
711 TEST_R( "usat16 r0, #12, r",0, HH1,"") kprobe_thumb32_test_cases()
712 TEST_R( "usat16 r14, #12, r",12, HH2,"") kprobe_thumb32_test_cases()
718 TEST_R( "sbfx r0, r",0 , VAL1,", #0, #31") kprobe_thumb32_test_cases()
719 TEST_R( "sbfx r14, r",12, VAL2,", #8, #16") kprobe_thumb32_test_cases()
720 TEST_R( "sbfx r4, r",10, VAL1,", #16, #15") kprobe_thumb32_test_cases()
726 TEST_R( "ubfx r0, r",0 , VAL1,", #0, #31") kprobe_thumb32_test_cases()
727 TEST_R( "ubfx r14, r",12, VAL2,", #8, #16") kprobe_thumb32_test_cases()
728 TEST_R( "ubfx r4, r",10, VAL1,", #16, #15") kprobe_thumb32_test_cases()
734 TEST_R( "bfc r",0, VAL1,", #4, #20") kprobe_thumb32_test_cases()
735 TEST_R( "bfc r",14,VAL2,", #4, #20") kprobe_thumb32_test_cases()
736 TEST_R( "bfc r",7, VAL1,", #0, #31") kprobe_thumb32_test_cases()
737 TEST_R( "bfc r",8, VAL2,", #0, #31") kprobe_thumb32_test_cases()
829 TEST_R( "str"size".w r",7, VAL1,", [sp, #24]") \ kprobe_thumb32_test_cases()
892 TEST_R( "ldr sp, [sp, r",14, 13*4,"]") kprobe_thumb32_test_cases()
931 TEST_R( "pld [sp, r",1, 16,"]") kprobe_thumb32_test_cases()
959 TEST_R( "sxth r8, r",7, HH1,"") kprobe_thumb32_test_cases()
968 TEST_R( "uxth r8, r",7, HH1,"") kprobe_thumb32_test_cases()
972 TEST_R( "sxtb16 r8, r",7, HH1,"") kprobe_thumb32_test_cases()
976 TEST_R( "uxtb16 r8, r",7, HH1,"") kprobe_thumb32_test_cases()
980 TEST_R( "sxtb r8, r",7, HH1,"") kprobe_thumb32_test_cases()
984 TEST_R( "uxtb r8, r",7, HH1,"") kprobe_thumb32_test_cases()
1026 TEST_R("rev.w r0, r",0, VAL1,"") kprobe_thumb32_test_cases()
1027 TEST_R("rev r14, r",12, VAL2,"") kprobe_thumb32_test_cases()
1028 TEST_R("rev16.w r0, r",0, VAL1,"") kprobe_thumb32_test_cases()
1029 TEST_R("rev16 r14, r",12, VAL2,"") kprobe_thumb32_test_cases()
1030 TEST_R("rbit r0, r",0, VAL1,"") kprobe_thumb32_test_cases()
1031 TEST_R("rbit r14, r",12, VAL2,"") kprobe_thumb32_test_cases()
1032 TEST_R("revsh.w r0, r",0, VAL1,"") kprobe_thumb32_test_cases()
1033 TEST_R("revsh r14, r",12, VAL2,"") kprobe_thumb32_test_cases()
1043 TEST_R("clz r0, r",0, 0x0,"") kprobe_thumb32_test_cases()
1044 TEST_R("clz r7, r",14,0x1,"") kprobe_thumb32_test_cases()
1045 TEST_R("clz lr, r",7, 0xffffffff,"") kprobe_thumb32_test_cases()
H A Dtest-arm.c68 TEST_R( op "vc" s " r6, r",7, VAL1,", pc, lsl #3") \ kprobe_arm_test_cases()
69 TEST_R( op "vc" s " r6, r",7, VAL1,", sp, lsr #4") \ kprobe_arm_test_cases()
70 TEST_R( op "vc" s " r6, pc, r",7, VAL1,", asr #5") \ kprobe_arm_test_cases()
71 TEST_R( op "vc" s " r6, sp, r",7, VAL1,", ror #6") \ kprobe_arm_test_cases()
78 TEST_R( op "eq" s " r0, r",11,VAL1,", #0xf5") \ kprobe_arm_test_cases()
79 TEST_R( op "ne" s " r11, r",0, VAL1,", #0xf5000000") \ kprobe_arm_test_cases()
80 TEST_R( op s " r7, r",8, VAL2,", #0x000af000") \ kprobe_arm_test_cases()
95 TEST_R ( op "vs r",7, VAL1,", pc, lsl #3") \ kprobe_arm_test_cases()
96 TEST_R ( op "vs r",7, VAL1,", sp, lsr #4") \ kprobe_arm_test_cases()
97 TEST_R( op "vs pc, r",7, VAL1,", asr #5") \ kprobe_arm_test_cases()
98 TEST_R( op "vs sp, r",7, VAL1,", ror #6") \ kprobe_arm_test_cases()
105 TEST_R( op "eq r",11,VAL1,", #0xf5") \ kprobe_arm_test_cases()
106 TEST_R( op "ne r",0, VAL1,", #0xf5000000") \ kprobe_arm_test_cases()
107 TEST_R( op " r",8, VAL2,", #0x000af000") kprobe_arm_test_cases()
110 TEST_R( op "eq" s " r0, r",1, val, "") \ kprobe_arm_test_cases()
111 TEST_R( op "ne" s " r1, r",1, val, ", lsl #3") \ kprobe_arm_test_cases()
112 TEST_R( op "cs" s " r2, r",3, val, ", lsr #4") \ kprobe_arm_test_cases()
113 TEST_R( op "cc" s " r3, r",3, val, ", asr #5") \ kprobe_arm_test_cases()
114 TEST_R( op "mi" s " r4, r",5, N(val),", asr #6") \ kprobe_arm_test_cases()
115 TEST_R( op "pl" s " r5, r",5, val, ", ror #7") \ kprobe_arm_test_cases()
116 TEST_R( op "vs" s " r6, r",10,val, ", rrx") \ kprobe_arm_test_cases()
124 TEST_R( op "gt" s " r14, r13" ", lsl r",14,8,"") \ kprobe_arm_test_cases()
200 TEST_R( "add pc, pc, r",10,-2,", asl #1") kprobe_arm_test_cases()
226 TEST_R("clz r0, r",0, 0x0,"") kprobe_arm_test_cases()
227 TEST_R("clzeq r7, r",14,0x1,"") kprobe_arm_test_cases()
228 TEST_R("clz lr, r",7, 0xffffffff,"") kprobe_arm_test_cases()
244 TEST_R( "qadd lr, r",9, VAL2,", r13") kprobe_arm_test_cases()
247 TEST_R( "qsub lr, r",9, VAL2,", r13") kprobe_arm_test_cases()
250 TEST_R( "qdadd lr, r",9, VAL2,", r13") kprobe_arm_test_cases()
253 TEST_R( "qdsub lr, r",9, VAL2,", r13") kprobe_arm_test_cases()
299 TEST_R( "smulwb lr, r",1, VAL2,", r13") kprobe_arm_test_cases()
303 TEST_R( "smulwt lr, r",1, VAL2,", r13") kprobe_arm_test_cases()
331 TEST_R( "smulbb lr, r",1, VAL2,", r13") kprobe_arm_test_cases()
335 TEST_R( "smultb lr, r",1, VAL2,", r13") kprobe_arm_test_cases()
339 TEST_R( "smulbt lr, r",1, VAL2,", r13") kprobe_arm_test_cases()
343 TEST_R( "smultt lr, r",1, VAL2,", r13") kprobe_arm_test_cases()
353 TEST_R( "mul lr, r",4, VAL3,", r13") kprobe_arm_test_cases()
359 TEST_R( "muls lr, r",4, VAL3,", r13") kprobe_arm_test_cases()
374 TEST_R( "umaal lr, r12, r",11,VAL3,", r13") kprobe_arm_test_cases()
396 TEST_R( "umull lr, r12, r",11,VAL3,", r13") kprobe_arm_test_cases()
401 TEST_R( "umulls lr, r12, r",11,VAL3,", r13") kprobe_arm_test_cases()
418 TEST_R( "smull lr, r12, r",11,VAL3,", r13") kprobe_arm_test_cases()
423 TEST_R( "smulls lr, r12, r",11,VAL3,", r13") kprobe_arm_test_cases()
444 TEST_R( "swpvs r0, r",1,VAL1,", [sp]") kprobe_arm_test_cases()
456 TEST_R( "swpvsb r0, r",1,VAL1,", [sp]") kprobe_arm_test_cases()
626 TEST_R("movt r",0, VAL1,", #0") kprobe_arm_test_cases()
627 TEST_R("movt r",0, VAL2,", #0xffff") kprobe_arm_test_cases()
628 TEST_R("movt r",14,VAL1,", #0xffff") kprobe_arm_test_cases()
687 TEST_R( "ldr"byte" r12, [pc, r",14,0,"]") kprobe_arm_test_cases()
893 TEST_R( "ssat r0, #24, r",0, VAL1,"") kprobe_arm_test_cases()
894 TEST_R( "ssat r14, #24, r",12, VAL2,"") kprobe_arm_test_cases()
895 TEST_R( "ssat r0, #24, r",0, VAL1,", lsl #8") kprobe_arm_test_cases()
896 TEST_R( "ssat r14, #24, r",12, VAL2,", asr #8") kprobe_arm_test_cases()
899 TEST_R( "usat r0, #24, r",0, VAL1,"") kprobe_arm_test_cases()
900 TEST_R( "usat r14, #24, r",12, VAL2,"") kprobe_arm_test_cases()
901 TEST_R( "usat r0, #24, r",0, VAL1,", lsl #8") kprobe_arm_test_cases()
902 TEST_R( "usat r14, #24, r",12, VAL2,", asr #8") kprobe_arm_test_cases()
907 TEST_R( "sxtb16 r8, r",7, HH1,"") kprobe_arm_test_cases()
916 TEST_R( "ssat16 r0, #12, r",0, HH1,"") kprobe_arm_test_cases()
917 TEST_R( "ssat16 r14, #12, r",12, HH2,"") kprobe_arm_test_cases()
922 TEST_R( "sxtb r8, r",7, HH1,"") kprobe_arm_test_cases()
925 TEST_R( "rev r0, r",0, VAL1,"") kprobe_arm_test_cases()
926 TEST_R( "rev r14, r",12, VAL2,"") kprobe_arm_test_cases()
931 TEST_R( "sxth r8, r",7, HH1,"") kprobe_arm_test_cases()
934 TEST_R( "rev16 r0, r",0, VAL1,"") kprobe_arm_test_cases()
935 TEST_R( "rev16 r14, r",12, VAL2,"") kprobe_arm_test_cases()
940 TEST_R( "uxtb16 r8, r",7, HH1,"") kprobe_arm_test_cases()
943 TEST_R( "usat16 r0, #12, r",0, HH1,"") kprobe_arm_test_cases()
944 TEST_R( "usat16 r14, #12, r",12, HH2,"") kprobe_arm_test_cases()
950 TEST_R( "uxtb r8, r",7, HH1,"") kprobe_arm_test_cases()
954 TEST_R( "rbit r0, r",0, VAL1,"") kprobe_arm_test_cases()
955 TEST_R( "rbit r14, r",12, VAL2,"") kprobe_arm_test_cases()
961 TEST_R( "uxth r8, r",7, HH1,"") kprobe_arm_test_cases()
967 TEST_R( "revsh r0, r",0, VAL1,"") kprobe_arm_test_cases()
968 TEST_R( "revsh r14, r",12, VAL2,"") kprobe_arm_test_cases()
1062 TEST_R( "sbfx r0, r",0 , VAL1,", #0, #31") kprobe_arm_test_cases()
1063 TEST_R( "sbfxeq r14, r",12, VAL2,", #8, #16") kprobe_arm_test_cases()
1064 TEST_R( "sbfx r4, r",10, VAL1,", #16, #15") kprobe_arm_test_cases()
1067 TEST_R( "ubfx r0, r",0 , VAL1,", #0, #31") kprobe_arm_test_cases()
1068 TEST_R( "ubfxcs r14, r",12, VAL2,", #8, #16") kprobe_arm_test_cases()
1069 TEST_R( "ubfx r4, r",10, VAL1,", #16, #15") kprobe_arm_test_cases()
1073 TEST_R( "bfc r",0, VAL1,", #4, #20") kprobe_arm_test_cases()
1074 TEST_R( "bfcvs r",14,VAL2,", #4, #20") kprobe_arm_test_cases()
1075 TEST_R( "bfc r",7, VAL1,", #0, #31") kprobe_arm_test_cases()
1076 TEST_R( "bfc r",8, VAL2,", #0, #31") kprobe_arm_test_cases()
H A Dtest-core.h205 * TEST_R One register argument
234 #define TEST_R(code1, reg, val, code2) \ macro
H A Dtest-core.c106 * Note, in practice the single convenience macro TEST_R would be used for this
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dmt312_priv.h136 TEST_R = 107, enumerator in enum:mt312_reg_addr

Completed in 152 milliseconds