Lines Matching refs:mask
93 static inline int _xtensa_handle_one_int1(unsigned int mask) in _xtensa_handle_one_int1() argument
97 if (mask & 0x7f) { in _xtensa_handle_one_int1()
98 if (mask & 0x7) { in _xtensa_handle_one_int1()
99 if (mask & BIT(0)) { in _xtensa_handle_one_int1()
100 mask = BIT(0); in _xtensa_handle_one_int1()
104 if (mask & BIT(1)) { in _xtensa_handle_one_int1()
105 mask = BIT(1); in _xtensa_handle_one_int1()
109 if (mask & BIT(2)) { in _xtensa_handle_one_int1()
110 mask = BIT(2); in _xtensa_handle_one_int1()
115 if (mask & 0x18) { in _xtensa_handle_one_int1()
116 if (mask & BIT(3)) { in _xtensa_handle_one_int1()
117 mask = BIT(3); in _xtensa_handle_one_int1()
121 if (mask & BIT(4)) { in _xtensa_handle_one_int1()
122 mask = BIT(4); in _xtensa_handle_one_int1()
127 if (mask & BIT(5)) { in _xtensa_handle_one_int1()
128 mask = BIT(5); in _xtensa_handle_one_int1()
132 if (mask & BIT(6)) { in _xtensa_handle_one_int1()
133 mask = BIT(6); in _xtensa_handle_one_int1()
140 if (mask & 0x38080) { in _xtensa_handle_one_int1()
141 if (mask & 0x8080) { in _xtensa_handle_one_int1()
142 if (mask & BIT(7)) { in _xtensa_handle_one_int1()
143 mask = BIT(7); in _xtensa_handle_one_int1()
147 if (mask & BIT(15)) { in _xtensa_handle_one_int1()
148 mask = BIT(15); in _xtensa_handle_one_int1()
153 if (mask & BIT(16)) { in _xtensa_handle_one_int1()
154 mask = BIT(16); in _xtensa_handle_one_int1()
158 if (mask & BIT(17)) { in _xtensa_handle_one_int1()
159 mask = BIT(17); in _xtensa_handle_one_int1()
165 if (mask & 0xc0000) { in _xtensa_handle_one_int1()
166 if (mask & BIT(18)) { in _xtensa_handle_one_int1()
167 mask = BIT(18); in _xtensa_handle_one_int1()
171 if (mask & BIT(19)) { in _xtensa_handle_one_int1()
172 mask = BIT(19); in _xtensa_handle_one_int1()
177 if (mask & BIT(20)) { in _xtensa_handle_one_int1()
178 mask = BIT(20); in _xtensa_handle_one_int1()
182 if (mask & BIT(22)) { in _xtensa_handle_one_int1()
183 mask = BIT(22); in _xtensa_handle_one_int1()
193 return mask; in _xtensa_handle_one_int1()
196 static inline int _xtensa_handle_one_int2(unsigned int mask) in _xtensa_handle_one_int2() argument
200 if (mask & BIT(8)) { in _xtensa_handle_one_int2()
201 mask = BIT(8); in _xtensa_handle_one_int2()
208 return mask; in _xtensa_handle_one_int2()
211 static inline int _xtensa_handle_one_int3(unsigned int mask) in _xtensa_handle_one_int3() argument
215 if (mask & 0x600) { in _xtensa_handle_one_int3()
216 if (mask & BIT(9)) { in _xtensa_handle_one_int3()
217 mask = BIT(9); in _xtensa_handle_one_int3()
221 if (mask & BIT(10)) { in _xtensa_handle_one_int3()
222 mask = BIT(10); in _xtensa_handle_one_int3()
227 if (mask & BIT(11)) { in _xtensa_handle_one_int3()
228 mask = BIT(11); in _xtensa_handle_one_int3()
232 if (mask & BIT(21)) { in _xtensa_handle_one_int3()
233 mask = BIT(21); in _xtensa_handle_one_int3()
241 return mask; in _xtensa_handle_one_int3()
244 static inline int _xtensa_handle_one_int4(unsigned int mask) in _xtensa_handle_one_int4() argument
248 if (mask & BIT(12)) { in _xtensa_handle_one_int4()
249 mask = BIT(12); in _xtensa_handle_one_int4()
256 return mask; in _xtensa_handle_one_int4()
259 static inline int _xtensa_handle_one_int5(unsigned int mask) in _xtensa_handle_one_int5() argument
263 if (mask & BIT(13)) { in _xtensa_handle_one_int5()
264 mask = BIT(13); in _xtensa_handle_one_int5()
271 return mask; in _xtensa_handle_one_int5()
274 static inline int _xtensa_handle_one_int7(unsigned int mask) in _xtensa_handle_one_int7() argument
278 if (mask & BIT(14)) { in _xtensa_handle_one_int7()
279 mask = BIT(14); in _xtensa_handle_one_int7()
286 return mask; in _xtensa_handle_one_int7()
289 static inline int _xtensa_handle_one_int0(unsigned int mask) in _xtensa_handle_one_int0() argument
293 static inline int _xtensa_handle_one_int6(unsigned int mask) in _xtensa_handle_one_int6() argument