Home
last modified time | relevance | path

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

/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
Dstv090x.c675 static inline s32 comp2(s32 __x, s32 __width) in comp2() argument
678 return __x; in comp2()
680 return (__x >= (1 << (__width - 1))) ? (__x - (1 << __width)) : __x; in comp2()
/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
/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 …]
/drivers/gpu/drm/i915/
Di915_reg_defs.h58 #define IS_POWER_OF_2(__x) ((__x) && (((__x) & ((__x) - 1)) == 0)) argument
/drivers/gpu/drm/i915/gt/
Dintel_gtt.h178 ({ type __x = (type)(x); expr; }), \
182 __px_choose_expr(px, struct drm_i915_gem_object *, __x, \
183 __px_choose_expr(px, struct i915_page_table *, __x->base, \
184 __px_choose_expr(px, struct i915_page_directory *, __x->pt.base, \
195 __px_choose_expr(px, struct i915_page_table *, __x, \
196 __px_choose_expr(px, struct i915_page_directory *, &__x->pt, \
/drivers/staging/media/sunxi/cedrus/
Dcedrus_regs.h97 #define VE_DEC_MPEG_MP12HDR_F_CODE(__x, __y, __v) \ argument
98 (((unsigned long)(__v) & GENMASK(3, 0)) << VE_DEC_MPEG_MP12HDR_F_CODE_SHIFT(__x, __y))
/drivers/net/ethernet/amd/
Dsunlance.c179 #define TX_NEXT(__x) (((__x)+1) & TX_RING_MOD_MASK) argument
184 #define RX_NEXT(__x) (((__x)+1) & RX_RING_MOD_MASK) argument
/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c1305 #define REMAIN(__x) (sizeof(buf) - (__x)) in ionic_lif_rx_mode() argument
/drivers/net/ethernet/intel/i40e/
Di40e_main.c15297 #define REMAIN(__x) (INFO_STRING_LEN - (__x)) argument