Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/media/dvb-frontends/
Dstv090x_reg.h175 #define STV090x_Px_I2CRPT(__x) (0xf12a + (__x - 1) * 0x1) argument
197 #define STV090x_GPIOxCFG(__x) (0xf141 + (__x - 1)) argument
218 #define STV090x_CSxCFG(__x) (0xf14e + __x * 0x1) argument
246 #define STV090x_AGCRFxCFG(__x) (0xf152 + (__x - 1) * 0x4) argument
256 #define STV090x_SDATxCFG(__x) (0xf153 + (__x - 1) * 0x4) argument
266 #define STV090x_SCLTxCFG(__x) (0xf154 + (__x - 1) * 0x4) argument
276 #define STV090x_DISEQCOxCFG(__x) (0xf155 + (__x - 1) * 0x4) argument
294 #define STV090x_ERRORxCFG(__x) (0xf15b + (__x - 1) * 0x5) argument
305 #define STV090x_DPNxCFG(__x) (0xf15c + (__x - 1) * 0x5) argument
316 #define STV090x_STROUTxCFG(__x) (0xf15d + (__x - 1) * 0x5) argument
[all …]
Dstv090x_priv.h47 #define STV090x_ADDR_OFFST(__state, __x) (( \ argument
49 STV090x_P1_##__x : \
50 STV090x_P2_##__x)
68 #define MSB(__x) ((__x >> 8) & 0xff) argument
69 #define LSB(__x) (__x & 0xff) argument
/linux-6.6.21/include/linux/
Dbitrev.h76 u32 __x = x; \
77 __builtin_constant_p(__x) ? \
78 __constant_bitrev32(__x) : \
79 __bitrev32(__x); \
84 u16 __x = x; \
85 __builtin_constant_p(__x) ? \
86 __constant_bitrev16(__x) : \
87 __bitrev16(__x); \
92 u32 __x = x; \
93 __builtin_constant_p(__x) ? \
[all …]
Dcnt32_to_63.h95 union cnt32_to_63 __x; \
96 __x.hi = __m_cnt_hi; \
98 __x.lo = (cnt_lo); \
99 if (unlikely((s32)(__x.hi ^ __x.lo) < 0)) \
100 __m_cnt_hi = __x.hi = (__x.hi ^ 0x80000000) + (__x.hi >> 31); \
101 __x.val; \
Dmath.h75 typeof(x) __x = (x); \
76 __x - (__x % (y)); \
88 typeof(x) __x = x; \
92 (((__x) > 0) == ((__d) > 0))) ? \
93 (((__x) + ((__d) / 2)) / (__d)) : \
94 (((__x) - ((__d) / 2)) / (__d)); \
150 (char)({ signed char __x = (x); __x<0?-__x:__x; }), \
156 ({ signed type __x = (x); __x < 0 ? -__x : __x; }), other)
Dmaple_tree.h724 #define MT_BUG_ON(__tree, __x) do { \ argument
726 if (__x) { \
728 __func__, __LINE__, __x); \
739 #define MAS_BUG_ON(__mas, __x) do { \ argument
741 if (__x) { \
743 __func__, __LINE__, __x); \
755 #define MAS_WR_BUG_ON(__wrmas, __x) do { \ argument
757 if (__x) { \
759 __func__, __LINE__, __x); \
772 #define MT_WARN_ON(__tree, __x) ({ \ argument
[all …]
Dtimex.h152 __typeof__(x) __x = (x); \
154 __x < 0 ? -(-__x >> __s) : __x >> __s; \
Dminmax.h58 __cmp_once(op, x, y, __UNIQUE_ID(__x), __UNIQUE_ID(__y)))
133 typeof(x) __x = (x); \
135 __x == 0 ? __y : ((__y == 0) ? __x : min(__x, __y)); })
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/
Drt2x00reg.h178 #define compile_ffs2(__x) \ argument
179 __builtin_choose_expr(((__x) & 0x1), 0, 1)
181 #define compile_ffs4(__x) \ argument
182 __builtin_choose_expr(((__x) & 0x3), \
183 (compile_ffs2((__x))), \
184 (compile_ffs2((__x) >> 2) + 2))
186 #define compile_ffs8(__x) \ argument
187 __builtin_choose_expr(((__x) & 0xf), \
188 (compile_ffs4((__x))), \
189 (compile_ffs4((__x) >> 4) + 4))
[all …]
Drt2800mmio.h24 #define TX_BASE_PTR(__x) (TX_BASE_PTR0 + ((__x) * TX_QUEUE_REG_OFFSET)) argument
25 #define TX_MAX_CNT(__x) (TX_MAX_CNT0 + ((__x) * TX_QUEUE_REG_OFFSET)) argument
26 #define TX_CTX_IDX(__x) (TX_CTX_IDX0 + ((__x) * TX_QUEUE_REG_OFFSET)) argument
27 #define TX_DTX_IDX(__x) (TX_DTX_IDX0 + ((__x) * TX_QUEUE_REG_OFFSET)) argument
/linux-6.6.21/arch/s390/include/asm/
Duaccess.h199 __typeof__(*(ptr)) __x = (x); \
208 __pu_err = __put_user_fn(&__x, ptr, sizeof(*(ptr))); \
230 unsigned char __x; \
232 __gu_err = __get_user_fn(&__x, ptr, sizeof(*(ptr))); \
233 (x) = *(__force __typeof__(*(ptr)) *)&__x; \
237 unsigned short __x; \
239 __gu_err = __get_user_fn(&__x, ptr, sizeof(*(ptr))); \
240 (x) = *(__force __typeof__(*(ptr)) *)&__x; \
244 unsigned int __x; \
246 __gu_err = __get_user_fn(&__x, ptr, sizeof(*(ptr))); \
[all …]
Drwonce.h16 typeof(x) __x; \
26 __u.__x; \
/linux-6.6.21/arch/arm64/include/asm/
Drwonce.h38 typeof(&(x)) __x = &(x); \
40 union { __unqual_scalar_typeof(*__x) __val; char __c[1]; } __u; \
45 : "Q" (*__x) : "memory"); \
50 : "Q" (*__x) : "memory"); \
55 : "Q" (*__x) : "memory"); \
60 : "Q" (*__x) : "memory"); \
65 atomic ? (typeof(*__x))__u.__val : (*(volatile typeof(__x))__x);\
/linux-6.6.21/include/asm-generic/
Duaccess.h106 __typeof__(*(ptr)) __x = (x); \
115 ptr, &__x); \
152 unsigned char __x = 0; \
154 ptr, &__x); \
155 (x) = *(__force __typeof__(*(ptr)) *) &__x; \
159 unsigned short __x = 0; \
161 ptr, &__x); \
162 (x) = *(__force __typeof__(*(ptr)) *) &__x; \
166 unsigned int __x = 0; \
168 ptr, &__x); \
[all …]
/linux-6.6.21/arch/x86/boot/compressed/
Dmisc.h67 #define error_putstr(__x) __putstr(__x) argument
68 #define error_puthex(__x) __puthex(__x) argument
72 #define debug_putstr(__x) __putstr(__x) argument
73 #define debug_puthex(__x) __puthex(__x) argument
74 #define debug_putaddr(__x) { \ argument
75 debug_putstr(#__x ": 0x"); \
76 debug_puthex((unsigned long)(__x)); \
/linux-6.6.21/drivers/gpu/drm/exynos/
Dregs-fimc.h297 #define EXYNOS_CIOYSA(__x) \ argument
298 (((__x) < DEF_PP) ? \
299 (EXYNOS_CIOYSA1 + (__x) * 4) : \
300 (EXYNOS_CIOYSA5 + ((__x) - DEF_PP) * 4))
301 #define EXYNOS_CIOCBSA(__x) \ argument
302 (((__x) < DEF_PP) ? \
303 (EXYNOS_CIOCBSA1 + (__x) * 4) : \
304 (EXYNOS_CIOCBSA5 + ((__x) - DEF_PP) * 4))
305 #define EXYNOS_CIOCRSA(__x) \ argument
306 (((__x) < DEF_PP) ? \
[all …]
/linux-6.6.21/arch/sh/math-emu/
Dsfp-util.h8 UWtype __x; \
9 __x = (al) + (bl); \
10 (sh) = (ah) + (bh) + (__x < (al)); \
11 (sl) = __x; \
16 UWtype __x; \
17 __x = (al) - (bl); \
18 (sh) = (ah) - (bh) - (__x > (al)); \
19 (sl) = __x; \
/linux-6.6.21/arch/riscv/include/asm/
Duaccess.h55 __typeof__(x) __x; \
61 : "+r" (err), "=&r" (__x) \
63 (x) = __x; \
173 __typeof__(*(ptr)) __x = x; \
180 : "rJ" (__x)); \
190 u64 __x = (__typeof__((x)-(x)))(x); \
202 : "rJ" (__x), "rJ" (__x >> 32)); \
/linux-6.6.21/arch/alpha/include/asm/
Drwonce.h25 __unqual_scalar_typeof(x) __x = \
26 (*(volatile typeof(__x) *)(&(x))); \
28 (typeof(x))__x; \
/linux-6.6.21/arch/xtensa/include/asm/
Duaccess.h178 u64 __x; \
179 if (unlikely(__copy_from_user(&__x, ptr, 8))) { \
183 (x) = *(__force __typeof__(*(ptr)) *)&__x; \
200 u32 __x = 0; \
216 :[err] "+r"(err_), [tmp] "=r"(cb), [x] "+r"(__x) \
218 (x_) = (__force __typeof__(*(addr_)))__x; \
/linux-6.6.21/arch/s390/kernel/
Dcompat_linux.h14 #define A(__x) ((unsigned long)((__x) & 0x7FFFFFFFUL)) argument
15 #define AA(__x) ((unsigned long)(__x)) argument
/linux-6.6.21/tools/testing/selftests/timers/
Draw_skew.c34 __typeof__(x) __x = (x); \
36 __x < 0 ? -(-__x >> __s) : __x >> __s; \
/linux-6.6.21/scripts/mod/
Dmodpost.h64 typeof(x) __x; \
65 __endian(&(x), &(__x), sizeof(__x)); \
66 __x; \
/linux-6.6.21/arch/x86/include/asm/
Duaccess.h175 __typeof__(*(ptr)) __x = (x); /* eval x once */ \
179 __val_pu = __x; \
187 instrument_put_user(__x, __ptr, sizeof(*(ptr))); \
234 __typeof__(*(ptr)) __x = (x); /* eval x once */ \
239 __put_user_goto(__x, __ptr, "b", "iq", label); \
242 __put_user_goto(__x, __ptr, "w", "ir", label); \
245 __put_user_goto(__x, __ptr, "l", "ir", label); \
248 __put_user_goto_u64(__x, __ptr, label); \
253 instrument_put_user(__x, __ptr, size); \
/linux-6.6.21/tools/perf/util/
Dutil.h95 typeof(x) __x = (x); \
96 __x >= (n) ? \
99 __x, \

12