Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dbitrev.h34 u32 __x = x; \
35 __x = (__x >> 16) | (__x << 16); \
36 __x = ((__x & (u32)0xFF00FF00UL) >> 8) | ((__x & (u32)0x00FF00FFUL) << 8); \
37 __x = ((__x & (u32)0xF0F0F0F0UL) >> 4) | ((__x & (u32)0x0F0F0F0FUL) << 4); \
38 __x = ((__x & (u32)0xCCCCCCCCUL) >> 2) | ((__x & (u32)0x33333333UL) << 2); \
39 __x = ((__x & (u32)0xAAAAAAAAUL) >> 1) | ((__x & (u32)0x55555555UL) << 1); \
40 __x; \
45 u16 __x = x; \
46 __x = (__x >> 8) | (__x << 8); \
47 __x = ((__x & (u16)0xF0F0U) >> 4) | ((__x & (u16)0x0F0FU) << 4); \
[all …]
Dcnt32_to_63.h98 union cnt32_to_63 __x; \
99 __x.hi = __m_cnt_hi; \
101 __x.lo = (cnt_lo); \
102 if (unlikely((s32)(__x.hi ^ __x.lo) < 0)) \
103 __m_cnt_hi = __x.hi = (__x.hi ^ 0x80000000) + (__x.hi >> 31); \
104 __x.val; \
Dkernel.h86 typeof(x) __x = (x); \
87 __x - (__x % (y)); \
98 typeof(x) __x = x; \
101 ((typeof(divisor))-1) > 0 || (__x) > 0) ? \
102 (((__x) + ((__d) / 2)) / (__d)) : \
103 (((__x) - ((__d) / 2)) / (__d)); \
212 long __x = (x); \
213 ret = (__x < 0) ? -__x : __x; \
215 int __x = (x); \
216 ret = (__x < 0) ? -__x : __x; \
[all …]
Dtimex.h144 __typeof__(x) __x = (x); \
146 __x < 0 ? -(-__x >> __s) : __x >> __s; \
Dblk-mq.h258 struct blk_mq_ctx *__x; \
261 queue_for_each_ctx((q), __x, __i) \
/linux-4.1.27/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.c687 static inline s32 comp2(s32 __x, s32 __width) in comp2() argument
690 return __x; in comp2()
692 return (__x >= (1 << (__width - 1))) ? (__x - (1 << __width)) : __x; in comp2()
/linux-4.1.27/arch/c6x/include/asm/
Dspecial_insns.h16 ({ unsigned int __x; \
17 asm volatile ("mvc .s2 " #reg ",%0\n" : "=b"(__x)); __x; })
20 do { unsigned int __x = (unsigned int)(v); \
21 asm volatile ("mvc .s2 %0," #reg "\n" : : "b"(__x)); \
25 do { unsigned __x, __n = (unsigned)(n); \
30 : "=&b"(__x) : "b"(__n)); \
34 do { unsigned __x, __n = (unsigned)(n); \
39 : "=&b"(__x) : "b"(__n)); \
58 ({ unsigned int __x; \
60 "=b"(__x) : "n"(s), "n"(e), "b"(x)); \
[all …]
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2x00reg.h189 #define compile_ffs2(__x) \ argument
190 __builtin_choose_expr(((__x) & 0x1), 0, 1)
192 #define compile_ffs4(__x) \ argument
193 __builtin_choose_expr(((__x) & 0x3), \
194 (compile_ffs2((__x))), \
195 (compile_ffs2((__x) >> 2) + 2))
197 #define compile_ffs8(__x) \ argument
198 __builtin_choose_expr(((__x) & 0xf), \
199 (compile_ffs4((__x))), \
200 (compile_ffs4((__x) >> 4) + 4))
[all …]
Drt2800mmio.h36 #define TX_BASE_PTR(__x) (TX_BASE_PTR0 + ((__x) * TX_QUEUE_REG_OFFSET)) argument
37 #define TX_MAX_CNT(__x) (TX_MAX_CNT0 + ((__x) * TX_QUEUE_REG_OFFSET)) argument
38 #define TX_CTX_IDX(__x) (TX_CTX_IDX0 + ((__x) * TX_QUEUE_REG_OFFSET)) argument
39 #define TX_DTX_IDX(__x) (TX_DTX_IDX0 + ((__x) * TX_QUEUE_REG_OFFSET)) argument
/linux-4.1.27/arch/tile/include/asm/
Dcmpxchg.h82 typeof(*(ptr)) __x; \
86 __x = (typeof(__x))(unsigned long) \
91 __x = (typeof(__x)) \
99 __x; \
104 typeof(*(ptr)) __x; \
109 __x = (typeof(__x))(unsigned long) \
114 __x = (typeof(__x))__insn_cmpexch((ptr), \
122 __x; \
Duaccess.h251 u64 __x = (__force __inttype(x))(x); \
252 int __lo = (int) __x, __hi = (int) (__x >> 32); \
/linux-4.1.27/arch/s390/include/asm/
Duaccess.h183 __typeof__(*(ptr)) __x = (x); \
191 __pu_err = __put_user_fn(&__x, ptr, \
216 unsigned char __x; \
217 __gu_err = __get_user_fn(&__x, ptr, \
219 (x) = *(__force __typeof__(*(ptr)) *) &__x; \
223 unsigned short __x; \
224 __gu_err = __get_user_fn(&__x, ptr, \
226 (x) = *(__force __typeof__(*(ptr)) *) &__x; \
230 unsigned int __x; \
231 __gu_err = __get_user_fn(&__x, ptr, \
[all …]
/linux-4.1.27/drivers/gpu/drm/exynos/
Dregs-fimc.h300 #define EXYNOS_CIOYSA(__x) \ argument
301 (((__x) < DEF_PP) ? \
302 (EXYNOS_CIOYSA1 + (__x) * 4) : \
303 (EXYNOS_CIOYSA5 + ((__x) - DEF_PP) * 4))
304 #define EXYNOS_CIOCBSA(__x) \ argument
305 (((__x) < DEF_PP) ? \
306 (EXYNOS_CIOCBSA1 + (__x) * 4) : \
307 (EXYNOS_CIOCBSA5 + ((__x) - DEF_PP) * 4))
308 #define EXYNOS_CIOCRSA(__x) \ argument
309 (((__x) < DEF_PP) ? \
[all …]
/linux-4.1.27/include/asm-generic/
Duaccess.h146 __typeof__(*(ptr)) __x = (x); \
155 ptr, &__x); \
192 unsigned char __x; \
194 ptr, &__x); \
195 (x) = *(__force __typeof__(*(ptr)) *) &__x; \
199 unsigned short __x; \
201 ptr, &__x); \
202 (x) = *(__force __typeof__(*(ptr)) *) &__x; \
206 unsigned int __x; \
208 ptr, &__x); \
[all …]
Duaccess-unaligned.h10 __typeof__ (*(ptr)) __x; \
11 __copy_from_user(&__x, (ptr), sizeof(*(ptr))) ? -EFAULT : 0; \
12 (x) = __x; \
22 __typeof__ (*(ptr)) __x = (x); \
23 __copy_to_user((ptr), &__x, sizeof(*(ptr))) ? -EFAULT : 0; \
Dcputime_jiffies.h67 #define clock_t_to_cputime(__x) \ argument
68 jiffies_to_cputime(clock_t_to_jiffies(__x))
Dcputime_nsecs.h111 #define clock_t_to_cputime(__x) \ argument
112 (__force cputime_t)((__x) * (NSEC_PER_SEC / USER_HZ))
/linux-4.1.27/arch/sh/math-emu/
Dsfp-util.h7 UWtype __x; \
8 __x = (al) + (bl); \
9 (sh) = (ah) + (bh) + (__x < (al)); \
10 (sl) = __x; \
15 UWtype __x; \
16 __x = (al) - (bl); \
17 (sh) = (ah) - (bh) - (__x > (al)); \
18 (sl) = __x; \
/linux-4.1.27/arch/parisc/include/asm/
Duaccess.h129 __typeof__(*(ptr)) __x = (__typeof__(*(ptr)))(x); \
133 case 1: __put_kernel_asm("stb", __x, ptr); break; \
134 case 2: __put_kernel_asm("sth", __x, ptr); break; \
135 case 4: __put_kernel_asm("stw", __x, ptr); break; \
136 case 8: STD_KERNEL(__x, ptr); break; \
142 case 1: __put_user_asm("stb", __x, ptr); break; \
143 case 2: __put_user_asm("sth", __x, ptr); break; \
144 case 4: __put_user_asm("stw", __x, ptr); break; \
145 case 8: STD_USER(__x, ptr); break; \
/linux-4.1.27/arch/arm/include/asm/
Ddiv64.h93 unsigned long long __res, __x, __t, __m, __n = n; \
103 __x = ~0ULL / __b * __b - 1; \
104 __res = (__m & 0xffffffff) * (__x & 0xffffffff); \
106 __res += (__m & 0xffffffff) * (__x >> 32); \
108 __res += (__x & 0xffffffff) * (__m >> 32); \
111 __res += (__m >> 32) * (__x >> 32); \
120 } else if (__res != __x / __b) { \
/linux-4.1.27/arch/x86/boot/compressed/
Dmisc.h37 #define error_putstr(__x) __putstr(__x) argument
41 #define debug_putstr(__x) __putstr(__x) argument
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/
Ddma.h100 do { reg_dma_rw_stream_cmd __x = {0}; \
101 do { __x = REG_RD(dma, inst, rw_stream_cmd); } while (__x.busy); \
102 __x.cmd = (cmd_par); \
103 REG_WR(dma, inst, rw_stream_cmd, __x); \
/linux-4.1.27/drivers/staging/ozwpan/
Dozproto.h13 #define OZ_ALLOCATED_SPACE(__x) (LL_RESERVED_SPACE(__x)+(__x)->needed_tailroom) argument
Dozprotocol.h60 #define oz_get_prot_ver(__x) (((__x) & OZ_VERSION_MASK) >> OZ_VERSION_SHIFT) argument
/linux-4.1.27/tools/testing/selftests/timers/
Draw_skew.c46 __typeof__(x) __x = (x); \
48 __x < 0 ? -(-__x >> __s) : __x >> __s; \
/linux-4.1.27/arch/mips/kernel/
Dlinux32.c54 #define A(__x) ((unsigned long)(__x)) argument
55 #define AA(__x) ((unsigned long)((int)__x)) argument
/linux-4.1.27/arch/mips/include/asm/
Dpage.h168 unsigned long __x = (unsigned long)(x); \
169 __x < CKSEG0 ? XPHYSADDR(__x) : CPHYSADDR(__x); \
/linux-4.1.27/scripts/mod/
Dmodpost.h79 typeof(x) __x; \
80 __endian(&(x), &(__x), sizeof(__x)); \
81 __x; \
/linux-4.1.27/arch/s390/kernel/
Dcompat_linux.h10 #define A(__x) ((unsigned long)((__x) & 0x7FFFFFFFUL)) argument
11 #define AA(__x) \ argument
12 ((unsigned long)(__x))
/linux-4.1.27/arch/s390/kvm/
Dgaccess.h98 __typeof__(*(gra)) __x = (x); \
103 kvm_write_guest(__vcpu->kvm, __gpa, &__x, sizeof(__x)); \
/linux-4.1.27/lib/mpi/
Dlonglong.h617 } __x; \
618 __asm__ ("mulu.d %0,%1,%2" : "=r" (__x.__ll) : "r" (u), "r" (v)); \
619 (wh) = __x.__i.__h; \
620 (wl) = __x.__i.__l; \
625 } __x, __q; \
626 __x.__i.__h = (n1); __x.__i.__l = (n0); \
628 : "=r" (__q.__ll) : "r" (__x.__ll), "r" (d)); \
1270 UWtype __x; \
1271 __x = (al) + (bl); \
1272 (sh) = (ah) + (bh) + (__x < (al)); \
[all …]
/linux-4.1.27/arch/nios2/lib/
Dmemcpy.c39 unsigned char __x = ((unsigned char *) src_bp)[0]; \
42 ((unsigned char *) dst_bp)[0] = __x; \
/linux-4.1.27/arch/x86/ia32/
Dsys_ia32.c50 #define AA(__x) ((unsigned long)(__x)) argument
/linux-4.1.27/arch/parisc/kernel/
Dsignal.c55 #define A(__x) ((unsigned long)(__x)) argument
/linux-4.1.27/net/rds/
Drds.h47 ({ unsigned long __x = (x), __y = (y); (__x + __y - 1) / __y; })
/linux-4.1.27/drivers/net/ethernet/amd/
Dsunlance.c183 #define TX_NEXT(__x) (((__x)+1) & TX_RING_MOD_MASK) argument
188 #define RX_NEXT(__x) (((__x)+1) & RX_RING_MOD_MASK) argument