Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/drivers/ras/amd/atl/
H A Dinternal.h332 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-6.15/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-6.15/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.h82 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-6.15/arch/mips/include/asm/octeon/
H A Dcvmx.h149 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-6.15/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h243 #define KVM_X86_CPU_PROPERTY(fn, idx, gpr, low_bit, high_bit) \ argument
250 .hi_bit = high_bit, \
253 kvm_static_assert(low_bit < high_bit); \
/linux-6.15/fs/bcachefs/
H A Dbset.c601 int shift, exponent, high_bit; in make_bfloat() local
624 high_bit = max(bch2_bkey_greatest_differing_bit(b, l, r), in make_bfloat()
626 exponent = high_bit - (BKEY_MANTISSA_BITS - 1); in make_bfloat()