Lines Matching +full:0 +full:xa000

14  * @__n: 0-based bit number
23 ((__n) < 0 || (__n) > 31))))
27 * @__n: 0-based bit number
36 ((__n) < 0 || (__n) > 7))))
40 * @__high: 0-based high bit
41 * @__low: 0-based low bit
51 ((__low) < 0 || (__high) > 31 || (__low) > (__high)))))
55 * @__high: 0-based high bit
56 * @__low: 0-based low bit
66 ((__low) < 0 || (__high) > 63 || (__low) > (__high)))))
70 * @__high: 0-based high bit
71 * @__low: 0-based low bit
81 ((__low) < 0 || (__high) > 7 || (__low) > (__high)))))
86 #define IS_POWER_OF_2(__x) ((__x) && (((__x) & ((__x) - 1)) == 0))
101 BUILD_BUG_ON_ZERO((__mask) == 0 || (__mask) > U32_MAX) + \
103 …ERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & (__val)), 0))))
118 BUILD_BUG_ON_ZERO((__mask) == 0 || (__mask) > U8_MAX) + \
120 …ERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & (__val)), 0))))
148 * @__n: 0-based bit number
158 ((__n) < 0 || (__n) > 15))))
162 * @__high: 0-based high bit
163 * @__low: 0-based low bit
174 ((__low) < 0 || (__high) > 15 || (__low) > (__high)))))
190 BUILD_BUG_ON_ZERO((__mask) == 0 || (__mask) > U16_MAX) + \
192 …ERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & (__val)), 0))))
197 BUILD_BUG_ON_MSG(((mask) & 0xffff0000), "Incorrect mask"); \
199 BUILD_BUG_ON_MSG((value) & 0xffff0000, "Incorrect value"); \
205 #define _MASKED_BIT_DISABLE(a) (_MASKED_FIELD((a), 0))
209 * numbers, pick the 0-based __index'th value.
218 * used. Using math interval notation, the first range is used for indexes [ 0,
221 * #define _FOO_A 0xf000
222 * #define _FOO_B 0xf004
223 * #define _FOO_C 0xf008
224 * #define _SUPER_FOO_A 0xa000
225 * #define _SUPER_FOO_B 0xa100
231 * 0: 0xf000,
232 * 1: 0xf004,
233 * 2: 0xf008,
234 * 3: 0xa000,
235 * 4: 0xa100,
236 * 5: 0xa200,
245 * Given the arbitrary numbers in varargs, pick the 0-based __index'th number.
275 #define INVALID_MMIO_REG _MMIO(0)