Home
last modified time | relevance | path

Searched refs:high_bit (Results 1 – 8 of 8) 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.h336 static inline u64 remove_bits(u8 low_bit, u8 high_bit, u64 data) in remove_bits() argument
340 WARN_ON_ONCE(high_bit >= BITS_PER_LONG); in remove_bits()
342 WARN_ON_ONCE(low_bit > high_bit); in remove_bits()
345 return data >> (high_bit++); in remove_bits()
348 temp2 = GENMASK_ULL(63, high_bit + 1) & data; in remove_bits()
349 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.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/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/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h247 #define KVM_X86_CPU_PROPERTY(fn, idx, gpr, low_bit, high_bit) \ argument
254 .hi_bit = high_bit, \
257 kvm_static_assert(low_bit < high_bit); \