Home
last modified time | relevance | path

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

/drivers/net/wireless/rt2x00/
Drt2x00reg.h217 #define FIELD_CHECK(__mask, __type) \ argument
218 BUILD_BUG_ON(!(__mask) || \
219 !is_valid_mask(__mask) || \
220 (__mask) != (__type)(__mask)) \
222 #define FIELD8(__mask) \ argument
224 FIELD_CHECK(__mask, u8); \
226 compile_ffs8(__mask), (__mask) \
230 #define FIELD16(__mask) \ argument
232 FIELD_CHECK(__mask, u16); \
234 compile_ffs16(__mask), (__mask) \
[all …]
/drivers/pinctrl/spear/
Dpinctrl-spear.h60 #define DEFINE_MUXREG(__pins, __muxreg, __mask, __ste) \ argument
64 .mask = __mask, \
65 .val = __ste ? __mask : 0, \
69 #define DEFINE_2_MUXREG(__pins, __muxreg1, __muxreg2, __mask, __ste1, __ste2) \ argument
73 .mask = __mask, \
74 .val = __ste1 ? __mask : 0, \
77 .mask = __mask, \
78 .val = __ste2 ? __mask : 0, \
/drivers/net/ethernet/smsc/
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; \
[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.h955 int __mask; \
957 __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \
958 SMC_outw(__mask | (x), ioaddr, INT_REG(lp)); \
/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))
/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))
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h89 #define DP(__mask, fmt, ...) \ argument
91 if (unlikely(bp->msg_enable & (__mask))) \
95 #define DP_AND(__mask, fmt, ...) \ argument
97 if (unlikely((bp->msg_enable & (__mask)) == __mask)) \
101 #define DP_CONT(__mask, fmt, ...) \ argument
103 if (unlikely(bp->msg_enable & (__mask))) \
/drivers/net/wireless/rtlwifi/rtl8192se/
Ddef.h58 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument
60 BIT_LEN_MASK_32(__mask))
/drivers/s390/cio/
Dqdio_main.c56 register unsigned long __mask asm ("2") = mask; in do_siga_input()
64 : "d" (__fc), "d" (__schid), "d" (__mask) : "cc"); in do_siga_input()
84 register unsigned long __mask asm("2") = mask; in do_siga_output()
93 : "d" (__schid), "d" (__mask) in do_siga_output()
/drivers/net/wireless/rtlwifi/rtl8192ce/
Dtrx.h48 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument
50 BIT_LEN_MASK_32(__mask))
/drivers/mmc/core/
Dsd.c59 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
67 __res & __mask; \
Dmmc.c49 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
57 __res & __mask; \