/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_register.h | 197 #define I40E_PFCM_LANCTXDATA(_i) (0x0010C100 + ((_i) * 128)) /* _i=0...3 */ /* Reset: CORER */ argument 238 #define I40E_PRTDCB_FCTTVN(_i) (0x001E4580 + ((_i) * 32)) /* _i=0...3 */ /* Reset: GLOBR */ argument 278 #define I40E_PRTDCB_RETSTCC(_i) (0x00122180 + ((_i) * 32)) /* _i=0...7 */ /* Reset: CORER */ argument 313 #define I40E_PRTDCB_RUPTQ(_i) (0x00122400 + ((_i) * 32)) /* _i=0...7 */ /* Reset: CORER */ argument 320 #define I40E_PRTDCB_TCMSTC(_i) (0x000A0040 + ((_i) * 32)) /* _i=0...7 */ /* Reset: CORER */ argument 331 #define I40E_PRTDCB_TCWSTC(_i) (0x000A2040 + ((_i) * 32)) /* _i=0...7 */ /* Reset: CORER */ argument 369 #define I40E_PRTDCB_TPFCTS(_i) (0x001E4660 + ((_i) * 32)) /* _i=0...7 */ /* Reset: GLOBR */ argument 402 #define I40E_GLGEN_GPIO_CTL(_i) (0x00088100 + ((_i) * 4)) /* _i=0...29 */ /* Reset: POR */ argument 443 #define I40E_GLGEN_I2CCMD(_i) (0x000881E0 + ((_i) * 4)) /* _i=0...3 */ /* Reset: POR */ argument 459 #define I40E_GLGEN_I2CPARAMS(_i) (0x000881AC + ((_i) * 4)) /* _i=0...3 */ /* Reset: POR */ argument [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | reg_wow.h | 127 #define AR_WOW_LEN1_SHIFT(_i) ((0x3 - ((_i) & 0x3)) << 0x3) argument 128 #define AR_WOW_LENGTH1_MASK(_i) (AR_WOW_LENGTH_MAX << AR_WOW_LEN1_SHIFT(_i)) argument 129 #define AR_WOW_LEN2_SHIFT(_i) ((0x7 - ((_i) & 0x7)) << 0x3) argument 130 #define AR_WOW_LENGTH2_MASK(_i) (AR_WOW_LENGTH_MAX << AR_WOW_LEN2_SHIFT(_i)) argument 131 #define AR_WOW_LEN3_SHIFT(_i) ((0xb - ((_i) & 0xb)) << 0x3) argument 132 #define AR_WOW_LENGTH3_MASK(_i) (AR_WOW_LENGTH_MAX << AR_WOW_LEN3_SHIFT(_i)) argument 133 #define AR_WOW_LEN4_SHIFT(_i) ((0xf - ((_i) & 0xf)) << 0x3) argument 134 #define AR_WOW_LENGTH4_MASK(_i) (AR_WOW_LENGTH_MAX << AR_WOW_LEN4_SHIFT(_i)) argument
|
D | ar9003_phy.h | 619 #define AR_PHY_TX_IQCAL_CORR_COEFF_B0(_i) (AR_SM_BASE + \ argument 985 #define AR_PHY_TX_IQCAL_CORR_COEFF_B1(_i) (AR_SM1_BASE + 0x450 + ((_i) << 2)) argument 1042 #define AR_PHY_TX_IQCAL_CORR_COEFF_B2(_i) (AR_SM2_BASE + 0x450 + ((_i) << 2)) argument 1066 #define AR_PHY_NEW_ADC_DC_GAIN_CORR(_i) (AR_PHY_ADC_GAIN_DC_CORR_0 + (AR_PHY_CHAIN_OFFSET * (_i))) argument 1067 #define AR_PHY_NEW_ADC_DC_GAIN_CORR_9300_10(_i) (AR_PHY_ADC_GAIN_DC_CORR_0_9300_10 + (AR_PHY_CHAIN_… argument 1068 #define AR_PHY_SWITCH_CHAIN(_i) (AR_PHY_SWITCH_CHAIN_0 + (AR_PHY_CHAIN_OFFSET * (_i))) argument 1069 #define AR_PHY_EXT_ATTEN_CTL(_i) (AR_PHY_EXT_ATTEN_CTL_0 + (AR_PHY_CHAIN_OFFSET * (_i))) argument 1071 #define AR_PHY_RXGAIN(_i) (AR_PHY_FORCEMAX_GAINS_0 + (AR_PHY_CHAIN_OFFSET * (_i))) argument 1072 #define AR_PHY_TPCRG5(_i) (AR_PHY_TPC_5_B0 + (AR_PHY_CHAIN_OFFSET * (_i))) argument 1073 #define AR_PHY_PDADC_TAB(_i) (AR_PHY_PDADC_TAB_0 + (AR_PHY_CHAIN_OFFSET * (_i))) argument [all …]
|
D | ar9002_phy.h | 187 #define AR_PHY_TIMING_CTRL4(_i) (0x9920 + ((_i) << 12)) argument 302 #define AR_PHY_NEW_ADC_DC_GAIN_CORR(_i) (0x99b4 + ((_i) << 12)) argument 382 #define AR_PHY_CAL_MEAS_0(_i) (0x9c10 + ((_i) << 12)) argument 383 #define AR_PHY_CAL_MEAS_1(_i) (0x9c14 + ((_i) << 12)) argument 384 #define AR_PHY_CAL_MEAS_2(_i) (0x9c18 + ((_i) << 12)) argument 385 #define AR_PHY_CAL_MEAS_3(_i) (0x9c1c + ((_i) << 12)) argument
|
D | reg.h | 380 #define AR_QTXDP(_i) (AR_Q0_TXDP + ((_i)<<2)) argument 401 #define AR_QCBRCFG(_i) (AR_Q0_CBRCFG + ((_i)<<2)) argument 417 #define AR_QRDYTIMECFG(_i) (AR_Q0_RDYTIMECFG + ((_i)<<2)) argument 440 #define AR_QMISC(_i) (AR_Q0_MISC + ((_i)<<2)) argument 468 #define AR_QSTS(_i) (AR_Q0_STS + ((_i)<<2)) argument 504 #define AR_DQCUMASK(_i) (AR_D0_QCUMASK + ((_i)<<2)) argument 518 #define AR_DLCL_IFS(_i) (AR_D0_LCL_IFS + ((_i)<<2)) argument 538 #define AR_DRETRY_LIMIT(_i) (AR_D0_RETRY_LIMIT + ((_i)<<2)) argument 557 #define AR_DCHNTIME(_i) (AR_D0_CHNTIME + ((_i)<<2)) argument 573 #define AR_DMISC(_i) (AR_D0_MISC + ((_i)<<2)) argument [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_type.h | 240 #define IXGBE_EICS_EX(_i) (0x00A90 + (_i) * 4) argument 241 #define IXGBE_EIMS_EX(_i) (0x00AA0 + (_i) * 4) argument 242 #define IXGBE_EIMC_EX(_i) (0x00AB0 + (_i) * 4) argument 243 #define IXGBE_EIAM_EX(_i) (0x00AD0 + (_i) * 4) argument 253 #define IXGBE_EITR(_i) (((_i) <= 23) ? (0x00820 + ((_i) * 4)) : \ argument 258 #define IXGBE_IVAR(_i) (0x00900 + ((_i) * 4)) /* 24 at 0x900-0x960 */ argument 263 #define IXGBE_PBACL(_i) (((_i) == 0) ? (0x11068) : (0x110C0 + ((_i) * 4))) argument 271 #define IXGBE_FCRTH_82599(_i) (0x03260 + ((_i) * 4)) /* 8 of these (0-7) */ argument 272 #define IXGBE_FCRTL_82599(_i) (0x03220 + ((_i) * 4)) /* 8 of these (0-7) */ argument 274 #define IXGBE_FCTTV(_i) (0x03200 + ((_i) * 4)) /* 4 of these (0-3) */ argument [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_register.h | 30 #define I40E_VFMSIX_PBA1(_i) (0x00002000 + ((_i) * 4)) /* _i=0...19 */ /* Reset: VFLR */ argument 34 #define I40E_VFMSIX_TADD1(_i) (0x00002100 + ((_i) * 16)) /* _i=0...639 */ /* Reset: VFLR */ argument 40 #define I40E_VFMSIX_TMSG1(_i) (0x00002108 + ((_i) * 16)) /* _i=0...639 */ /* Reset: VFLR */ argument 44 #define I40E_VFMSIX_TUADD1(_i) (0x00002104 + ((_i) * 16)) /* _i=0...639 */ /* Reset: VFLR */ argument 48 #define I40E_VFMSIX_TVCTRL1(_i) (0x0000210C + ((_i) * 16)) /* _i=0...639 */ /* Reset: VFLR */ argument 160 #define I40E_VFINT_ITR01(_i) (0x00004C00 + ((_i) * 4)) /* _i=0...2 */ /* Reset: VFR */ argument 164 #define I40E_VFINT_ITRN1(_i, _INTVF) (0x00002800 + ((_i) * 64 + (_INTVF) * 4)) /* _i=0...2, _INTVF=… argument 182 #define I40E_VFMSIX_TADD(_i) (0x00000000 + ((_i) * 16)) /* _i=0...16 */ /* Reset: VFLR */ argument 188 #define I40E_VFMSIX_TMSG(_i) (0x00000008 + ((_i) * 16)) /* _i=0...16 */ /* Reset: VFLR */ argument 192 #define I40E_VFMSIX_TUADD(_i) (0x00000004 + ((_i) * 16)) /* _i=0...16 */ /* Reset: VFLR */ argument [all …]
|
/linux-4.4.14/arch/s390/include/asm/ |
D | atomic.h | 111 #define atomic_add_negative(_i, _v) (atomic_add_return(_i, _v) < 0) argument 115 #define atomic_sub(_i, _v) atomic_add(-(int)(_i), _v) argument 116 #define atomic_sub_return(_i, _v) atomic_add_return(-(int)(_i), _v) argument 117 #define atomic_sub_and_test(_i, _v) (atomic_sub_return(_i, _v) == 0) argument 313 #define atomic64_add_negative(_i, _v) (atomic64_add_return(_i, _v) < 0) argument 317 #define atomic64_sub_return(_i, _v) atomic64_add_return(-(long long)(_i), _v) argument 318 #define atomic64_sub(_i, _v) atomic64_add(-(long long)(_i), _v) argument 319 #define atomic64_sub_and_test(_i, _v) (atomic64_sub_return(_i, _v) == 0) argument
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | e1000_regs.h | 306 #define E1000_PSRTYPE(_i) (0x05480 + ((_i) * 4)) argument 307 #define E1000_RAL(_i) (((_i) <= 15) ? (0x05400 + ((_i) * 8)) : \ argument 309 #define E1000_RAH(_i) (((_i) <= 15) ? (0x05404 + ((_i) * 8)) : \ argument 311 #define E1000_IP4AT_REG(_i) (0x05840 + ((_i) * 8)) argument 312 #define E1000_IP6AT_REG(_i) (0x05880 + ((_i) * 4)) argument 313 #define E1000_WUPM_REG(_i) (0x05A00 + ((_i) * 4)) argument 314 #define E1000_FFMT_REG(_i) (0x09000 + ((_i) * 8)) argument 315 #define E1000_FFVT_REG(_i) (0x09800 + ((_i) * 8)) argument 316 #define E1000_FFLT_REG(_i) (0x05F00 + ((_i) * 8)) argument 338 #define E1000_IMIR(_i) (0x05A80 + ((_i) * 4)) /* Immediate Interrupt */ argument [all …]
|
D | e1000_defines.h | 704 #define E1000_I210_FIFO_SEL_TX_QAV(_i) (0x02 + (_i)) argument 718 #define E1000_I210_FIFO_SEL_TX_QAV(_i) (0x02 + (_i)) argument
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | ich8lan.h | 64 #define E1000_SHRAL_PCH_LPT(_i) (0x05408 + ((_i) * 8)) argument 65 #define E1000_SHRAH_PCH_LPT(_i) (0x0540C + ((_i) * 8)) argument 139 #define BM_RAR_L(_i) (BM_PHY_REG(BM_WUC_PAGE, 16 + ((_i) << 2))) argument 140 #define BM_RAR_M(_i) (BM_PHY_REG(BM_WUC_PAGE, 17 + ((_i) << 2))) argument 141 #define BM_RAR_H(_i) (BM_PHY_REG(BM_WUC_PAGE, 18 + ((_i) << 2))) argument 142 #define BM_RAR_CTRL(_i) (BM_PHY_REG(BM_WUC_PAGE, 19 + ((_i) << 2))) argument 143 #define BM_MTA(_i) (BM_PHY_REG(BM_WUC_PAGE, 128 + ((_i) << 1))) argument
|
D | regs.h | 122 #define E1000_RAL(_i) (((_i) <= 15) ? (0x05400 + ((_i) * 8)) : \ argument 124 #define E1000_RAH(_i) (((_i) <= 15) ? (0x05404 + ((_i) * 8)) : \ argument 126 #define E1000_SHRAL(_i) (0x05438 + ((_i) * 8)) argument 127 #define E1000_SHRAH(_i) (0x0543C + ((_i) * 8)) argument 237 #define E1000_RETA(_i) (0x05C00 + ((_i) * 4)) /* Redirection Table - RW */ argument 238 #define E1000_RSSRK(_i) (0x05C80 + ((_i) * 4)) /* RSS Random Key - RW */ argument
|
/linux-4.4.14/drivers/input/mouse/ |
D | alps.h | 74 #define SS4_MF_LF_V2(_b, _i) ((_b[1 + (_i) * 3] & 0x0004) == 0x0004) argument 78 #define SS4_STD_MF_X_V2(_b, _i) (((_b[0 + (_i) * 3] << 5) & 0x00E0) | \ argument 82 #define SS4_STD_MF_Y_V2(_b, _i) (((_b[1 + (_i) * 3] << 3) & 0x0010) | \ argument 87 #define SS4_BTL_MF_X_V2(_b, _i) (SS4_STD_MF_X_V2(_b, _i) | \ argument 91 #define SS4_BTL_MF_Y_V2(_b, _i) (SS4_STD_MF_Y_V2(_b, _i) | \ argument 95 #define SS4_MF_Z_V2(_b, _i) (((_b[1 + (_i) * 3]) & 0x0001) | \ argument
|
/linux-4.4.14/drivers/gpu/drm/armada/ |
D | armada_crtc.h | 19 #define armada_reg_queue_mod(_r, _i, _v, _m, _o) \ argument 28 #define armada_reg_queue_set(_r, _i, _v, _o) \ argument 31 #define armada_reg_queue_end(_r, _i) \ argument
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
D | regs.h | 78 #define E1000_RAL(_i) (((_i) <= 15) ? (0x05400 + ((_i) * 8)) : \ argument 80 #define E1000_RAH(_i) (((_i) <= 15) ? (0x05404 + ((_i) * 8)) : \ argument
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | phy.h | 185 #define AR9170_PHY_REG_TIMING_CTRL4(_i) (AR9170_PHY_REG_BASE + \ argument 308 #define AR9170_PHY_REG_NEW_ADC_DC_GAIN_CORR(_i) (AR9170_PHY_REG_BASE + \ argument 381 #define AR9170_PHY_REG_CAL_MEAS_0(_i) (AR9170_PHY_REG_BASE + \ argument 383 #define AR9170_PHY_REG_CAL_MEAS_1(_i) (AR9170_PHY_REG_BASE + \ argument 385 #define AR9170_PHY_REG_CAL_MEAS_2(_i) (AR9170_PHY_REG_BASE + \ argument 387 #define AR9170_PHY_REG_CAL_MEAS_3(_i) (AR9170_PHY_REG_BASE + \ argument
|
/linux-4.4.14/arch/arm/mach-footbridge/include/mach/ |
D | irqs.h | 96 #define irq_canonicalize(_i) (((_i) == IRQ_ISA_CASCADE) ? IRQ_ISA_2 : _i) argument
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_mb.h | 149 #define csio_set_mb_intr_idx(_m, _i) ((_m)->intr_idx = (_i)) argument
|
D | csio_hw.h | 543 #define csio_set_fwevt_intr_idx(_h, _i) ((_h)->fwevt_intr_idx = (_i)) argument 545 #define csio_set_nondata_intr_idx(_h, _i) ((_h)->nondata_intr_idx = (_i)) argument
|
/linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
D | lov_pool.c | 52 #define pool_tgt(_p, _i) \ argument
|
/linux-4.4.14/arch/x86/kvm/ |
D | emulate.c | 4038 #define DI(_y, _i) { .flags = (_y)|Intercept, .intercept = x86_intercept_##_i } argument 4039 #define DIP(_y, _i, _p) { .flags = (_y)|Intercept|CheckPerm, \ argument 4045 #define ID(_f, _i) { .flags = ((_f) | InstrDual | ModRM), .u.idual = (_i) } argument 4050 #define II(_f, _e, _i) \ argument 4052 #define IIP(_f, _e, _i, _p) \ argument 4058 #define D2bvIP(_f, _i, _p) DIP((_f) | ByteOp, _i, _p), DIP(_f, _i, _p) argument 4061 #define I2bvIP(_f, _e, _i, _p) \ argument
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cmdbuf.c | 183 #define for_each_cmdbuf_ctx(_man, _i, _ctx) \ argument
|
/linux-4.4.14/drivers/media/usb/msi2500/ |
D | msi2500.c | 661 #define msi2500_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \ argument
|
/linux-4.4.14/drivers/media/usb/airspy/ |
D | airspy.c | 160 #define airspy_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \ argument
|
/linux-4.4.14/drivers/media/usb/hackrf/ |
D | hackrf.c | 179 #define hackrf_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \ argument
|
/linux-4.4.14/drivers/gpu/drm/gma500/ |
D | psb_reg.h | 117 #define PSB_CR_USE_CODE_BASE(_i) (0x0A0C + ((_i) << 2)) argument
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfa_ioc.h | 129 #define bfa_mem_dma_sptr(_mod, _i) (&(_mod)->dma_seg[(_i)]) argument 130 #define bfa_mem_dma_seg_iter(_mod, _sptr, _nr, _i) \ argument
|
/linux-4.4.14/arch/mips/include/asm/sn/ |
D | klconfig.h | 505 #define KLCONFIG_INFO_ENABLED(_i) ((_i)->flags & KLINFO_ENABLE) argument
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | ath5k.h | 154 #define AR5K_REG_WAIT(_i) do { \ argument
|