Home
last modified time | relevance | path

Searched refs:__mask (Results 1 – 16 of 16) sorted by relevance

/linux-3.4.99/drivers/net/wireless/rt2x00/
Drt2x00reg.h219 #define FIELD_CHECK(__mask, __type) \ argument
220 BUILD_BUG_ON(!(__mask) || \
221 !is_valid_mask(__mask) || \
222 (__mask) != (__type)(__mask)) \
224 #define FIELD8(__mask) \ argument
226 FIELD_CHECK(__mask, u8); \
228 compile_ffs8(__mask), (__mask) \
232 #define FIELD16(__mask) \ argument
234 FIELD_CHECK(__mask, u16); \
236 compile_ffs16(__mask), (__mask) \
[all …]
/linux-3.4.99/arch/s390/include/asm/
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-3.4.99/arch/tile/include/asm/
Dirqflags.h62 int __mask = 1 << (__n & 0x1f); \
64 __insn_mtspr(SPR_INTERRUPT_MASK_SET_K_0, __mask); \
66 __insn_mtspr(SPR_INTERRUPT_MASK_SET_K_1, __mask); \
70 int __mask = 1 << (__n & 0x1f); \
72 __insn_mtspr(SPR_INTERRUPT_MASK_RESET_K_0, __mask); \
74 __insn_mtspr(SPR_INTERRUPT_MASK_RESET_K_1, __mask); \
/linux-3.4.99/drivers/gpu/drm/i2c/
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-3.4.99/drivers/net/ethernet/smsc/
Dsmc911x.h740 int __mask; \
742 __mask = SMC_GET_FIFO_INT((lp)) & ~(0xFF<<24); \
743 SMC_SET_FIFO_INT( (lp), __mask | (x)<<24 ); \
749 int __mask; \
751 __mask = SMC_GET_FIFO_INT((lp)) & ~(0xFF<<16); \
752 SMC_SET_FIFO_INT( (lp), __mask | (((x) & 0xFF)<<16)); \
758 int __mask; \
760 __mask = SMC_GET_FIFO_INT((lp)) & ~(0xFF<<8); \
761 SMC_SET_FIFO_INT( (lp), __mask | (((x) & 0xFF)<<8)); \
767 int __mask; \
[all …]
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); \
Dsmc91x.h953 int __mask; \
955 __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \
956 SMC_outw(__mask | (x), ioaddr, INT_REG(lp)); \
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192de/
Dfw.h50 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument
52 BIT_LEN_MASK_32(__mask))
Dtrx.h48 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument
50 BIT_LEN_MASK_32(__mask))
/linux-3.4.99/arch/mips/include/asm/
Duaccess.h113 unsigned long __mask = mask; \
117 __ok = (signed long)(__mask & (__addr | (__addr + __size) | \
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192se/
Ddef.h65 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument
67 BIT_LEN_MASK_32(__mask))
/linux-3.4.99/drivers/s390/cio/
Dqdio_main.c58 register unsigned long __mask asm ("2") = mask; in do_siga_input()
66 : "d" (__fc), "d" (__schid), "d" (__mask) : "cc", "memory"); in do_siga_input()
86 register unsigned long __mask asm("2") = mask; in do_siga_output()
96 : "+d" (cc), "+d" (__fc), "+d" (__schid), "+d" (__mask), in do_siga_output()
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h74 #define DP(__mask, fmt, ...) \ argument
76 if (unlikely(bp->msg_enable & (__mask))) \
83 #define DP_CONT(__mask, fmt, ...) \ argument
85 if (unlikely(bp->msg_enable & (__mask))) \
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192ce/
Dtrx.h48 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument
50 BIT_LEN_MASK_32(__mask))
/linux-3.4.99/drivers/mmc/core/
Dsd.c50 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
58 __res & __mask; \
Dmmc.c48 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
56 __res & __mask; \