Lines Matching refs:x

24 #define ___asm_opcode_swab32(x) (	\  argument
25 (((x) << 24) & 0xFF000000) \
26 | (((x) << 8) & 0x00FF0000) \
27 | (((x) >> 8) & 0x0000FF00) \
28 | (((x) >> 24) & 0x000000FF) \
30 #define ___asm_opcode_swab16(x) ( \ argument
31 (((x) << 8) & 0xFF00) \
32 | (((x) >> 8) & 0x00FF) \
34 #define ___asm_opcode_swahb32(x) ( \ argument
35 (((x) << 8) & 0xFF00FF00) \
36 | (((x) >> 8) & 0x00FF00FF) \
38 #define ___asm_opcode_swahw32(x) ( \ argument
39 (((x) << 16) & 0xFFFF0000) \
40 | (((x) >> 16) & 0x0000FFFF) \
42 #define ___asm_opcode_identity32(x) ((x) & 0xFFFFFFFF) argument
43 #define ___asm_opcode_identity16(x) ((x) & 0xFFFF) argument
76 #define ___opcode_swab32(x) ___asm_opcode_swab32(x) argument
77 #define ___opcode_swab16(x) ___asm_opcode_swab16(x) argument
78 #define ___opcode_swahb32(x) ___asm_opcode_swahb32(x) argument
79 #define ___opcode_swahw32(x) ___asm_opcode_swahw32(x) argument
80 #define ___opcode_identity32(x) ___asm_opcode_identity32(x) argument
81 #define ___opcode_identity16(x) ___asm_opcode_identity16(x) argument
88 #define ___opcode_swab32(x) swab32(x) argument
89 #define ___opcode_swab16(x) swab16(x) argument
90 #define ___opcode_swahb32(x) swahb32(x) argument
91 #define ___opcode_swahw32(x) swahw32(x) argument
92 #define ___opcode_identity32(x) ((u32)(x)) argument
93 #define ___opcode_identity16(x) ((u16)(x)) argument
100 #define __opcode_to_mem_arm(x) ___opcode_swab32(x) argument
101 #define __opcode_to_mem_thumb16(x) ___opcode_swab16(x) argument
102 #define __opcode_to_mem_thumb32(x) ___opcode_swahb32(x) argument
103 #define ___asm_opcode_to_mem_arm(x) ___asm_opcode_swab32(x) argument
104 #define ___asm_opcode_to_mem_thumb16(x) ___asm_opcode_swab16(x) argument
105 #define ___asm_opcode_to_mem_thumb32(x) ___asm_opcode_swahb32(x) argument
109 #define __opcode_to_mem_arm(x) ___opcode_identity32(x) argument
110 #define __opcode_to_mem_thumb16(x) ___opcode_identity16(x) argument
111 #define ___asm_opcode_to_mem_arm(x) ___asm_opcode_identity32(x) argument
112 #define ___asm_opcode_to_mem_thumb16(x) ___asm_opcode_identity16(x) argument
119 #define __opcode_to_mem_thumb32(x) ___opcode_swahw32(x) argument
120 #define ___asm_opcode_to_mem_thumb32(x) ___asm_opcode_swahw32(x) argument
125 #define __mem_to_opcode_arm(x) __opcode_to_mem_arm(x) argument
126 #define __mem_to_opcode_thumb16(x) __opcode_to_mem_thumb16(x) argument
128 #define __mem_to_opcode_thumb32(x) __opcode_to_mem_thumb32(x) argument
134 #define __opcode_is_thumb32(x) ( \ argument
135 ((x) & 0xF8000000) == 0xE8000000 \
136 || ((x) & 0xF0000000) == 0xF0000000 \
138 #define __opcode_is_thumb16(x) ( \ argument
139 ((x) & 0xFFFF0000) == 0 \
140 && !(((x) & 0xF800) == 0xE800 || ((x) & 0xF000) == 0xF000) \
144 #define __opcode_thumb32_first(x) (___opcode_identity16((x) >> 16)) argument
145 #define __opcode_thumb32_second(x) (___opcode_identity16(x)) argument
150 #define ___asm_opcode_thumb32_first(x) (___asm_opcode_identity16((x) >> 16)) argument
151 #define ___asm_opcode_thumb32_second(x) (___asm_opcode_identity16(x)) argument
199 #define __inst_arm(x) ___inst_arm(___asm_opcode_to_mem_arm(x)) argument
200 #define __inst_thumb32(x) ___inst_thumb32( \ argument
201 ___asm_opcode_to_mem_thumb16(___asm_opcode_thumb32_first(x)), \
202 ___asm_opcode_to_mem_thumb16(___asm_opcode_thumb32_second(x)) \
204 #define __inst_thumb16(x) ___inst_thumb16(___asm_opcode_to_mem_thumb16(x)) argument
218 #define ___inst_arm(x) .long x argument
219 #define ___inst_thumb16(x) .short x argument
222 #define ___inst_arm(x) ".long " __stringify(x) "\n\t" argument
223 #define ___inst_thumb16(x) ".short " __stringify(x) "\n\t" argument