Home
last modified time | relevance | path

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

12

/third_party/uboot/u-boot-2020.01/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))); \
72 #define FIELD_FIT(_mask, _val) \ argument
74 __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_FIT: "); \
75 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
[all …]
/third_party/boost/boost/gil/extension/io/bmp/detail/
Dscanline_read.hpp198 this->_mask.red.mask = this->_io_dev.read_uint32(); in initialize()
199 this->_mask.green.mask = this->_io_dev.read_uint32(); in initialize()
200 this->_mask.blue.mask = this->_io_dev.read_uint32(); in initialize()
202 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()
204 this->_mask.blue.width = detail::count_ones( this->_mask.blue.mask ); in initialize()
206 this->_mask.red.shift = detail::trailing_zeros( this->_mask.red.mask ); in initialize()
207 this->_mask.green.shift = detail::trailing_zeros( this->_mask.green.mask ); in initialize()
208 this->_mask.blue.shift = detail::trailing_zeros( this->_mask.blue.mask ); in initialize()
217 … this->_mask.red.mask = 0x007C00; this->_mask.red.width = 5; this->_mask.red.shift = 10; in initialize()
[all …]
Dread.hpp305 this->_mask.red.mask = this->_io_dev.read_uint32(); in read_data_15()
306 this->_mask.green.mask = this->_io_dev.read_uint32(); in read_data_15()
307 this->_mask.blue.mask = this->_io_dev.read_uint32(); in read_data_15()
309 this->_mask.red.width = detail::count_ones( this->_mask.red.mask ); in read_data_15()
310 this->_mask.green.width = detail::count_ones( this->_mask.green.mask ); in read_data_15()
311 this->_mask.blue.width = detail::count_ones( this->_mask.blue.mask ); in read_data_15()
313 this->_mask.red.shift = detail::trailing_zeros( this->_mask.red.mask ); in read_data_15()
314 this->_mask.green.shift = detail::trailing_zeros( this->_mask.green.mask ); in read_data_15()
315 this->_mask.blue.shift = detail::trailing_zeros( this->_mask.blue.mask ); in read_data_15()
324 … this->_mask.red.mask = 0x007C00; this->_mask.red.width = 5; this->_mask.red.shift = 10; in read_data_15()
[all …]
Dreader_backend.hpp237 color_mask _mask; member
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/mvebu/
Dpinctrl-armada-37xx.c100 #define PIN_GRP(_name, _start, _nr, _mask, _func1, _func2) \ argument
105 .reg_mask = _mask, \
106 .val = {0, _mask}, \
110 #define PIN_GRP_GPIO(_name, _start, _nr, _mask, _func1) \ argument
115 .reg_mask = _mask, \
116 .val = {0, _mask}, \
120 #define PIN_GRP_GPIO_2(_name, _start, _nr, _mask, _val1, _val2, _func1) \ argument
125 .reg_mask = _mask, \
130 #define PIN_GRP_GPIO_3(_name, _start, _nr, _mask, _v1, _v2, _v3, _f1, _f2) \ argument
135 .reg_mask = _mask, \
[all …]
/third_party/uboot/u-boot-2020.01/drivers/net/hisfv300/
Dctrl.c159 u32 _mask = ((1 << (_bits_desc & 0x1F)) - 1) << _shift; in hieth_readl_bits() local
160 u32 reg = (hieth_readl(ld, ofs) & _mask) >> _shift; in hieth_readl_bits()
169 u32 _mask = ((1 << (_bits_desc & 0x1F)) - 1) << _shift; in hieth_writel_bits() local
170 hieth_writel(ld, (_reg & (~_mask)) | ((v << _shift) & _mask), ofs); in hieth_writel_bits()
/third_party/uboot/u-boot-2020.01/arch/mips/mach-ath79/qca956x/
Dclk.c183 static inline void set_val(u32 _reg, u32 _mask, u32 _val) in set_val() argument
187 writel((readl(pll_regs + _reg) & (~(_mask))) | _val, pll_regs + _reg); in set_val()
190 #define cpu_pll_set(_mask, _val) \ argument
191 set_val(QCA956X_PLL_CPU_CONFIG_REG, _mask, _val)
193 #define ddr_pll_set(_mask, _val) \ argument
194 set_val(QCA956X_PLL_DDR_CONFIG_REG, _mask, _val)
196 #define cpu_ddr_control_set(_mask, _val) \ argument
197 set_val(QCA956X_PLL_CLK_CTRL_REG, _mask, _val)
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/mtmips/
Dpinctrl-mtmips-common.h41 #define GRP(_name, _funcs, _reg, _shift, _mask) \ argument
42 { .name = (_name), .reg = (_reg), .shift = (_shift), .mask = (_mask), \
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddragonfly.c193 struct crypto_bignum *_mask, in dragonfly_generate_scalar() argument
202 dragonfly_get_rand_2_to_r_1(_mask, order) && in dragonfly_generate_scalar()
203 crypto_bignum_add(_rand, _mask, scalar) == 0 && in dragonfly_generate_scalar()
Ddragonfly.h28 struct crypto_bignum *_mask,
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddragonfly.c193 struct crypto_bignum *_mask, in dragonfly_generate_scalar() argument
202 dragonfly_get_rand_2_to_r_1(_mask, order) && in dragonfly_generate_scalar()
203 crypto_bignum_add(_rand, _mask, scalar) == 0 && in dragonfly_generate_scalar()
Ddragonfly.h28 struct crypto_bignum *_mask,
/third_party/flutter/skia/src/core/
DSkVM.cpp676 static int operator"" _mask(unsigned long long bits) { return (1<<(int)bits)-1; } in operator ""_mask()
679 this->word( (hi & 11_mask) << 21 in op()
680 | (m & 5_mask) << 16 in op()
681 | (lo & 6_mask) << 10 in op()
682 | (n & 5_mask) << 5 in op()
683 | (d & 5_mask) << 0); in op()
708 this->word( (op22 & 22_mask) << 10 in op()
710 | (n & 5_mask) << 5 in op()
711 | (d & 5_mask) << 0); in op()
741 | (n & 5_mask) << 5); in ret()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/net/higmacv300/
Dctrl.c639 u32 _mask = ((_bits_desc & 0x3F) < 32) ? /* 32bit register */ in higmac_readl_bits() local
641 u32 reg = (higmac_readl(ld, ofs) & _mask) >> _shift; in higmac_readl_bits()
650 u32 _mask = ((_bits_desc & 0x3F) < 32) ? /* 32bit register */ in higmac_writel_bits() local
652 higmac_writel(ld, (_reg & (~_mask)) | ((v << _shift) & _mask), ofs); in higmac_writel_bits()
/third_party/skia/src/core/
DSkVM.cpp2297 static int operator"" _mask(unsigned long long bits) { return (1<<(int)bits)-1; } in operator ""_mask()
2300 this->word( (hi & 11_mask) << 21 in op()
2301 | (m & 5_mask) << 16 in op()
2302 | (lo & 6_mask) << 10 in op()
2303 | (n & 5_mask) << 5 in op()
2304 | (d & 5_mask) << 0); in op()
2307 this->word( (op22 & 22_mask) << 10 in op()
2309 | (n & 5_mask) << 5 in op()
2310 | (d & 5_mask) << 0); in op()
2355 this->op(0b0'1'1'011110'0100'000'01010'1, n, d, ( imm5 & 5_mask)<<16); in sli4s()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_pwd_common.h74 struct crypto_bignum *_mask,
Deap_pwd_common.c444 struct crypto_bignum *_mask, in eap_pwd_get_rand_mask() argument
448 _rand, _mask, scalar); in eap_pwd_get_rand_mask()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_pwd_common.h74 struct crypto_bignum *_mask,
Deap_pwd_common.c444 struct crypto_bignum *_mask, in eap_pwd_get_rand_mask() argument
448 _rand, _mask, scalar); in eap_pwd_get_rand_mask()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-tegra/tegra124/
Dxusb-padctl.c82 #define TEGRA124_LANE(_name, _offset, _shift, _mask, _iddq, _funcs) \ argument
87 .mask = _mask, \
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dtext.dart345 const TextDecoration._(this._mask);
351 mask |= decoration._mask;
356 final int _mask;
360 return (_mask | other._mask) == _mask;
381 return _mask == typedOther._mask;
385 int get hashCode => _mask.hashCode;
389 if (_mask == 0) {
393 if (_mask & underline._mask != 0) {
396 if (_mask & overline._mask != 0) {
399 if (_mask & lineThrough._mask != 0) {
/third_party/uboot/u-boot-2020.01/arch/arm/mach-tegra/tegra210/
Dxusb-padctl.c62 #define TEGRA210_LANE(_name, _offset, _shift, _mask, _iddq, _funcs) \ argument
67 .mask = _mask, \
/third_party/flutter/engine/flutter/lib/ui/
Dtext.dart359 const TextDecoration._(this._mask);
365 mask |= decoration._mask;
369 final int _mask;
373 return (_mask | other._mask) == _mask;
393 return _mask == typedOther._mask;
397 int get hashCode => _mask.hashCode;
401 if (_mask == 0)
404 if (_mask & underline._mask != 0)
406 if (_mask & overline._mask != 0)
408 if (_mask & lineThrough._mask != 0)
[all …]
/third_party/qrcodegen/python/
Dqrcodegen.py152 _mask: int
205 self._mask = mask
226 return self._mask
/third_party/pixman/pixman/
Dpixman-vmx.c180 source ## _mask = vec_lvsl (0, source);
183 source ## _mask = vec_lvsl (0, source);
186 mask ## _mask = vec_lvsl (0, mask); \
187 source ## _mask = vec_lvsl (0, source);
196 vec_perm (tmp1, tmp2, source ## _mask); \

12