Home
last modified time | relevance | path

Searched refs:high_bit (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/gpu/drm/exynos/
H A Dregs-vp.h52 #define VP_MASK(high_bit, low_bit) \ argument
53 (((2 << ((high_bit) - (low_bit))) - 1) << (low_bit))
55 #define VP_MASK_VAL(val, high_bit, low_bit) \ argument
56 (((val) << (low_bit)) & VP_MASK(high_bit, low_bit))
H A Dregs-mixer.h66 #define MXR_MASK(high_bit, low_bit) \ argument
67 (((2 << ((high_bit) - (low_bit))) - 1) << (low_bit))
69 #define MXR_MASK_VAL(val, high_bit, low_bit) \ argument
70 (((val) << (low_bit)) & MXR_MASK(high_bit, low_bit))
/linux/drivers/ras/amd/atl/
H A Dinternal.h326 * Remove bits in @data between @low_bit and @high_bit inclusive.
329 * high_bit = 4
332 static inline u64 remove_bits(u8 low_bit, u8 high_bit, u64 data) in remove_bits() argument
336 WARN_ON_ONCE(high_bit >= BITS_PER_LONG); in remove_bits()
338 WARN_ON_ONCE(low_bit > high_bit); in remove_bits()
341 return data >> (high_bit++); in remove_bits()
344 temp2 = GENMASK_ULL(63, high_bit + 1) & data; in remove_bits()
345 temp2 >>= high_bit - low_bit + 1; in remove_bits()
/linux/drivers/net/wireless/realtek/rtw89/
H A Defuse_be.c437 u8 low_bit, high_bit, cnt_zero = 0; in get_sb_cryp_sel_idx() local
446 high_bit = !!(sel_form_v & BIT(7 - idx)); in get_sb_cryp_sel_idx()
447 if (low_bit != high_bit) in get_sb_cryp_sel_idx()
460 high_bit = u8_get_bits(sel_idx_v, 0xF0); in get_sb_cryp_sel_idx()
462 if ((low_bit ^ high_bit) != 0xF) in get_sb_cryp_sel_idx()
/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.h75 * @high_bit: The highest bit of this group.
82 unsigned char high_bit; member
91 .high_bit = _high, \
H A Dpinctrl-mtk-common.c227 bits = drv_grp->high_bit - drv_grp->low_bit + 1; in mtk_pconf_set_driving()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx.h144 * @high_bit: Highest bit value can occupy (inclusive) 0-63
145 * @low_bit: Lowest bit value can occupy inclusive 0-high_bit
149 static inline uint64_t cvmx_build_bits(uint64_t high_bit, in cvmx_build_bits() argument
152 return (value & cvmx_build_mask(high_bit - low_bit + 1)) << low_bit; in cvmx_build_bits()
/linux/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h244 #define KVM_X86_CPU_PROPERTY(fn, idx, gpr, low_bit, high_bit) \ argument
251 .hi_bit = high_bit, \
254 kvm_static_assert(low_bit < high_bit); \
/linux/fs/bcachefs/
H A Dbset.c609 int shift, exponent, high_bit; in make_bfloat() local
632 high_bit = max(bch2_bkey_greatest_differing_bit(b, l, r), in make_bfloat()
634 exponent = high_bit - (BKEY_MANTISSA_BITS - 1); in make_bfloat()