__mask 39 arch/riscv/include/asm/bitops.h unsigned long __res, __mask; \ __mask 40 arch/riscv/include/asm/bitops.h __mask = BIT_MASK(nr); \ __mask 44 arch/riscv/include/asm/bitops.h : "r" (mod(__mask)) \ __mask 46 arch/riscv/include/asm/bitops.h ((__res & __mask) != 0); \ __mask 17 arch/s390/include/asm/irqflags.h unsigned long __mask; \ __mask 20 arch/s390/include/asm/irqflags.h : "=Q" (__mask) : "i" (__or) : "memory"); \ __mask 21 arch/s390/include/asm/irqflags.h __mask; \ __mask 27 arch/s390/include/asm/irqflags.h unsigned long __mask; \ __mask 30 arch/s390/include/asm/irqflags.h : "=Q" (__mask) : "i" (__and) : "memory"); \ __mask 31 arch/s390/include/asm/irqflags.h __mask; \ __mask 502 arch/x86/include/asm/paravirt_types.h ({ unsigned long __mask = ~0UL; \ __mask 504 arch/x86/include/asm/paravirt_types.h case 1: __mask = 0xffUL; break; \ __mask 505 arch/x86/include/asm/paravirt_types.h case 2: __mask = 0xffffUL; break; \ __mask 506 arch/x86/include/asm/paravirt_types.h case 4: __mask = 0xffffffffUL; break; \ __mask 509 arch/x86/include/asm/paravirt_types.h __mask; \ __mask 144 drivers/gpu/drm/i2c/ch7006_priv.h #define mask(bitfield) __mask(bitfield) __mask 147 drivers/gpu/drm/i2c/ch7006_priv.h (((x) >> (src) << (0 ? bitfield)) & __mask(src, bitfield)) __mask 155 drivers/gpu/drm/i2c/ch7006_priv.h ((x & __mask(src, bitfield)) >> (0 ? bitfield) << (src)) __mask 294 drivers/gpu/drm/i915/display/intel_display.h #define for_each_pipe_masked(__dev_priv, __p, __mask) \ __mask 296 drivers/gpu/drm/i915/display/intel_display.h for_each_if((__mask) & BIT(__p)) __mask 298 drivers/gpu/drm/i915/display/intel_display.h #define for_each_cpu_transcoder_masked(__dev_priv, __t, __mask) \ __mask 300 drivers/gpu/drm/i915/display/intel_display.h for_each_if ((__mask) & (1 << (__t))) __mask 162 drivers/gpu/drm/i915/i915_reg.h #define REG_FIELD_PREP(__mask, __val) \ __mask 163 drivers/gpu/drm/i915/i915_reg.h ((u32)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \ __mask 164 drivers/gpu/drm/i915/i915_reg.h BUILD_BUG_ON_ZERO(!__is_constexpr(__mask)) + \ __mask 165 drivers/gpu/drm/i915/i915_reg.h BUILD_BUG_ON_ZERO((__mask) == 0 || (__mask) > U32_MAX) + \ __mask 166 drivers/gpu/drm/i915/i915_reg.h BUILD_BUG_ON_ZERO(!IS_POWER_OF_2((__mask) + (1ULL << __bf_shf(__mask)))) + \ __mask 167 drivers/gpu/drm/i915/i915_reg.h BUILD_BUG_ON_ZERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & (__val)), 0)))) __mask 179 drivers/gpu/drm/i915/i915_reg.h #define REG_FIELD_GET(__mask, __val) ((u32)FIELD_GET(__mask, __val)) __mask 54 drivers/mmc/core/mmc.c const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \ __mask 62 drivers/mmc/core/mmc.c __res & __mask; \ __mask 58 drivers/mmc/core/sd.c const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \ __mask 66 drivers/mmc/core/sd.c __res & __mask; \ __mask 91 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define DP(__mask, fmt, ...) \ __mask 93 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h if (unlikely(bp->msg_enable & (__mask))) \ __mask 97 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define DP_AND(__mask, fmt, ...) \ __mask 99 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h if (unlikely((bp->msg_enable & (__mask)) == __mask)) \ __mask 103 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define DP_CONT(__mask, fmt, ...) \ __mask 105 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h if (unlikely(bp->msg_enable & (__mask))) \ __mask 146 drivers/net/ethernet/smsc/smc911x.c unsigned int __mask; \ __mask 147 drivers/net/ethernet/smsc/smc911x.c __mask = SMC_GET_INT_EN((lp)); \ __mask 148 drivers/net/ethernet/smsc/smc911x.c __mask |= (x); \ __mask 149 drivers/net/ethernet/smsc/smc911x.c SMC_SET_INT_EN((lp), __mask); \ __mask 154 drivers/net/ethernet/smsc/smc911x.c unsigned int __mask; \ __mask 155 drivers/net/ethernet/smsc/smc911x.c __mask = SMC_GET_INT_EN((lp)); \ __mask 156 drivers/net/ethernet/smsc/smc911x.c __mask &= ~(x); \ __mask 157 drivers/net/ethernet/smsc/smc911x.c SMC_SET_INT_EN((lp), __mask); \ __mask 717 drivers/net/ethernet/smsc/smc911x.h int __mask; \ __mask 719 drivers/net/ethernet/smsc/smc911x.h __mask = SMC_GET_FIFO_INT((lp)) & ~(0xFF<<24); \ __mask 720 drivers/net/ethernet/smsc/smc911x.h SMC_SET_FIFO_INT( (lp), __mask | (x)<<24 ); \ __mask 726 drivers/net/ethernet/smsc/smc911x.h int __mask; \ __mask 728 drivers/net/ethernet/smsc/smc911x.h __mask = SMC_GET_FIFO_INT((lp)) & ~(0xFF<<16); \ __mask 729 drivers/net/ethernet/smsc/smc911x.h SMC_SET_FIFO_INT( (lp), __mask | (((x) & 0xFF)<<16)); \ __mask 735 drivers/net/ethernet/smsc/smc911x.h int __mask; \ __mask 737 drivers/net/ethernet/smsc/smc911x.h __mask = SMC_GET_FIFO_INT((lp)) & ~(0xFF<<8); \ __mask 738 drivers/net/ethernet/smsc/smc911x.h SMC_SET_FIFO_INT( (lp), __mask | (((x) & 0xFF)<<8)); \ __mask 744 drivers/net/ethernet/smsc/smc911x.h int __mask; \ __mask 746 drivers/net/ethernet/smsc/smc911x.h __mask = SMC_GET_FIFO_INT((lp)) & ~0xFF; \ __mask 747 drivers/net/ethernet/smsc/smc911x.h SMC_SET_FIFO_INT( (lp),__mask | ((x) & 0xFF)); \ __mask 907 drivers/net/ethernet/smsc/smc91x.h int __mask; \ __mask 909 drivers/net/ethernet/smsc/smc91x.h __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ __mask 910 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \ __mask 206 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h #define FIELD_CHECK(__mask, __type) \ __mask 207 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h BUILD_BUG_ON(!(__mask) || \ __mask 208 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h !is_valid_mask(__mask) || \ __mask 209 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h (__mask) != (__type)(__mask)) \ __mask 211 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h #define FIELD8(__mask) \ __mask 213 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h FIELD_CHECK(__mask, u8); \ __mask 215 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h compile_ffs8(__mask), (__mask) \ __mask 219 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h #define FIELD16(__mask) \ __mask 221 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h FIELD_CHECK(__mask, u16); \ __mask 223 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h compile_ffs16(__mask), (__mask) \ __mask 227 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h #define FIELD32(__mask) \ __mask 229 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h FIELD_CHECK(__mask, u32); \ __mask 231 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h compile_ffs32(__mask), (__mask) \ __mask 24 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ __mask 26 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h BIT_LEN_MASK_32(__mask)) __mask 22 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ __mask 24 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h BIT_LEN_MASK_32(__mask)) __mask 32 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ __mask 34 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h BIT_LEN_MASK_32(__mask)) __mask 60 drivers/pinctrl/spear/pinctrl-spear.h #define DEFINE_MUXREG(__pins, __muxreg, __mask, __ste) \ __mask 64 drivers/pinctrl/spear/pinctrl-spear.h .mask = __mask, \ __mask 65 drivers/pinctrl/spear/pinctrl-spear.h .val = __ste ? __mask : 0, \ __mask 69 drivers/pinctrl/spear/pinctrl-spear.h #define DEFINE_2_MUXREG(__pins, __muxreg1, __muxreg2, __mask, __ste1, __ste2) \ __mask 73 drivers/pinctrl/spear/pinctrl-spear.h .mask = __mask, \ __mask 74 drivers/pinctrl/spear/pinctrl-spear.h .val = __ste1 ? __mask : 0, \ __mask 77 drivers/pinctrl/spear/pinctrl-spear.h .mask = __mask, \ __mask 78 drivers/pinctrl/spear/pinctrl-spear.h .val = __ste2 ? __mask : 0, \ __mask 57 drivers/s390/cio/qdio_main.c register unsigned long __mask asm ("2") = mask; __mask 65 drivers/s390/cio/qdio_main.c : "d" (__fc), "d" (__schid), "d" (__mask) : "cc"); __mask 86 drivers/s390/cio/qdio_main.c register unsigned long __mask asm("2") = mask; __mask 95 drivers/s390/cio/qdio_main.c : "d" (__schid), "d" (__mask)