Searched refs:high_bit (Results 1 – 6 of 6) sorted by relevance
| /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))
|
| /drivers/ras/amd/atl/ |
| A D | internal.h | 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()
|
| /drivers/net/wireless/realtek/rtw89/ |
| A D | efuse_be.c | 437 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()
|
| /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()
|
Completed in 15 milliseconds