Home
last modified time | relevance | path

Searched refs:_n (Results 1 – 25 of 35) sorted by relevance

12

/drivers/net/ethernet/intel/igbvf/
Dregs.h35 #define E1000_EITR(_n) (0x01680 + (0x4 * (_n))) argument
51 #define E1000_RDBAL(_n) ((_n) < 4 ? (0x02800 + ((_n) * 0x100)) : \ argument
52 (0x0C000 + ((_n) * 0x40)))
53 #define E1000_RDBAH(_n) ((_n) < 4 ? (0x02804 + ((_n) * 0x100)) : \ argument
54 (0x0C004 + ((_n) * 0x40)))
55 #define E1000_RDLEN(_n) ((_n) < 4 ? (0x02808 + ((_n) * 0x100)) : \ argument
56 (0x0C008 + ((_n) * 0x40)))
57 #define E1000_SRRCTL(_n) ((_n) < 4 ? (0x0280C + ((_n) * 0x100)) : \ argument
58 (0x0C00C + ((_n) * 0x40)))
59 #define E1000_RDH(_n) ((_n) < 4 ? (0x02810 + ((_n) * 0x100)) : \ argument
[all …]
/drivers/net/ethernet/intel/igb/
De1000_regs.h51 #define E1000_EITR(_n) (0x01680 + (0x4 * (_n))) argument
116 #define E1000_SAQF(_n) (0x5980 + 4 * (_n)) argument
117 #define E1000_DAQF(_n) (0x59A0 + 4 * (_n)) argument
118 #define E1000_SPQF(_n) (0x59C0 + 4 * (_n)) argument
119 #define E1000_FTQF(_n) (0x59E0 + 4 * (_n)) argument
124 #define E1000_SYNQF(_n) (0x055FC + (4 * (_n))) /* SYN Packet Queue Fltr */ argument
125 #define E1000_ETQF(_n) (0x05CB0 + (4 * (_n))) /* EType Queue Fltr */ argument
127 #define E1000_RQDPC(_n) (0x0C030 + ((_n) * 0x40)) argument
160 #define E1000_RDBAL(_n) ((_n) < 4 ? (0x02800 + ((_n) * 0x100)) \ argument
161 : (0x0C000 + ((_n) * 0x40)))
[all …]
/drivers/net/ethernet/intel/e1000e/
Dregs.h92 #define E1000_RDBAL(_n) ((_n) < 4 ? (0x02800 + ((_n) * 0x100)) : \ argument
93 (0x0C000 + ((_n) * 0x40)))
94 #define E1000_RDBAH(_n) ((_n) < 4 ? (0x02804 + ((_n) * 0x100)) : \ argument
95 (0x0C004 + ((_n) * 0x40)))
96 #define E1000_RDLEN(_n) ((_n) < 4 ? (0x02808 + ((_n) * 0x100)) : \ argument
97 (0x0C008 + ((_n) * 0x40)))
98 #define E1000_RDH(_n) ((_n) < 4 ? (0x02810 + ((_n) * 0x100)) : \ argument
99 (0x0C010 + ((_n) * 0x40)))
100 #define E1000_RDT(_n) ((_n) < 4 ? (0x02818 + ((_n) * 0x100)) : \ argument
101 (0x0C018 + ((_n) * 0x40)))
[all …]
D82571.h35 #define E1000_EITR_82574(_n) (0x000E8 + (0x4 * (_n))) argument
Dich8lan.h267 #define E1000_PCH_RAICC(_n) (0x05F50 + ((_n) * 4)) argument
/drivers/net/ethernet/intel/fm10k/
Dfm10k_type.h135 #define FM10K_MAXHOLDQ(_n) ((_n) + 0x0020) argument
138 #define FM10K_SM_AREA(_n) ((_n) + 0x0028) argument
141 #define FM10K_DGLORTMAP(_n) ((_n) + 0x0030) argument
147 #define FM10K_DGLORTDEC(_n) ((_n) + 0x0038) argument
156 #define FM10K_SWPRI_MAP(_n) ((_n) + 0x0050) argument
158 #define FM10K_RSSRK(_n, _m) (((_n) * 0x10) + (_m) + 0x0800) argument
161 #define FM10K_RETA(_n, _m) (((_n) * 0x20) + (_m) + 0x1000) argument
167 #define FM10K_TC_CREDIT(_n) ((_n) + 0x2000) argument
169 #define FM10K_TC_MAXCREDIT(_n) ((_n) + 0x2040) argument
171 #define FM10K_TC_RATE(_n) ((_n) + 0x2080) argument
[all …]
Dfm10k_mbx.h31 #define FM10K_MBMEM(_n) ((_n) + 0x18000) argument
32 #define FM10K_MBMEM_VF(_n, _m) (((_n) * 0x10) + (_m) + 0x18000) argument
33 #define FM10K_MBMEM_SM(_n) ((_n) + 0x18400) argument
34 #define FM10K_MBMEM_PF(_n) ((_n) + 0x18600) argument
37 #define FM10K_MBX(_n) ((_n) + 0x18800) argument
44 #define FM10K_MBICR(_n) ((_n) + 0x18840) argument
49 #define FM10K_VFMBMEM(_n) ((_n) + 0x00020) argument
217 #define FM10K_MBX_ERR(_n) ((_n) - 512) argument
/drivers/net/wireless/ath/
Dreg.h43 #define AR_KEYTABLE(_n) (AR_KEYTABLE_0 + ((_n)*32)) argument
56 #define AR_KEYTABLE_KEY0(_n) (AR_KEYTABLE(_n) + 0) argument
57 #define AR_KEYTABLE_KEY1(_n) (AR_KEYTABLE(_n) + 4) argument
58 #define AR_KEYTABLE_KEY2(_n) (AR_KEYTABLE(_n) + 8) argument
59 #define AR_KEYTABLE_KEY3(_n) (AR_KEYTABLE(_n) + 12) argument
60 #define AR_KEYTABLE_KEY4(_n) (AR_KEYTABLE(_n) + 16) argument
61 #define AR_KEYTABLE_TYPE(_n) (AR_KEYTABLE(_n) + 20) argument
62 #define AR_KEYTABLE_MAC0(_n) (AR_KEYTABLE(_n) + 24) argument
63 #define AR_KEYTABLE_MAC1(_n) (AR_KEYTABLE(_n) + 28) argument
/drivers/scsi/aic94xx/
Daic94xx_dump.c220 #define PRINT_REG_8bit(_ha, _n, _r) asd_printk(STR_8BIT, #_n, _n, \ argument
222 #define PRINT_REG_16bit(_ha, _n, _r) asd_printk(STR_16BIT, #_n, _n, \ argument
224 #define PRINT_REG_32bit(_ha, _n, _r) asd_printk(STR_32BIT, #_n, _n, \ argument
227 #define PRINT_CREG_8bit(_ha, _n) asd_printk(STR_8BIT, #_n, _n, \ argument
228 asd_read_reg_byte(_ha, C##_n))
229 #define PRINT_CREG_16bit(_ha, _n) asd_printk(STR_16BIT, #_n, _n, \ argument
230 asd_read_reg_word(_ha, C##_n))
231 #define PRINT_CREG_32bit(_ha, _n) asd_printk(STR_32BIT, #_n, _n, \ argument
232 asd_read_reg_dword(_ha, C##_n))
238 #define PRINT_MREG_8bit(_ha, _m, _n, _r) asd_printk(MSTR_8BIT, _m, #_n, _n, \ argument
[all …]
/drivers/net/wireless/ath/ath5k/
Dreg.h833 #define AR5K_DCU_TX_FILTER_0(_n) (AR5K_DCU_TX_FILTER_0_BASE + (_n * 64)) argument
839 #define AR5K_DCU_TX_FILTER_1(_n) (AR5K_DCU_TX_FILTER_1_BASE + (_n * 64)) argument
1758 #define AR5K_MIC_QOS_CTL_OFF(_n) (1 << (_n * 2)) argument
1765 #define AR5K_MIC_QOS_SEL_OFF(_n) (1 << (_n * 4)) argument
1812 #define AR5K_RATE_ACKSIFS(_n) (AR5K_RATE_ACKSIFS_BSE + ((_n) << 2)) argument
1820 #define AR5K_RATE_DUR(_n) (AR5K_RATE_DUR_BASE + ((_n) << 2)) argument
1827 #define AR5K_RATE2DB(_n) (AR5K_RATE2DB_BASE + ((_n) << 2)) argument
1834 #define AR5K_DB2RATE(_n) (AR5K_DB2RATE_BASE + ((_n) << 2)) argument
1847 #define AR5K_PHY(_n) (AR5K_PHY_BASE + ((_n) << 2)) argument
2027 #define AR5K_PHY_NF_SVAL(_n) (((_n) & AR5K_PHY_NF_M) | (1 << 9)) argument
[all …]
Drfbuffer.h178 #define AR5K_RF5111_PWD(_n) { 1, (135 - _n), 3 } argument
296 #define AR5K_RF5112_PWD(_n) { 1, (302 - _n), 3 } argument
402 #define AR5K_RF5112A_PWD(_n) { 1, (306 - _n), 3 } argument
Ddesc.c408 #define _XTX_TRIES(_n) \ in ath5k_hw_setup_mrr_tx_desc() argument
409 if (tx_tries##_n) { \ in ath5k_hw_setup_mrr_tx_desc()
411 AR5K_REG_SM(tx_tries##_n, \ in ath5k_hw_setup_mrr_tx_desc()
412 AR5K_4W_TX_DESC_CTL2_XMIT_TRIES##_n); \ in ath5k_hw_setup_mrr_tx_desc()
414 AR5K_REG_SM(tx_rate##_n, \ in ath5k_hw_setup_mrr_tx_desc()
415 AR5K_4W_TX_DESC_CTL3_XMIT_RATE##_n); \ in ath5k_hw_setup_mrr_tx_desc()
Deeprom.h49 #define AR5K_EEPROM_INFO(_n) (AR5K_EEPROM_INFO_BASE + (_n)) argument
/drivers/net/ethernet/amd/xgbe/
Dxgbe-common.h1014 #define XGMAC_MTL_IOREAD(_pdata, _n, _reg) \ argument
1016 MTL_Q_BASE + ((_n) * MTL_Q_INC) + _reg)
1018 #define XGMAC_MTL_IOREAD_BITS(_pdata, _n, _reg, _field) \ argument
1019 GET_BITS(XGMAC_MTL_IOREAD((_pdata), (_n), _reg), \
1023 #define XGMAC_MTL_IOWRITE(_pdata, _n, _reg, _val) \ argument
1025 MTL_Q_BASE + ((_n) * MTL_Q_INC) + _reg)
1027 #define XGMAC_MTL_IOWRITE_BITS(_pdata, _n, _reg, _field, _val) \ argument
1029 u32 reg_val = XGMAC_MTL_IOREAD((_pdata), (_n), _reg); \
1033 XGMAC_MTL_IOWRITE((_pdata), (_n), _reg, reg_val); \
/drivers/net/wireless/ath/ath9k/
Dphy.h25 #define AR_PHY(_n) (AR_PHY_BASE + ((_n)<<2)) argument
Ddebug.h194 #define PR_QNUM(_n) sc->tx.txq_map[_n]->axq_qnum argument
Dath9k.h131 #define ATH_BA_ISSET(_bm, _n) (((_n) < (WME_BA_BMP_SIZE)) && \ argument
132 ((_bm)[(_n) >> 5] & (1 << ((_n) & 31))))
/drivers/net/ethernet/brocade/bna/
Dbfa_defs_mfg_comm.h37 #define STRSZ(_n) (((_n) + 4) & ~3) argument
/drivers/regulator/
Dpcf50633-regulator.c27 #define PCF50633_REGULATOR(_name, _id, _min_uV, _uV_step, _min_sel, _n) \ argument
32 .n_voltages = _n, \
Dtps65217-regulator.c30 #define TPS65217_REGULATOR(_name, _id, _of_match, _ops, _n, _vr, _vm, _em, \ argument
38 .n_voltages = _n, \
Dtps65218-regulator.c32 #define TPS65218_REGULATOR(_name, _id, _ops, _n, _vr, _vm, _er, _em, \ argument
38 .n_voltages = _n, \
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_type.h375 #define IXGBE_FHFT(_n) (0x09000 + ((_n) * 0x100)) /* Flex host filter table */ argument
376 #define IXGBE_FHFT_EXT(_n) (0x09800 + ((_n) * 0x100)) /* Ext Flexible Host argument
483 #define IXGBE_LSECTXKEY0(_n) (0x08A1C + (4 * (_n))) /* 4 of these (0-3) */ argument
484 #define IXGBE_LSECTXKEY1(_n) (0x08A2C + (4 * (_n))) /* 4 of these (0-3) */ argument
490 #define IXGBE_LSECRXKEY(_n, _m) (0x08F20 + ((0x10 * (_n)) + (4 * (_m)))) argument
505 #define IXGBE_LSECRXOK(_n) (0x08F64 + (0x04 * (_n))) /* InPktsOk */ argument
506 #define IXGBE_LSECRXINV(_n) (0x08F6C + (0x04 * (_n))) /* InPktsInvalid */ argument
507 #define IXGBE_LSECRXNV(_n) (0x08F74 + (0x04 * (_n))) /* InPktsNotValid */ argument
/drivers/i2c/busses/
Di2c-parport.c244 struct i2c_par *adapter, *_n; in i2c_parport_detach() local
248 list_for_each_entry_safe(adapter, _n, &adapter_list, node) { in i2c_parport_detach()
/drivers/usb/wusbcore/
Dcrypto.c298 const u8 key[16], const struct aes_ccm_nonce *_n, in wusb_prf() argument
303 struct aes_ccm_nonce n = *_n; in wusb_prf()
/drivers/net/wireless/ath/carl9170/
Dphy.h25 #define AR9170_PHY_REG(_n) (AR9170_PHY_REG_BASE + \ argument
26 ((_n) << 2))

12