Searched refs:low_bit (Results 1 - 9 of 9) sorted by relevance

/linux-master/drivers/gpu/drm/exynos/
H A Dregs-vp.h52 #define VP_MASK(high_bit, low_bit) \
53 (((2 << ((high_bit) - (low_bit))) - 1) << (low_bit))
55 #define VP_MASK_VAL(val, high_bit, low_bit) \
56 (((val) << (low_bit)) & VP_MASK(high_bit, low_bit))
H A Dregs-mixer.h66 #define MXR_MASK(high_bit, low_bit) \
67 (((2 << ((high_bit) - (low_bit))) - 1) << (low_bit))
69 #define MXR_MASK_VAL(val, high_bit, low_bit) \
70 (((val) << (low_bit)) & MXR_MASK(high_bit, low_bit))
/linux-master/drivers/ras/amd/atl/
H A Dinternal.h267 * Remove bits in @data between @low_bit and @high_bit inclusive.
269 * low_bit = 3
273 static inline u64 remove_bits(u8 low_bit, u8 high_bit, u64 data) argument
278 WARN_ON_ONCE(low_bit >= BITS_PER_LONG);
279 WARN_ON_ONCE(low_bit > high_bit);
281 if (!low_bit)
284 temp1 = GENMASK_ULL(low_bit - 1, 0) & data;
286 temp2 >>= high_bit - low_bit + 1;
H A Ddenormalize.c472 u8 low_bit, intlv_bit = ctx->map.intlv_bit_pos; local
494 low_bit = 14 + np2_bits - total_intlv_bits;
495 msb_intlv_bits = ctx->ret_addr >> low_bit;
506 temp_addr_b = GENMASK_ULL(low_bit - 1, intlv_bit) & ctx->ret_addr;
523 temp_addr_b |= phys_addr_msb << (low_bit - total_intlv_bits - intlv_bit);
/linux-master/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.h74 * @low_bit: The lowest bit of this group.
81 unsigned char low_bit; member in struct:mtk_drv_group_desc
90 .low_bit = _low, \
H A Dpinctrl-mtk-common.c227 bits = drv_grp->high_bit - drv_grp->low_bit + 1;
229 shift = pin_drv->bit + drv_grp->low_bit;
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Defuse_be.c449 u8 low_bit, high_bit, cnt_zero = 0; local
457 low_bit = !!(sel_form_v & BIT(idx));
459 if (low_bit != high_bit)
461 if (low_bit)
471 low_bit = u8_get_bits(sel_idx_v, 0x0F);
474 if ((low_bit ^ high_bit) != 0xF)
477 return sb_cryp_sel_v + low_bit;
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx.h145 * @low_bit: Lowest bit value can occupy inclusive 0-high_bit
150 uint64_t low_bit, uint64_t value)
152 return (value & cvmx_build_mask(high_bit - low_bit + 1)) << low_bit;
149 cvmx_build_bits(uint64_t high_bit, uint64_t low_bit, uint64_t value) argument
/linux-master/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h232 #define KVM_X86_CPU_PROPERTY(fn, idx, gpr, low_bit, high_bit) \
238 .lo_bit = low_bit, \
242 kvm_static_assert(low_bit < high_bit); \

Completed in 175 milliseconds