/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00reg.h | 217 #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/ |
D | pinctrl-spear.h | 60 #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/ |
D | smc911x.h | 728 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 …]
|
D | smc911x.c | 159 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); \
|
D | smc91x.h | 945 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/ |
D | ch7006_priv.h | 142 #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/ |
D | fw.h | 46 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument 48 BIT_LEN_MASK_32(__mask))
|
D | trx.h | 44 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument 46 BIT_LEN_MASK_32(__mask))
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x.h | 91 #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/ |
D | def.h | 53 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument 55 BIT_LEN_MASK_32(__mask))
|
/drivers/s390/cio/ |
D | qdio_main.c | 56 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/ |
D | trx.h | 44 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument 46 BIT_LEN_MASK_32(__mask))
|
/drivers/mmc/core/ |
D | sd.c | 61 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \ 69 __res & __mask; \
|
D | mmc.c | 57 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \ 65 __res & __mask; \
|
/drivers/gpu/drm/i915/ |
D | i915_drv.h | 476 #define for_each_pipe_masked(__dev_priv, __p, __mask) \ argument 478 for_each_if ((__mask) & (1 << (__p)))
|