Searched refs:high_bit (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/gpu/drm/exynos/ |
| A D | regs-vp.h | 52 #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))
|
| A D | regs-mixer.h | 66 #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/ |
| A D | internal.h | 331 static inline u64 remove_bits(u8 low_bit, u8 high_bit, u64 data) in remove_bits() argument 335 WARN_ON_ONCE(high_bit >= BITS_PER_LONG); in remove_bits() 337 WARN_ON_ONCE(low_bit > high_bit); in remove_bits() 340 return data >> (high_bit++); in remove_bits() 343 temp2 = GENMASK_ULL(63, high_bit + 1) & data; in remove_bits() 344 temp2 >>= high_bit - low_bit + 1; in remove_bits()
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| A D | efuse_be.c | 449 u8 low_bit, high_bit, cnt_zero = 0; in get_sb_cryp_sel_idx() local 458 high_bit = !!(sel_form_v & BIT(7 - idx)); in get_sb_cryp_sel_idx() 459 if (low_bit != high_bit) in get_sb_cryp_sel_idx() 472 high_bit = u8_get_bits(sel_idx_v, 0xF0); in get_sb_cryp_sel_idx() 474 if ((low_bit ^ high_bit) != 0xF) in get_sb_cryp_sel_idx()
|
| /linux/drivers/pinctrl/mediatek/ |
| A D | pinctrl-mtk-common.h | 82 unsigned char high_bit; member 91 .high_bit = _high, \
|
| A D | pinctrl-mtk-common.c | 227 bits = drv_grp->high_bit - drv_grp->low_bit + 1; in mtk_pconf_set_driving()
|
| /linux/arch/mips/include/asm/octeon/ |
| A D | cvmx.h | 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_64/ |
| A D | processor.h | 237 #define KVM_X86_CPU_PROPERTY(fn, idx, gpr, low_bit, high_bit) \ argument 244 .hi_bit = high_bit, \ 247 kvm_static_assert(low_bit < high_bit); \
|
| /linux/fs/bcachefs/ |
| A D | bset.c | 601 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()
|
Completed in 29 milliseconds