| /drivers/media/dvb-frontends/ |
| A D | stv090x_reg.h | 175 #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 …]
|
| A D | stv090x_priv.h | 47 #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
|
| A D | stv090x.c | 675 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/ |
| A D | rt2x00reg.h | 178 #define compile_ffs2(__x) \ argument 181 #define compile_ffs4(__x) \ argument 182 __builtin_choose_expr(((__x) & 0x3), \ 183 (compile_ffs2((__x))), \ 186 #define compile_ffs8(__x) \ argument 187 __builtin_choose_expr(((__x) & 0xf), \ 188 (compile_ffs4((__x))), \ 191 #define compile_ffs16(__x) \ argument 193 (compile_ffs8((__x))), \ 196 #define compile_ffs32(__x) \ argument [all …]
|
| A D | rt2800mmio.h | 24 #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/ |
| A D | regs-fimc.h | 297 #define EXYNOS_CIOYSA(__x) \ argument 298 (((__x) < DEF_PP) ? \ 301 #define EXYNOS_CIOCBSA(__x) \ argument 302 (((__x) < DEF_PP) ? \ 305 #define EXYNOS_CIOCRSA(__x) \ argument 306 (((__x) < DEF_PP) ? \ 311 #define EXYNOS_CIIYSA(__x) \ argument 312 (((__x) < DEF_IPP) ? \ 314 #define EXYNOS_CIICBSA(__x) \ argument 315 (((__x) < DEF_IPP) ? \ [all …]
|
| /drivers/gpu/drm/i915/ |
| A D | i915_reg_defs.h | 29 #define IS_POWER_OF_2(__x) ((__x) && (((__x) & ((__x) - 1)) == 0)) argument
|
| /drivers/gpu/drm/i915/gt/ |
| A D | intel_gtt.h | 196 ({ type __x = (type)(x); expr; }), \ 200 __px_choose_expr(px, struct drm_i915_gem_object *, __x, \ 201 __px_choose_expr(px, struct i915_page_table *, __x->base, \ 202 __px_choose_expr(px, struct i915_page_directory *, __x->pt.base, \ 213 __px_choose_expr(px, struct i915_page_table *, __x, \ 214 __px_choose_expr(px, struct i915_page_directory *, &__x->pt, \
|
| /drivers/net/ethernet/amd/ |
| A D | sunlance.c | 179 #define TX_NEXT(__x) (((__x)+1) & TX_RING_MOD_MASK) argument 184 #define RX_NEXT(__x) (((__x)+1) & RX_RING_MOD_MASK) argument
|
| /drivers/staging/media/sunxi/cedrus/ |
| A D | cedrus_regs.h | 97 #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/soc/qcom/ |
| A D | smem.c | 363 #define SMEM_HOST_ID_TO_HWSPINLOCK_ID(__x) ((__x) + 1) argument
|
| /drivers/net/ethernet/pensando/ionic/ |
| A D | ionic_lif.c | 1344 #define REMAIN(__x) (sizeof(buf) - (__x)) in ionic_lif_rx_mode() argument
|
| /drivers/net/ethernet/intel/i40e/ |
| A D | i40e_main.c | 15185 #define REMAIN(__x) (INFO_STRING_LEN - (__x)) argument
|