Home
last modified time | relevance | path

Searched refs:_mask (Results 1 – 7 of 7) sorted by relevance

/include/linux/
Dbitfield.h51 #define __BF_FIELD_CHECK(_mask, _reg, _val, _pfx) \ argument
53 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
55 BUILD_BUG_ON_MSG(!(_mask), _pfx "mask is zero"); \
57 ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \
59 BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, \
61 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
62 (1ULL << __bf_shf(_mask))); \
73 #define FIELD_PREP(_mask, _val) \ argument
75 __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \
76 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
[all …]
Dnospec.h51 unsigned long _mask = array_index_mask_nospec(_i, _s); \
56 (typeof(_i)) (_i & _mask); \
Dbitops.h232 #define set_mask_bits(ptr, _mask, _bits) \ argument
234 const typeof(*ptr) mask = (_mask), bits = (_bits); \
Dregmap.h860 #define REGMAP_IRQ_REG(_irq, _off, _mask) \ argument
861 [_irq] = { .reg_offset = (_off), .mask = (_mask) }
/include/linux/perf/
Darm_pmu.h144 #define PMU_PROBE(_cpuid, _mask, _fn) \ argument
147 .mask = (_mask), \
/include/linux/regulator/
Dab8500.h99 #define INIT_REGULATOR_REGISTER(_id, _mask, _value) \ argument
102 .mask = _mask, \
/include/linux/netfilter/
Dx_tables.h362 const char *_mask) in ifname_compare_aligned() argument
366 const unsigned long *mask = (const unsigned long *)_mask; in ifname_compare_aligned()