Lines Matching refs:mask

85 static inline int _xtensa_handle_one_int1(unsigned int mask)  in _xtensa_handle_one_int1()  argument
89 if (mask & 0x3) { in _xtensa_handle_one_int1()
90 if (mask & BIT(0)) { in _xtensa_handle_one_int1()
91 mask = BIT(0); in _xtensa_handle_one_int1()
95 if (mask & BIT(1)) { in _xtensa_handle_one_int1()
96 mask = BIT(1); in _xtensa_handle_one_int1()
101 if (mask & BIT(2)) { in _xtensa_handle_one_int1()
102 mask = BIT(2); in _xtensa_handle_one_int1()
106 if (mask & BIT(3)) { in _xtensa_handle_one_int1()
107 mask = BIT(3); in _xtensa_handle_one_int1()
115 return mask; in _xtensa_handle_one_int1()
118 static inline int _xtensa_handle_one_int2(unsigned int mask) in _xtensa_handle_one_int2() argument
122 if (mask & 0x30) { in _xtensa_handle_one_int2()
123 if (mask & BIT(4)) { in _xtensa_handle_one_int2()
124 mask = BIT(4); in _xtensa_handle_one_int2()
128 if (mask & BIT(5)) { in _xtensa_handle_one_int2()
129 mask = BIT(5); in _xtensa_handle_one_int2()
134 if (mask & BIT(6)) { in _xtensa_handle_one_int2()
135 mask = BIT(6); in _xtensa_handle_one_int2()
139 if (mask & BIT(7)) { in _xtensa_handle_one_int2()
140 mask = BIT(7); in _xtensa_handle_one_int2()
148 return mask; in _xtensa_handle_one_int2()
151 static inline int _xtensa_handle_one_int3(unsigned int mask) in _xtensa_handle_one_int3() argument
155 if (mask & 0x300) { in _xtensa_handle_one_int3()
156 if (mask & BIT(8)) { in _xtensa_handle_one_int3()
157 mask = BIT(8); in _xtensa_handle_one_int3()
161 if (mask & BIT(9)) { in _xtensa_handle_one_int3()
162 mask = BIT(9); in _xtensa_handle_one_int3()
167 if (mask & BIT(10)) { in _xtensa_handle_one_int3()
168 mask = BIT(10); in _xtensa_handle_one_int3()
172 if (mask & BIT(11)) { in _xtensa_handle_one_int3()
173 mask = BIT(11); in _xtensa_handle_one_int3()
181 return mask; in _xtensa_handle_one_int3()
184 static inline int _xtensa_handle_one_int4(unsigned int mask) in _xtensa_handle_one_int4() argument
188 if (mask & BIT(12)) { in _xtensa_handle_one_int4()
189 mask = BIT(12); in _xtensa_handle_one_int4()
193 if (mask & BIT(13)) { in _xtensa_handle_one_int4()
194 mask = BIT(13); in _xtensa_handle_one_int4()
198 if (mask & BIT(14)) { in _xtensa_handle_one_int4()
199 mask = BIT(14); in _xtensa_handle_one_int4()
206 return mask; in _xtensa_handle_one_int4()
209 static inline int _xtensa_handle_one_int5(unsigned int mask) in _xtensa_handle_one_int5() argument
213 if (mask & 0x18000) { in _xtensa_handle_one_int5()
214 if (mask & BIT(15)) { in _xtensa_handle_one_int5()
215 mask = BIT(15); in _xtensa_handle_one_int5()
219 if (mask & BIT(16)) { in _xtensa_handle_one_int5()
220 mask = BIT(16); in _xtensa_handle_one_int5()
225 if (mask & BIT(17)) { in _xtensa_handle_one_int5()
226 mask = BIT(17); in _xtensa_handle_one_int5()
230 if (mask & BIT(18)) { in _xtensa_handle_one_int5()
231 mask = BIT(18); in _xtensa_handle_one_int5()
235 if (mask & BIT(19)) { in _xtensa_handle_one_int5()
236 mask = BIT(19); in _xtensa_handle_one_int5()
244 return mask; in _xtensa_handle_one_int5()
247 static inline int _xtensa_handle_one_int7(unsigned int mask) in _xtensa_handle_one_int7() argument
251 if (mask & BIT(20)) { in _xtensa_handle_one_int7()
252 mask = BIT(20); in _xtensa_handle_one_int7()
259 return mask; in _xtensa_handle_one_int7()
262 static inline int _xtensa_handle_one_int0(unsigned int mask) in _xtensa_handle_one_int0() argument
266 static inline int _xtensa_handle_one_int6(unsigned int mask) in _xtensa_handle_one_int6() argument