Home
last modified time | relevance | path

Searched refs:__x (Results 1 – 11 of 11) sorted by relevance

/drivers/media/dvb/frontends/
Dstv090x_reg.h187 #define STV090x_Px_I2CRPT(__x) (0xf12a + (__x - 1) * 0x1) argument
209 #define STV090x_GPIOxCFG(__x) (0xf141 + (__x - 1)) argument
230 #define STV090x_CSxCFG(__x) (0xf14e + __x * 0x1) argument
258 #define STV090x_AGCRFxCFG(__x) (0xf152 + (__x - 1) * 0x4) argument
268 #define STV090x_SDATxCFG(__x) (0xf153 + (__x - 1) * 0x4) argument
278 #define STV090x_SCLTxCFG(__x) (0xf154 + (__x - 1) * 0x4) argument
288 #define STV090x_DISEQCOxCFG(__x) (0xf155 + (__x - 1) * 0x4) argument
306 #define STV090x_ERRORxCFG(__x) (0xf15b + (__x - 1) * 0x5) argument
317 #define STV090x_DPNxCFG(__x) (0xf15c + (__x - 1) * 0x5) argument
328 #define STV090x_STROUTxCFG(__x) (0xf15d + (__x - 1) * 0x5) argument
[all …]
Dstv090x_priv.h59 #define STV090x_ADDR_OFFST(__state, __x) (( \ argument
61 STV090x_P1_##__x : \
62 STV090x_P2_##__x)
80 #define MSB(__x) ((__x >> 8) & 0xff) argument
81 #define LSB(__x) (__x & 0xff) argument
Dstv090x.c684 static inline s32 comp2(s32 __x, s32 __width) in comp2() argument
687 return __x; in comp2()
689 return (__x >= (1 << (__width - 1))) ? (__x - (1 << __width)) : __x; in comp2()
/drivers/staging/rtl8712/
Dswab.h48 __u16 __x = x; in ___swab16() local
50 (((__u16)(__x) & (__u16)0x00ffU) << 8) | in ___swab16()
51 (((__u16)(__x) & (__u16)0xff00U) >> 8)); in ___swab16()
57 __u32 __x = (x); in ___swab32() local
59 (((__u32)(__x) & (__u32)0x000000ffUL) << 24) | in ___swab32()
60 (((__u32)(__x) & (__u32)0x0000ff00UL) << 8) | in ___swab32()
61 (((__u32)(__x) & (__u32)0x00ff0000UL) >> 8) | in ___swab32()
62 (((__u32)(__x) & (__u32)0xff000000UL) >> 24)); in ___swab32()
67 __u64 __x = (x); in ___swab64() local
70 (__u64)(((__u64)(__x) & (__u64)0x00000000000000ffULL) << 56) | \ in ___swab64()
[all …]
/drivers/net/wireless/rt2x00/
Drt2x00reg.h191 #define compile_ffs2(__x) \ argument
192 __builtin_choose_expr(((__x) & 0x1), 0, 1)
194 #define compile_ffs4(__x) \ argument
195 __builtin_choose_expr(((__x) & 0x3), \
196 (compile_ffs2((__x))), \
197 (compile_ffs2((__x) >> 2) + 2))
199 #define compile_ffs8(__x) \ argument
200 __builtin_choose_expr(((__x) & 0xf), \
201 (compile_ffs4((__x))), \
202 (compile_ffs4((__x) >> 4) + 4))
[all …]
Drt2800pci.h41 #define TX_BASE_PTR(__x) (TX_BASE_PTR0 + ((__x) * TX_QUEUE_REG_OFFSET)) argument
42 #define TX_MAX_CNT(__x) (TX_MAX_CNT0 + ((__x) * TX_QUEUE_REG_OFFSET)) argument
43 #define TX_CTX_IDX(__x) (TX_CTX_IDX0 + ((__x) * TX_QUEUE_REG_OFFSET)) argument
44 #define TX_DTX_IDX(__x) (TX_DTX_IDX0 + ((__x) * TX_QUEUE_REG_OFFSET)) argument
/drivers/staging/ozwpan/
Dozproto.h13 #define OZ_ALLOCATED_SPACE(__x) (LL_RESERVED_SPACE(__x)+(__x)->needed_tailroom) argument
17 #define oz_ms_to_jiffies(__x) (((__x)*1000)/HZ) argument
Dozurbparanoia.h13 #define oz_remember_urb(__x) argument
14 #define oz_forget_urb(__x) 0 argument
Dozprotocol.h60 #define oz_get_prot_ver(__x) (((__x) & OZ_VERSION_MASK) >> OZ_VERSION_SHIFT) argument
Dozhcd.c797 #define oz_display_conf_type(__x) argument
/drivers/net/ethernet/amd/
Dsunlance.c184 #define TX_NEXT(__x) (((__x)+1) & TX_RING_MOD_MASK) argument
189 #define RX_NEXT(__x) (((__x)+1) & RX_RING_MOD_MASK) argument