Home
last modified time | relevance | path

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

12345678910>>...99

/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/include/linux/
H A Dbitfield.h53 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, \
61 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
62 (1ULL << __bf_shf(_mask))); \
72 #define FIELD_FIT(_mask, _val) \ argument
75 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
86 #define FIELD_PREP(_mask, _val) \ argument
89 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
100 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/include/linux/
H A Dbitfield.h53 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, \
61 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
62 (1ULL << __bf_shf(_mask))); \
72 #define FIELD_FIT(_mask, _val) \ argument
75 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
86 #define FIELD_PREP(_mask, _val) \ argument
89 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
100 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot/include/linux/
H A Dbitfield.h53 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, \
61 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
62 (1ULL << __bf_shf(_mask))); \
72 #define FIELD_FIT(_mask, _val) \ argument
75 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
86 #define FIELD_PREP(_mask, _val) \ argument
89 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
100 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot/include/linux/
H A Dbitfield.h53 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, \
61 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
62 (1ULL << __bf_shf(_mask))); \
72 #define FIELD_FIT(_mask, _val) \ argument
75 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
86 #define FIELD_PREP(_mask, _val) \ argument
89 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
100 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/sysutils/u-boot-tools/u-boot-2020.07/include/linux/
H A Dbitfield.h53 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, \
61 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
62 (1ULL << __bf_shf(_mask))); \
72 #define FIELD_FIT(_mask, _val) \ argument
75 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
86 #define FIELD_PREP(_mask, _val) \ argument
89 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
100 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/u-boot/include/linux/
H A Dbitfield.h53 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, \
61 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
62 (1ULL << __bf_shf(_mask))); \
72 #define FIELD_FIT(_mask, _val) \ argument
75 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
86 #define FIELD_PREP(_mask, _val) \ argument
89 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
100 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/editors/texworks/texworks-release-0.6.2/modules/QtPDF/src/
H A DPDFTransitions.cpp202 data[i] = (2 * 255 * (_mask.height() - 1 - j)) / (_mask.height() - 2); in initMask()
211 data[i] = (2 * 255 * (_mask.width() - 1 - i)) / (_mask.width() - 2); in initMask()
220 data[i] = (2 * 255 * (_mask.height() / 2 - 1 - j)) / (_mask.height() - 2); in initMask()
225 data[i] = (2 * 255 * (j - _mask.height() / 2)) / (_mask.height() - 2); in initMask()
232 data[i] = (2 * 255 * (_mask.width() / 2 - 1 - i)) / (_mask.width() - 2); in initMask()
234 data[i] = (2 * 255 * (i - _mask.width() / 2)) / (_mask.width() - 2); in initMask()
273 int max = _mask.width() * _mask.height(); in initMask()
280 x = _mask.width() * _mask.height() - _mask.height() * i - _mask.width() * j; in initMask()
281 y = _mask.height() * i - _mask.width() * j; in initMask()
291 x = _mask.width() * _mask.height() - _mask.height() * i - _mask.width() * j; in initMask()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/
H A Dbitfield.h50 ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \
54 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
55 (1ULL << __bf_shf(_mask))); \
65 #define FIELD_MAX(_mask) \ argument
68 (typeof(_mask))((_mask) >> __bf_shf(_mask)); \
78 #define FIELD_FIT(_mask, _val) \ argument
81 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
92 #define FIELD_PREP(_mask, _val) \ argument
95 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
106 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/
H A Dbitfield.h50 ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \
54 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
55 (1ULL << __bf_shf(_mask))); \
65 #define FIELD_MAX(_mask) \ argument
68 (typeof(_mask))((_mask) >> __bf_shf(_mask)); \
78 #define FIELD_FIT(_mask, _val) \ argument
81 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
92 #define FIELD_PREP(_mask, _val) \ argument
95 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
106 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/
H A Dbitfield.h50 ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \
54 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
55 (1ULL << __bf_shf(_mask))); \
65 #define FIELD_MAX(_mask) \ argument
68 (typeof(_mask))((_mask) >> __bf_shf(_mask)); \
78 #define FIELD_FIT(_mask, _val) \ argument
81 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
92 #define FIELD_PREP(_mask, _val) \ argument
95 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
106 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/devel/pear-Horde_Autoloader_Cache/Horde_Autoloader_Cache-2.1.3/lib/Horde/Autoloader/Cache/
H A DBootstrap.php50 protected $_mask = 0; variable in Horde_Autoloader_Cache_Bootstrap
68 $this->_mask |= self::APC;
70 $this->_mask |= self::XCACHE;
84 $this->_mask |= self::LZ4;
86 $this->_mask |= self::LZF;
103 if ($this->_mask & self::APC) {
119 if ($this->_mask & self::LZ4) {
128 : ($this->_mask & self::MSGPACK)
147 if ($this->_mask & self::LZ4) {
153 if ($this->_mask & self::APC) {
[all …]
/dports/devel/boost-docs/boost_1_72_0/boost/gil/extension/io/bmp/detail/
H A Dscanline_read.hpp202 this->_mask.red.width = detail::count_ones( this->_mask.red.mask ); in initialize()
203 this->_mask.green.width = detail::count_ones( this->_mask.green.mask ); in initialize()
217 … this->_mask.red.mask = 0x007C00; this->_mask.red.width = 5; this->_mask.red.shift = 10; in initialize()
218 … this->_mask.green.mask = 0x0003E0; this->_mask.green.width = 5; this->_mask.green.shift = 5; in initialize()
219 … this->_mask.blue.mask = 0x00001F; this->_mask.blue.width = 5; this->_mask.blue.shift = 0; in initialize()
227 … this->_mask.red.mask = 0xFF0000; this->_mask.red.width = 8; this->_mask.red.shift = 16; in initialize()
228 … this->_mask.green.mask = 0x00FF00; this->_mask.green.width = 8; this->_mask.green.shift = 8; in initialize()
229 … this->_mask.blue.mask = 0x0000FF; this->_mask.blue.width = 8; this->_mask.blue.shift = 0; in initialize()
384 … int r = ((p & this->_mask.red.mask) >> this->_mask.red.shift) << (8 - this->_mask.red.width); in read_15_bits_row()
385 …int g = ((p & this->_mask.green.mask) >> this->_mask.green.shift) << (8 - this->_mask.green.width); in read_15_bits_row()
[all …]
/dports/devel/hyperscan/boost_1_75_0/boost/gil/extension/io/bmp/detail/
H A Dscanline_read.hpp202 this->_mask.red.width = detail::count_ones( this->_mask.red.mask ); in initialize()
203 this->_mask.green.width = detail::count_ones( this->_mask.green.mask ); in initialize()
217 … this->_mask.red.mask = 0x007C00; this->_mask.red.width = 5; this->_mask.red.shift = 10; in initialize()
218 … this->_mask.green.mask = 0x0003E0; this->_mask.green.width = 5; this->_mask.green.shift = 5; in initialize()
219 … this->_mask.blue.mask = 0x00001F; this->_mask.blue.width = 5; this->_mask.blue.shift = 0; in initialize()
227 … this->_mask.red.mask = 0xFF0000; this->_mask.red.width = 8; this->_mask.red.shift = 16; in initialize()
228 … this->_mask.green.mask = 0x00FF00; this->_mask.green.width = 8; this->_mask.green.shift = 8; in initialize()
229 … this->_mask.blue.mask = 0x0000FF; this->_mask.blue.width = 8; this->_mask.blue.shift = 0; in initialize()
384 … int r = ((p & this->_mask.red.mask) >> this->_mask.red.shift) << (8 - this->_mask.red.width); in read_15_bits_row()
385 …int g = ((p & this->_mask.green.mask) >> this->_mask.green.shift) << (8 - this->_mask.green.width); in read_15_bits_row()
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/boost/gil/extension/io/bmp/detail/
H A Dscanline_read.hpp202 this->_mask.red.width = detail::count_ones( this->_mask.red.mask ); in initialize()
203 this->_mask.green.width = detail::count_ones( this->_mask.green.mask ); in initialize()
217 … this->_mask.red.mask = 0x007C00; this->_mask.red.width = 5; this->_mask.red.shift = 10; in initialize()
218 … this->_mask.green.mask = 0x0003E0; this->_mask.green.width = 5; this->_mask.green.shift = 5; in initialize()
219 … this->_mask.blue.mask = 0x00001F; this->_mask.blue.width = 5; this->_mask.blue.shift = 0; in initialize()
227 … this->_mask.red.mask = 0xFF0000; this->_mask.red.width = 8; this->_mask.red.shift = 16; in initialize()
228 … this->_mask.green.mask = 0x00FF00; this->_mask.green.width = 8; this->_mask.green.shift = 8; in initialize()
229 … this->_mask.blue.mask = 0x0000FF; this->_mask.blue.width = 8; this->_mask.blue.shift = 0; in initialize()
384 … int r = ((p & this->_mask.red.mask) >> this->_mask.red.shift) << (8 - this->_mask.red.width); in read_15_bits_row()
385 …int g = ((p & this->_mask.green.mask) >> this->_mask.green.shift) << (8 - this->_mask.green.width); in read_15_bits_row()
[all …]
/dports/science/py-scipy/scipy-1.7.1/scipy/_lib/boost/boost/gil/extension/io/bmp/detail/
H A Dscanline_read.hpp202 this->_mask.red.width = detail::count_ones( this->_mask.red.mask ); in initialize()
203 this->_mask.green.width = detail::count_ones( this->_mask.green.mask ); in initialize()
217 … this->_mask.red.mask = 0x007C00; this->_mask.red.width = 5; this->_mask.red.shift = 10; in initialize()
218 … this->_mask.green.mask = 0x0003E0; this->_mask.green.width = 5; this->_mask.green.shift = 5; in initialize()
219 … this->_mask.blue.mask = 0x00001F; this->_mask.blue.width = 5; this->_mask.blue.shift = 0; in initialize()
227 … this->_mask.red.mask = 0xFF0000; this->_mask.red.width = 8; this->_mask.red.shift = 16; in initialize()
228 … this->_mask.green.mask = 0x00FF00; this->_mask.green.width = 8; this->_mask.green.shift = 8; in initialize()
229 … this->_mask.blue.mask = 0x0000FF; this->_mask.blue.width = 8; this->_mask.blue.shift = 0; in initialize()
384 … int r = ((p & this->_mask.red.mask) >> this->_mask.red.shift) << (8 - this->_mask.red.width); in read_15_bits_row()
385 …int g = ((p & this->_mask.green.mask) >> this->_mask.green.shift) << (8 - this->_mask.green.width); in read_15_bits_row()
[all …]
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/boost/gil/extension/io/bmp/detail/
H A Dscanline_read.hpp202 this->_mask.red.width = detail::count_ones( this->_mask.red.mask ); in initialize()
203 this->_mask.green.width = detail::count_ones( this->_mask.green.mask ); in initialize()
217 … this->_mask.red.mask = 0x007C00; this->_mask.red.width = 5; this->_mask.red.shift = 10; in initialize()
218 … this->_mask.green.mask = 0x0003E0; this->_mask.green.width = 5; this->_mask.green.shift = 5; in initialize()
219 … this->_mask.blue.mask = 0x00001F; this->_mask.blue.width = 5; this->_mask.blue.shift = 0; in initialize()
227 … this->_mask.red.mask = 0xFF0000; this->_mask.red.width = 8; this->_mask.red.shift = 16; in initialize()
228 … this->_mask.green.mask = 0x00FF00; this->_mask.green.width = 8; this->_mask.green.shift = 8; in initialize()
229 … this->_mask.blue.mask = 0x0000FF; this->_mask.blue.width = 8; this->_mask.blue.shift = 0; in initialize()
384 … int r = ((p & this->_mask.red.mask) >> this->_mask.red.shift) << (8 - this->_mask.red.width); in read_15_bits_row()
385 …int g = ((p & this->_mask.green.mask) >> this->_mask.green.shift) << (8 - this->_mask.green.width); in read_15_bits_row()
[all …]
/dports/devel/boost-libs/boost_1_72_0/boost/gil/extension/io/bmp/detail/
H A Dscanline_read.hpp202 this->_mask.red.width = detail::count_ones( this->_mask.red.mask ); in initialize()
203 this->_mask.green.width = detail::count_ones( this->_mask.green.mask ); in initialize()
217 … this->_mask.red.mask = 0x007C00; this->_mask.red.width = 5; this->_mask.red.shift = 10; in initialize()
218 … this->_mask.green.mask = 0x0003E0; this->_mask.green.width = 5; this->_mask.green.shift = 5; in initialize()
219 … this->_mask.blue.mask = 0x00001F; this->_mask.blue.width = 5; this->_mask.blue.shift = 0; in initialize()
227 … this->_mask.red.mask = 0xFF0000; this->_mask.red.width = 8; this->_mask.red.shift = 16; in initialize()
228 … this->_mask.green.mask = 0x00FF00; this->_mask.green.width = 8; this->_mask.green.shift = 8; in initialize()
229 … this->_mask.blue.mask = 0x0000FF; this->_mask.blue.width = 8; this->_mask.blue.shift = 0; in initialize()
384 … int r = ((p & this->_mask.red.mask) >> this->_mask.red.shift) << (8 - this->_mask.red.width); in read_15_bits_row()
385 …int g = ((p & this->_mask.green.mask) >> this->_mask.green.shift) << (8 - this->_mask.green.width); in read_15_bits_row()
[all …]
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/lib/stan_math/lib/boost_1.69.0/boost/gil/extension/io/bmp/detail/
H A Dscanline_read.hpp202 this->_mask.red.width = detail::count_ones( this->_mask.red.mask ); in initialize()
203 this->_mask.green.width = detail::count_ones( this->_mask.green.mask ); in initialize()
217 … this->_mask.red.mask = 0x007C00; this->_mask.red.width = 5; this->_mask.red.shift = 10; in initialize()
218 … this->_mask.green.mask = 0x0003E0; this->_mask.green.width = 5; this->_mask.green.shift = 5; in initialize()
219 … this->_mask.blue.mask = 0x00001F; this->_mask.blue.width = 5; this->_mask.blue.shift = 0; in initialize()
227 … this->_mask.red.mask = 0xFF0000; this->_mask.red.width = 8; this->_mask.red.shift = 16; in initialize()
228 … this->_mask.green.mask = 0x00FF00; this->_mask.green.width = 8; this->_mask.green.shift = 8; in initialize()
229 … this->_mask.blue.mask = 0x0000FF; this->_mask.blue.width = 8; this->_mask.blue.shift = 0; in initialize()
384 … int r = ((p & this->_mask.red.mask) >> this->_mask.red.shift) << (8 - this->_mask.red.width); in read_15_bits_row()
385 …int g = ((p & this->_mask.green.mask) >> this->_mask.green.shift) << (8 - this->_mask.green.width); in read_15_bits_row()
[all …]
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/include/linux/
H A Dbitfield.h54 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
56 BUILD_BUG_ON_MSG(!(_mask), _pfx "mask is zero"); \
58 ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \
62 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
63 (1ULL << __bf_shf(_mask))); \
73 #define FIELD_FIT(_mask, _val) \ argument
76 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
87 #define FIELD_PREP(_mask, _val) \ argument
90 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
101 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/include/linux/
H A Dbitfield.h54 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
56 BUILD_BUG_ON_MSG(!(_mask), _pfx "mask is zero"); \
58 ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \
62 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
63 (1ULL << __bf_shf(_mask))); \
73 #define FIELD_FIT(_mask, _val) \ argument
76 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
87 #define FIELD_PREP(_mask, _val) \ argument
90 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
101 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/include/linux/
H A Dbitfield.h54 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
56 BUILD_BUG_ON_MSG(!(_mask), _pfx "mask is zero"); \
58 ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \
62 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
63 (1ULL << __bf_shf(_mask))); \
73 #define FIELD_FIT(_mask, _val) \ argument
76 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
87 #define FIELD_PREP(_mask, _val) \ argument
90 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
101 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/include/linux/
H A Dbitfield.h54 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
56 BUILD_BUG_ON_MSG(!(_mask), _pfx "mask is zero"); \
58 ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \
62 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
63 (1ULL << __bf_shf(_mask))); \
73 #define FIELD_FIT(_mask, _val) \ argument
76 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
87 #define FIELD_PREP(_mask, _val) \ argument
90 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
101 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/include/linux/
H A Dbitfield.h54 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
56 BUILD_BUG_ON_MSG(!(_mask), _pfx "mask is zero"); \
58 ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \
62 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
63 (1ULL << __bf_shf(_mask))); \
73 #define FIELD_FIT(_mask, _val) \ argument
76 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
87 #define FIELD_PREP(_mask, _val) \ argument
90 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
101 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/include/linux/
H A Dbitfield.h54 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
56 BUILD_BUG_ON_MSG(!(_mask), _pfx "mask is zero"); \
58 ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \
62 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
63 (1ULL << __bf_shf(_mask))); \
73 #define FIELD_FIT(_mask, _val) \ argument
76 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
87 #define FIELD_PREP(_mask, _val) \ argument
90 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
101 #define FIELD_GET(_mask, _reg) \ argument
[all …]
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/include/linux/
H A Dbitfield.h54 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
56 BUILD_BUG_ON_MSG(!(_mask), _pfx "mask is zero"); \
58 ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \
62 __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
63 (1ULL << __bf_shf(_mask))); \
73 #define FIELD_FIT(_mask, _val) \ argument
76 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
87 #define FIELD_PREP(_mask, _val) \ argument
90 ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
101 #define FIELD_GET(_mask, _reg) \ argument
[all …]

12345678910>>...99