/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A D | i915_reg_defs.h | 70 #define REG_FIELD_PREP(__mask, __val) \ argument 71 ((u32)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \ 72 BUILD_BUG_ON_ZERO(!__is_constexpr(__mask)) + \ 73 BUILD_BUG_ON_ZERO((__mask) == 0 || (__mask) > U32_MAX) + \ 74 BUILD_BUG_ON_ZERO(!IS_POWER_OF_2((__mask) + (1ULL << __bf_shf(__mask)))) + \ 75 …D_BUG_ON_ZERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & (__v… 87 #define REG_FIELD_GET(__mask, __val) ((u32)FIELD_GET(__mask, __val)) argument 99 #define REG_FIELD_GET64(__mask, __val) ((u64)FIELD_GET(__mask, __val)) argument
|
/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2x00reg.h | 207 BUILD_BUG_ON(!(__mask) || \ 209 (__mask) != (__type)(__mask)) \ 211 #define FIELD8(__mask) \ argument 213 FIELD_CHECK(__mask, u8); \ 215 compile_ffs8(__mask), (__mask) \ 219 #define FIELD16(__mask) \ argument 221 FIELD_CHECK(__mask, u16); \ 223 compile_ffs16(__mask), (__mask) \ 227 #define FIELD32(__mask) \ argument 229 FIELD_CHECK(__mask, u32); \ [all …]
|
/linux-6.3-rc2/arch/s390/include/asm/ |
A D | irqflags.h | 17 unsigned long __mask; \ 20 : "=Q" (__mask) : "i" (__or) : "memory"); \ 21 __mask; \ 27 unsigned long __mask; \ 30 : "=Q" (__mask) : "i" (__and) : "memory"); \ 31 __mask; \
|
/linux-6.3-rc2/drivers/pinctrl/spear/ |
A D | pinctrl-spear.h | 61 #define DEFINE_MUXREG(__pins, __muxreg, __mask, __ste) \ argument 65 .mask = __mask, \ 66 .val = __ste ? __mask : 0, \ 70 #define DEFINE_2_MUXREG(__pins, __muxreg1, __muxreg2, __mask, __ste1, __ste2) \ argument 74 .mask = __mask, \ 75 .val = __ste1 ? __mask : 0, \ 78 .mask = __mask, \ 79 .val = __ste2 ? __mask : 0, \
|
/linux-6.3-rc2/arch/riscv/include/asm/ |
A D | bitops.h | 38 unsigned long __res, __mask; \ 39 __mask = BIT_MASK(nr); \ 43 : "r" (mod(__mask)) \ 45 ((__res & __mask) != 0); \
|
/linux-6.3-rc2/drivers/gpu/drm/i2c/ |
A D | ch7006_priv.h | 141 #define __mask(src, bitfield) \ macro 143 #define mask(bitfield) __mask(bitfield) 146 (((x) >> (src) << (0 ? bitfield)) & __mask(src, bitfield)) 154 ((x & __mask(src, bitfield)) >> (0 ? bitfield) << (src))
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | paravirt_types.h | 425 ({ unsigned long __mask = ~0UL; \ 428 case 1: __mask = 0xffUL; break; \ 429 case 2: __mask = 0xffffUL; break; \ 430 case 4: __mask = 0xffffffffUL; break; \ 433 __mask & __eax; \
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_display.h | 117 #define for_each_dbuf_slice_in_mask(__dev_priv, __slice, __mask) \ argument 119 for_each_if((__mask) & BIT(__slice)) 230 #define for_each_pipe_masked(__dev_priv, __p, __mask) \ argument 232 for_each_if((__mask) & BIT(__p)) 238 #define for_each_cpu_transcoder_masked(__dev_priv, __t, __mask) \ argument 240 for_each_if ((__mask) & BIT(__t))
|
A D | intel_display_power.h | 160 #define for_each_power_domain(__domain, __mask) \ argument 162 for_each_if(test_bit((__domain), (__mask)->bits))
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x.h | 97 #define DP(__mask, fmt, ...) \ argument 99 if (unlikely(bp->msg_enable & (__mask))) \ 103 #define DP_AND(__mask, fmt, ...) \ argument 105 if (unlikely((bp->msg_enable & (__mask)) == __mask)) \ 109 #define DP_CONT(__mask, fmt, ...) \ argument 111 if (unlikely(bp->msg_enable & (__mask))) \
|
/linux-6.3-rc2/drivers/net/ethernet/smsc/ |
A D | smc91x.h | 896 int __mask; \ 898 __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ 899 SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \
|
/linux-6.3-rc2/drivers/mmc/core/ |
A D | sd.c | 61 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \ 69 __res & __mask; \
|
A D | mmc.c | 57 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \ 65 __res & __mask; \
|