Lines Matching refs:mask

119 static inline int _xtensa_handle_one_int5(unsigned int mask)  in _xtensa_handle_one_int5()  argument
123 if (mask & BIT(0)) { in _xtensa_handle_one_int5()
124 mask = BIT(0); in _xtensa_handle_one_int5()
131 return mask; in _xtensa_handle_one_int5()
134 static inline int _xtensa_handle_one_int2(unsigned int mask) in _xtensa_handle_one_int2() argument
138 if (mask & 0x70006) { in _xtensa_handle_one_int2()
139 if (mask & 0x6) { in _xtensa_handle_one_int2()
140 if (mask & BIT(1)) { in _xtensa_handle_one_int2()
141 mask = BIT(1); in _xtensa_handle_one_int2()
145 if (mask & BIT(2)) { in _xtensa_handle_one_int2()
146 mask = BIT(2); in _xtensa_handle_one_int2()
151 if (mask & BIT(16)) { in _xtensa_handle_one_int2()
152 mask = BIT(16); in _xtensa_handle_one_int2()
156 if (mask & BIT(17)) { in _xtensa_handle_one_int2()
157 mask = BIT(17); in _xtensa_handle_one_int2()
161 if (mask & BIT(18)) { in _xtensa_handle_one_int2()
162 mask = BIT(18); in _xtensa_handle_one_int2()
168 if (mask & 0x180000) { in _xtensa_handle_one_int2()
169 if (mask & BIT(19)) { in _xtensa_handle_one_int2()
170 mask = BIT(19); in _xtensa_handle_one_int2()
174 if (mask & BIT(20)) { in _xtensa_handle_one_int2()
175 mask = BIT(20); in _xtensa_handle_one_int2()
180 if (mask & BIT(21)) { in _xtensa_handle_one_int2()
181 mask = BIT(21); in _xtensa_handle_one_int2()
185 if (mask & BIT(22)) { in _xtensa_handle_one_int2()
186 mask = BIT(22); in _xtensa_handle_one_int2()
190 if (mask & BIT(23)) { in _xtensa_handle_one_int2()
191 mask = BIT(23); in _xtensa_handle_one_int2()
200 return mask; in _xtensa_handle_one_int2()
203 static inline int _xtensa_handle_one_int3(unsigned int mask) in _xtensa_handle_one_int3() argument
207 if (mask & 0x3000038) { in _xtensa_handle_one_int3()
208 if (mask & 0x18) { in _xtensa_handle_one_int3()
209 if (mask & BIT(3)) { in _xtensa_handle_one_int3()
210 mask = BIT(3); in _xtensa_handle_one_int3()
214 if (mask & BIT(4)) { in _xtensa_handle_one_int3()
215 mask = BIT(4); in _xtensa_handle_one_int3()
220 if (mask & BIT(5)) { in _xtensa_handle_one_int3()
221 mask = BIT(5); in _xtensa_handle_one_int3()
225 if (mask & BIT(24)) { in _xtensa_handle_one_int3()
226 mask = BIT(24); in _xtensa_handle_one_int3()
230 if (mask & BIT(25)) { in _xtensa_handle_one_int3()
231 mask = BIT(25); in _xtensa_handle_one_int3()
237 if (mask & 0x1c000000) { in _xtensa_handle_one_int3()
238 if (mask & BIT(26)) { in _xtensa_handle_one_int3()
239 mask = BIT(26); in _xtensa_handle_one_int3()
243 if (mask & BIT(27)) { in _xtensa_handle_one_int3()
244 mask = BIT(27); in _xtensa_handle_one_int3()
248 if (mask & BIT(28)) { in _xtensa_handle_one_int3()
249 mask = BIT(28); in _xtensa_handle_one_int3()
254 if (mask & BIT(29)) { in _xtensa_handle_one_int3()
255 mask = BIT(29); in _xtensa_handle_one_int3()
259 if (mask & BIT(30)) { in _xtensa_handle_one_int3()
260 mask = BIT(30); in _xtensa_handle_one_int3()
264 if (mask & BIT(31)) { in _xtensa_handle_one_int3()
265 mask = BIT(31); in _xtensa_handle_one_int3()
274 return mask; in _xtensa_handle_one_int3()
277 static inline int _xtensa_handle_one_int1(unsigned int mask) in _xtensa_handle_one_int1() argument
281 if (mask & 0x7c0) { in _xtensa_handle_one_int1()
282 if (mask & 0xc0) { in _xtensa_handle_one_int1()
283 if (mask & BIT(6)) { in _xtensa_handle_one_int1()
284 mask = BIT(6); in _xtensa_handle_one_int1()
288 if (mask & BIT(7)) { in _xtensa_handle_one_int1()
289 mask = BIT(7); in _xtensa_handle_one_int1()
294 if (mask & BIT(8)) { in _xtensa_handle_one_int1()
295 mask = BIT(8); in _xtensa_handle_one_int1()
299 if (mask & BIT(9)) { in _xtensa_handle_one_int1()
300 mask = BIT(9); in _xtensa_handle_one_int1()
304 if (mask & BIT(10)) { in _xtensa_handle_one_int1()
305 mask = BIT(10); in _xtensa_handle_one_int1()
311 if (mask & 0x1800) { in _xtensa_handle_one_int1()
312 if (mask & BIT(11)) { in _xtensa_handle_one_int1()
313 mask = BIT(11); in _xtensa_handle_one_int1()
317 if (mask & BIT(12)) { in _xtensa_handle_one_int1()
318 mask = BIT(12); in _xtensa_handle_one_int1()
323 if (mask & BIT(13)) { in _xtensa_handle_one_int1()
324 mask = BIT(13); in _xtensa_handle_one_int1()
328 if (mask & BIT(14)) { in _xtensa_handle_one_int1()
329 mask = BIT(14); in _xtensa_handle_one_int1()
333 if (mask & BIT(15)) { in _xtensa_handle_one_int1()
334 mask = BIT(15); in _xtensa_handle_one_int1()
343 return mask; in _xtensa_handle_one_int1()
346 static inline int _xtensa_handle_one_int0(unsigned int mask) in _xtensa_handle_one_int0() argument
350 static inline int _xtensa_handle_one_int4(unsigned int mask) in _xtensa_handle_one_int4() argument
354 static inline int _xtensa_handle_one_int6(unsigned int mask) in _xtensa_handle_one_int6() argument
358 static inline int _xtensa_handle_one_int7(unsigned int mask) in _xtensa_handle_one_int7() argument
362 static inline int _xtensa_handle_one_int8(unsigned int mask) in _xtensa_handle_one_int8() argument
366 static inline int _xtensa_handle_one_int9(unsigned int mask) in _xtensa_handle_one_int9() argument
370 static inline int _xtensa_handle_one_int10(unsigned int mask) in _xtensa_handle_one_int10() argument
374 static inline int _xtensa_handle_one_int11(unsigned int mask) in _xtensa_handle_one_int11() argument
378 static inline int _xtensa_handle_one_int12(unsigned int mask) in _xtensa_handle_one_int12() argument
382 static inline int _xtensa_handle_one_int13(unsigned int mask) in _xtensa_handle_one_int13() argument
386 static inline int _xtensa_handle_one_int14(unsigned int mask) in _xtensa_handle_one_int14() argument
390 static inline int _xtensa_handle_one_int15(unsigned int mask) in _xtensa_handle_one_int15() argument