Searched refs:__mask (Results 1 - 17 of 17) sorted by relevance

/linux-4.1.27/arch/s390/include/asm/
H A Dirqflags.h14 unsigned long __mask; \
17 : "=Q" (__mask) : "i" (__or) : "memory"); \
18 __mask; \
24 unsigned long __mask; \
27 : "=Q" (__mask) : "i" (__and) : "memory"); \
28 __mask; \
/linux-4.1.27/drivers/net/wireless/rt2x00/
H A Drt2x00reg.h217 #define FIELD_CHECK(__mask, __type) \
218 BUILD_BUG_ON(!(__mask) || \
219 !is_valid_mask(__mask) || \
220 (__mask) != (__type)(__mask)) \
222 #define FIELD8(__mask) \
224 FIELD_CHECK(__mask, u8); \
226 compile_ffs8(__mask), (__mask) \
230 #define FIELD16(__mask) \
232 FIELD_CHECK(__mask, u16); \
234 compile_ffs16(__mask), (__mask) \
238 #define FIELD32(__mask) \
240 FIELD_CHECK(__mask, u32); \
242 compile_ffs32(__mask), (__mask) \
/linux-4.1.27/drivers/pinctrl/spear/
H A Dpinctrl-spear.h60 #define DEFINE_MUXREG(__pins, __muxreg, __mask, __ste) \
64 .mask = __mask, \
65 .val = __ste ? __mask : 0, \
69 #define DEFINE_2_MUXREG(__pins, __muxreg1, __muxreg2, __mask, __ste1, __ste2) \
73 .mask = __mask, \
74 .val = __ste1 ? __mask : 0, \
77 .mask = __mask, \
78 .val = __ste2 ? __mask : 0, \
/linux-4.1.27/arch/tile/include/asm/
H A Dirqflags.h58 int __mask = 1 << (__n & 0x1f); \
60 __insn_mtspr(SPR_INTERRUPT_MASK_SET_K_0, __mask); \
62 __insn_mtspr(SPR_INTERRUPT_MASK_SET_K_1, __mask); \
66 int __mask = 1 << (__n & 0x1f); \
68 __insn_mtspr(SPR_INTERRUPT_MASK_RESET_K_0, __mask); \
70 __insn_mtspr(SPR_INTERRUPT_MASK_RESET_K_1, __mask); \
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/
H A Dfw.h50 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \
52 BIT_LEN_MASK_32(__mask))
H A Dtrx.h48 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \
50 BIT_LEN_MASK_32(__mask))
/linux-4.1.27/drivers/gpu/drm/i2c/
H A Dch7006_priv.h142 #define __mask(src, bitfield) \ macro
144 #define mask(bitfield) __mask(bitfield)
147 (((x) >> (src) << (0 ? bitfield)) & __mask(src, bitfield))
155 ((x & __mask(src, bitfield)) >> (0 ? bitfield) << (src))
/linux-4.1.27/drivers/net/ethernet/smsc/
H A Dsmc911x.h739 int __mask; \
741 __mask = SMC_GET_FIFO_INT((lp)) & ~(0xFF<<24); \
742 SMC_SET_FIFO_INT( (lp), __mask | (x)<<24 ); \
748 int __mask; \
750 __mask = SMC_GET_FIFO_INT((lp)) & ~(0xFF<<16); \
751 SMC_SET_FIFO_INT( (lp), __mask | (((x) & 0xFF)<<16)); \
757 int __mask; \
759 __mask = SMC_GET_FIFO_INT((lp)) & ~(0xFF<<8); \
760 SMC_SET_FIFO_INT( (lp), __mask | (((x) & 0xFF)<<8)); \
766 int __mask; \
768 __mask = SMC_GET_FIFO_INT((lp)) & ~0xFF; \
769 SMC_SET_FIFO_INT( (lp),__mask | ((x) & 0xFF)); \
H A Dsmc911x.c156 unsigned int __mask; \
157 __mask = SMC_GET_INT_EN((lp)); \
158 __mask |= (x); \
159 SMC_SET_INT_EN((lp), __mask); \
164 unsigned int __mask; \
165 __mask = SMC_GET_INT_EN((lp)); \
166 __mask &= ~(x); \
167 SMC_SET_INT_EN((lp), __mask); \
H A Dsmc91x.h868 int __mask; \
870 __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \
871 SMC_outw(__mask | (x), ioaddr, INT_REG(lp)); \
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/
H A Ddef.h57 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \
59 BIT_LEN_MASK_32(__mask))
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ce/
H A Dtrx.h48 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \
50 BIT_LEN_MASK_32(__mask))
/linux-4.1.27/drivers/s390/cio/
H A Dqdio_main.c56 register unsigned long __mask asm ("2") = mask; do_siga_input()
64 : "d" (__fc), "d" (__schid), "d" (__mask) : "cc"); do_siga_input()
84 register unsigned long __mask asm("2") = mask; do_siga_output()
93 : "d" (__schid), "d" (__mask) do_siga_output()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x.h89 #define DP(__mask, fmt, ...) \
91 if (unlikely(bp->msg_enable & (__mask))) \
95 #define DP_AND(__mask, fmt, ...) \
97 if (unlikely((bp->msg_enable & (__mask)) == __mask)) \
101 #define DP_CONT(__mask, fmt, ...) \
103 if (unlikely(bp->msg_enable & (__mask))) \
/linux-4.1.27/drivers/mmc/core/
H A Dsd.c59 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
67 __res & __mask; \
H A Dmmc.c50 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
58 __res & __mask; \
/linux-4.1.27/arch/mips/include/asm/
H A Duaccess.h124 unsigned long __mask = mask; \
128 __ok = (signed long)(__mask & (__addr | (__addr + __size) | \

Completed in 632 milliseconds