Home
last modified time | relevance | path

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

/drivers/net/wireless/ralink/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.h728 int __mask; \
730 __mask = SMC_GET_FIFO_INT((lp)) & ~(0xFF<<24); \
731 SMC_SET_FIFO_INT( (lp), __mask | (x)<<24 ); \
737 int __mask; \
739 __mask = SMC_GET_FIFO_INT((lp)) & ~(0xFF<<16); \
740 SMC_SET_FIFO_INT( (lp), __mask | (((x) & 0xFF)<<16)); \
746 int __mask; \
748 __mask = SMC_GET_FIFO_INT((lp)) & ~(0xFF<<8); \
749 SMC_SET_FIFO_INT( (lp), __mask | (((x) & 0xFF)<<8)); \
755 int __mask; \
[all …]
Dsmc911x.c159 unsigned int __mask; \
160 __mask = SMC_GET_INT_EN((lp)); \
161 __mask |= (x); \
162 SMC_SET_INT_EN((lp), __mask); \
167 unsigned int __mask; \
168 __mask = SMC_GET_INT_EN((lp)); \
169 __mask &= ~(x); \
170 SMC_SET_INT_EN((lp), __mask); \
Dsmc91x.h945 int __mask; \
947 __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \
948 SMC_outw(lp, __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/realtek/rtlwifi/rtl8192de/
Dfw.h46 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument
48 BIT_LEN_MASK_32(__mask))
Dtrx.h44 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument
46 BIT_LEN_MASK_32(__mask))
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h91 #define DP(__mask, fmt, ...) \ argument
93 if (unlikely(bp->msg_enable & (__mask))) \
97 #define DP_AND(__mask, fmt, ...) \ argument
99 if (unlikely((bp->msg_enable & (__mask)) == __mask)) \
103 #define DP_CONT(__mask, fmt, ...) \ argument
105 if (unlikely(bp->msg_enable & (__mask))) \
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Ddef.h53 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument
55 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/realtek/rtlwifi/rtl8192ce/
Dtrx.h44 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument
46 BIT_LEN_MASK_32(__mask))
/drivers/mmc/core/
Dsd.c61 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
69 __res & __mask; \
Dmmc.c57 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
65 __res & __mask; \
/drivers/gpu/drm/i915/
Di915_drv.h476 #define for_each_pipe_masked(__dev_priv, __p, __mask) \ argument
478 for_each_if ((__mask) & (1 << (__p)))