/Linux-v6.6/drivers/net/ethernet/intel/igbvf/ |
D | regs.h | 11 #define E1000_EITR(_n) (0x01680 + (0x4 * (_n))) argument 27 #define E1000_RDBAL(_n) ((_n) < 4 ? (0x02800 + ((_n) * 0x100)) : \ argument 28 (0x0C000 + ((_n) * 0x40))) 29 #define E1000_RDBAH(_n) ((_n) < 4 ? (0x02804 + ((_n) * 0x100)) : \ argument 30 (0x0C004 + ((_n) * 0x40))) 31 #define E1000_RDLEN(_n) ((_n) < 4 ? (0x02808 + ((_n) * 0x100)) : \ argument 32 (0x0C008 + ((_n) * 0x40))) 33 #define E1000_SRRCTL(_n) ((_n) < 4 ? (0x0280C + ((_n) * 0x100)) : \ argument 34 (0x0C00C + ((_n) * 0x40))) 35 #define E1000_RDH(_n) ((_n) < 4 ? (0x02810 + ((_n) * 0x100)) : \ argument [all …]
|
/Linux-v6.6/drivers/net/ethernet/intel/igb/ |
D | e1000_regs.h | 31 #define E1000_EITR(_n) (0x01680 + (0x4 * (_n))) argument 99 #define E1000_SAQF(_n) (0x5980 + 4 * (_n)) argument 100 #define E1000_DAQF(_n) (0x59A0 + 4 * (_n)) argument 101 #define E1000_SPQF(_n) (0x59C0 + 4 * (_n)) argument 102 #define E1000_FTQF(_n) (0x59E0 + 4 * (_n)) argument 107 #define E1000_SYNQF(_n) (0x055FC + (4 * (_n))) /* SYN Packet Queue Fltr */ argument 108 #define E1000_ETQF(_n) (0x05CB0 + (4 * (_n))) /* EType Queue Fltr */ argument 110 #define E1000_RQDPC(_n) (0x0C030 + ((_n) * 0x40)) argument 142 #define E1000_RDBAL(_n) ((_n) < 4 ? (0x02800 + ((_n) * 0x100)) \ argument 143 : (0x0C000 + ((_n) * 0x40))) [all …]
|
/Linux-v6.6/drivers/net/ethernet/intel/e1000e/ |
D | regs.h | 82 #define E1000_RDBAL(_n) ((_n) < 4 ? (0x02800 + ((_n) * 0x100)) : \ argument 83 (0x0C000 + ((_n) * 0x40))) 84 #define E1000_RDBAH(_n) ((_n) < 4 ? (0x02804 + ((_n) * 0x100)) : \ argument 85 (0x0C004 + ((_n) * 0x40))) 86 #define E1000_RDLEN(_n) ((_n) < 4 ? (0x02808 + ((_n) * 0x100)) : \ argument 87 (0x0C008 + ((_n) * 0x40))) 88 #define E1000_RDH(_n) ((_n) < 4 ? (0x02810 + ((_n) * 0x100)) : \ argument 89 (0x0C010 + ((_n) * 0x40))) 90 #define E1000_RDT(_n) ((_n) < 4 ? (0x02818 + ((_n) * 0x100)) : \ argument 91 (0x0C018 + ((_n) * 0x40))) [all …]
|
/Linux-v6.6/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_type.h | 121 #define FM10K_MAXHOLDQ(_n) ((_n) + 0x0020) argument 124 #define FM10K_SM_AREA(_n) ((_n) + 0x0028) argument 127 #define FM10K_DGLORTMAP(_n) ((_n) + 0x0030) argument 133 #define FM10K_DGLORTDEC(_n) ((_n) + 0x0038) argument 143 #define FM10K_SWPRI_MAP(_n) ((_n) + 0x0050) argument 145 #define FM10K_RSSRK(_n, _m) (((_n) * 0x10) + (_m) + 0x0800) argument 148 #define FM10K_RETA(_n, _m) (((_n) * 0x20) + (_m) + 0x1000) argument 154 #define FM10K_TC_CREDIT(_n) ((_n) + 0x2000) argument 156 #define FM10K_TC_MAXCREDIT(_n) ((_n) + 0x2040) argument 158 #define FM10K_TC_RATE(_n) ((_n) + 0x2080) argument [all …]
|
D | fm10k_mbx.h | 14 #define FM10K_MBMEM(_n) ((_n) + 0x18000) argument 15 #define FM10K_MBMEM_VF(_n, _m) (((_n) * 0x10) + (_m) + 0x18000) argument 16 #define FM10K_MBMEM_SM(_n) ((_n) + 0x18400) argument 17 #define FM10K_MBMEM_PF(_n) ((_n) + 0x18600) argument 20 #define FM10K_MBX(_n) ((_n) + 0x18800) argument 29 #define FM10K_MBICR(_n) ((_n) + 0x18840) argument 34 #define FM10K_VFMBMEM(_n) ((_n) + 0x00020) argument 202 #define FM10K_MBX_ERR(_n) ((_n) - 512) argument
|
/Linux-v6.6/drivers/net/ethernet/intel/igc/ |
D | igc_regs.h | 56 #define IGC_EITR(_n) (0x01680 + (0x4 * (_n))) argument 66 #define IGC_ETQF(_n) (0x05CB0 + (4 * (_n))) /* EType Queue Fltr */ argument 67 #define IGC_FHFT(_n) (0x09000 + (256 * (_n))) /* Flexible Host Filter */ argument 68 #define IGC_FHFT_EXT(_n) (0x09A00 + (256 * (_n))) /* Flexible Host Filter Extended */ argument 98 #define IGC_SRRCTL(_n) (0x0C00C + ((_n) * 0x40)) argument 100 #define IGC_RDBAL(_n) (0x0C000 + ((_n) * 0x40)) argument 101 #define IGC_RDBAH(_n) (0x0C004 + ((_n) * 0x40)) argument 102 #define IGC_RDLEN(_n) (0x0C008 + ((_n) * 0x40)) argument 103 #define IGC_RDH(_n) (0x0C010 + ((_n) * 0x40)) argument 104 #define IGC_RDT(_n) (0x0C018 + ((_n) * 0x40)) argument [all …]
|
/Linux-v6.6/drivers/net/wireless/ath/ |
D | reg.h | 43 #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
|
/Linux-v6.6/drivers/net/ethernet/mediatek/ |
D | mtk_wed_regs.h | 168 #define MTK_WED_TX_MIB(_n) (0x2a0 + (_n) * 4) argument 169 #define MTK_WED_RX_MIB(_n) (0x2e0 + (_n) * 4) argument 171 #define MTK_WED_RING_TX(_n) (0x300 + (_n) * 0x10) argument 173 #define MTK_WED_RING_RX(_n) (0x400 + (_n) * 0x10) argument 174 #define MTK_WED_RING_RX_DATA(_n) (0x420 + (_n) * 0x10) argument 267 #define MTK_WED_WPDMA_TX_MIB(_n) (0x5a0 + (_n) * 4) argument 268 #define MTK_WED_WPDMA_TX_COHERENT_MIB(_n) (0x5d0 + (_n) * 4) argument 269 #define MTK_WED_WPDMA_RX_MIB(_n) (0x5e0 + (_n) * 4) argument 270 #define MTK_WED_WPDMA_RX_COHERENT_MIB(_n) (0x5f0 + (_n) * 4) argument 272 #define MTK_WED_WPDMA_RING_TX(_n) (0x600 + (_n) * 0x10) argument [all …]
|
D | mtk_wed_debugfs.c | 40 #define DUMP_WPDMA_TX_RING(_n) DUMP_RING("WPDMA_TX" #_n, 0, DUMP_TYPE_WPDMA_TX, _n) argument 42 #define DUMP_WPDMA_RX_RING(_n) DUMP_RING("WPDMA_RX" #_n, 0, DUMP_TYPE_WPDMA_RX, _n) argument
|
/Linux-v6.6/arch/mips/include/asm/sn/ |
D | addrs.h | 39 #define NASID_GET_META(_n) ((_n) >> NASID_LOCAL_BITS) argument 41 #define NASID_GET_LOCAL(_n) ((_n) & 0xf) argument 58 #define NODE_OFFSET(_n) (UINT64_CAST (_n) << NODE_SIZE_BITS) argument 60 #define NODE_CAC_BASE(_n) (CAC_BASE + NODE_OFFSET(_n)) argument 61 #define NODE_HSPEC_BASE(_n) (HSPEC_BASE + NODE_OFFSET(_n)) argument 62 #define NODE_IO_BASE(_n) (IO_BASE + NODE_OFFSET(_n)) argument 63 #define NODE_MSPEC_BASE(_n) (MSPEC_BASE + NODE_OFFSET(_n)) argument 64 #define NODE_UNCAC_BASE(_n) (UNCAC_BASE + NODE_OFFSET(_n)) argument 66 #define TO_NODE(_n, _x) (NODE_OFFSET(_n) | ((_x) )) argument 67 #define TO_NODE_CAC(_n, _x) (NODE_CAC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument [all …]
|
/Linux-v6.6/drivers/scsi/aic94xx/ |
D | aic94xx_dump.c | 202 #define PRINT_REG_8bit(_ha, _n, _r) asd_printk(STR_8BIT, #_n, _n, \ argument 204 #define PRINT_REG_16bit(_ha, _n, _r) asd_printk(STR_16BIT, #_n, _n, \ argument 206 #define PRINT_REG_32bit(_ha, _n, _r) asd_printk(STR_32BIT, #_n, _n, \ argument 209 #define PRINT_CREG_8bit(_ha, _n) asd_printk(STR_8BIT, #_n, _n, \ argument 210 asd_read_reg_byte(_ha, C##_n)) 211 #define PRINT_CREG_16bit(_ha, _n) asd_printk(STR_16BIT, #_n, _n, \ argument 212 asd_read_reg_word(_ha, C##_n)) 213 #define PRINT_CREG_32bit(_ha, _n) asd_printk(STR_32BIT, #_n, _n, \ argument 214 asd_read_reg_dword(_ha, C##_n)) 220 #define PRINT_MREG_8bit(_ha, _m, _n, _r) asd_printk(MSTR_8BIT, _m, #_n, _n, \ argument [all …]
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | regs.h | 110 #define MT_INT_RX_DONE(_n) BIT(_n) argument 113 #define MT_INT_TX_DONE(_n) BIT((_n) + 4) argument 233 #define MT_WF_PHY_RXTD(_n) (MT_WF_PHY_RXTD_BASE + ((_n) << 2)) argument 235 #define MT7663_WF_PHY_RXTD(_n) (MT_WF_PHY(0x25b0) + ((_n) << 2)) argument 245 #define MT_WF_PHY_RXTD2(_n) (MT_WF_PHY_RXTD2_BASE + ((_n) << 2)) argument 247 #define MT_WF_PHY_RFINTF3_0(_n) MT_WF_PHY(0x1100 + (_n) * 0x400) argument 271 #define MT_AGG_ARxCR_LIMIT_SHIFT(_n) (4 * (_n)) argument 272 #define MT_AGG_ARxCR_LIMIT(_n) GENMASK(2 + \ argument 273 MT_AGG_ARxCR_LIMIT_SHIFT(_n), \ 274 MT_AGG_ARxCR_LIMIT_SHIFT(_n)) [all …]
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_regs.h | 28 #define MT_EFUSE_DATA(_n) (MT_EFUSE_DATA_BASE + ((_n) << 2)) argument 109 #define MT_INT_RX_DONE(_n) BIT(_n) argument 112 #define MT_INT_TX_DONE(_n) BIT((_n) + 4) argument 143 #define MT_WMM_AIFSN_SHIFT(_n) ((_n) * 4) argument 147 #define MT_WMM_CWMIN_SHIFT(_n) ((_n) * 4) argument 151 #define MT_WMM_CWMAX_SHIFT(_n) ((_n) * 4) argument 154 #define MT_WMM_TXOP(_n) (MT_WMM_TXOP_BASE + (((_n) / 2) << 2)) argument 155 #define MT_WMM_TXOP_SHIFT(_n) (((_n) & 1) * 16) argument 194 #define MT_BCN_OFFSET(_n) (MT_BCN_OFFSET_BASE + ((_n) << 2)) argument 226 #define MT_LED_CTRL_REPLAY(_n) BIT(0 + (8 * (_n))) argument [all …]
|
D | mt792x_regs.h | 25 #define MT_PLE_AC_QEMPTY(_n) MT_PLE(0x500 + 0x40 * (_n)) argument 180 #define MT_AGG_AWSCR0(_band, _n) MT_WF_AGG(_band, 0x05c + (_n) * 4) argument 181 #define MT_AGG_PCR0(_band, _n) MT_WF_AGG(_band, 0x06c + (_n) * 4) argument 215 #define MT_ARB_DRNGR0(_band, _n) MT_WF_ARB(_band, 0x194 + (_n) * 4) argument 410 #define MT_DMASHDL_GROUP_QUOTA(_n) MT_DMA_SHDL(0x020 + ((_n) << 2)) argument 414 #define MT_DMASHDL_Q_MAP(_n) MT_DMA_SHDL(0x060 + ((_n) << 2)) argument 416 #define MT_DMASHDL_Q_MAP_SHIFT(_n) (4 * ((_n) % 8)) argument 418 #define MT_DMASHDL_SCHED_SET(_n) MT_DMA_SHDL(0x070 + ((_n) << 2)) argument 456 #define MT_UWFDMA0_TX_RING_EXT_CTRL(_n) MT_UWFDMA0(0x600 + ((_n) << 2)) argument
|
/Linux-v6.6/lib/raid6/ |
D | neon.c | 29 #define RAID6_NEON_WRAPPER(_n) \ argument 30 static void raid6_neon ## _n ## _gen_syndrome(int disks, \ 33 void raid6_neon ## _n ## _gen_syndrome_real(int, \ 36 raid6_neon ## _n ## _gen_syndrome_real(disks, \ 40 static void raid6_neon ## _n ## _xor_syndrome(int disks, \ 44 void raid6_neon ## _n ## _xor_syndrome_real(int, \ 47 raid6_neon ## _n ## _xor_syndrome_real(disks, \ 51 struct raid6_calls const raid6_neonx ## _n = { \ 52 raid6_neon ## _n ## _gen_syndrome, \ 53 raid6_neon ## _n ## _xor_syndrome, \ [all …]
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt7601u/ |
D | regs.h | 31 #define MT_EFUSE_DATA(_n) (MT_EFUSE_DATA_BASE + ((_n) << 2)) argument 87 #define MT_INT_RX_DONE(_n) BIT(_n) argument 90 #define MT_INT_TX_DONE(_n) BIT(_n + 4) argument 121 #define MT_WMM_AIFSN_SHIFT(_n) ((_n) * 4) argument 125 #define MT_WMM_CWMIN_SHIFT(_n) ((_n) * 4) argument 129 #define MT_WMM_CWMAX_SHIFT(_n) ((_n) * 4) argument 132 #define MT_WMM_TXOP(_n) (MT_WMM_TXOP_BASE + (((_n) / 2) << 2)) argument 133 #define MT_WMM_TXOP_SHIFT(_n) ((_n & 1) * 16) argument 185 #define MT_BCN_OFFSET(_n) (MT_BCN_OFFSET_BASE + ((_n) << 2)) argument 278 #define MT_WCID_DROP(_n) (MT_WCID_DROP_BASE + ((_n) >> 5) * 4) argument [all …]
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | regs.h | 28 #define MT_INT_RX_DONE(_n) BIT(_n) argument 31 #define MT_INT_TX_DONE(_n) BIT((_n) + 4) argument 189 #define MT_AGG_ARxCR_LIMIT_SHIFT(_n) (4 * (_n)) argument 190 #define MT_AGG_ARxCR_LIMIT(_n) GENMASK(2 + \ argument 191 MT_AGG_ARxCR_LIMIT_SHIFT(_n), \ 192 MT_AGG_ARxCR_LIMIT_SHIFT(_n)) 196 #define MT_AGG_LIMIT_AC(_n) GENMASK(((_n) + 1) * 8 - 1, (_n) * 8) argument 272 #define MT_WMM_AIFSN_SHIFT(_n) ((_n) * 4) argument 275 #define MT_WMM_CWMAX(_n) (MT_WMM_CWMAX_BASE + (((_n) / 2) << 2)) argument 276 #define MT_WMM_CWMAX_SHIFT(_n) (((_n) & 1) * 16) argument [all …]
|
/Linux-v6.6/drivers/clk/sunxi-ng/ |
D | ccu_nkm.c | 26 unsigned long _n, _k, _m; in ccu_nkm_find_best_with_parent_adj() local 29 for (_n = nkm->min_n; _n <= nkm->max_n; _n++) { in ccu_nkm_find_best_with_parent_adj() 33 tmp_parent = clk_hw_round_rate(parent_hw, rate * _m / (_n * _k)); in ccu_nkm_find_best_with_parent_adj() 35 tmp_rate = tmp_parent * _n * _k / _m; in ccu_nkm_find_best_with_parent_adj() 41 best_n = _n; in ccu_nkm_find_best_with_parent_adj() 63 unsigned long _n, _k, _m; in ccu_nkm_find_best() local 66 for (_n = nkm->min_n; _n <= nkm->max_n; _n++) { in ccu_nkm_find_best() 70 tmp_rate = parent * _n * _k / _m; in ccu_nkm_find_best() 74 best_n = _n; in ccu_nkm_find_best()
|
D | ccu_nk.c | 23 unsigned int _k, _n; in ccu_nk_find_best() local 26 for (_n = nk->min_n; _n <= nk->max_n; _n++) { in ccu_nk_find_best() 27 unsigned long tmp_rate = parent * _n * _k; in ccu_nk_find_best() 35 best_n = _n; in ccu_nk_find_best()
|
D | ccu_nkmp.c | 37 unsigned long _n, _k, _m, _p; in ccu_nkmp_find_best() local 40 for (_n = nkmp->min_n; _n <= nkmp->max_n; _n++) { in ccu_nkmp_find_best() 46 _n, _k, in ccu_nkmp_find_best() 54 best_n = _n; in ccu_nkmp_find_best()
|
/Linux-v6.6/drivers/net/wireless/ath/ath5k/ |
D | reg.h | 833 #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 …]
|
D | rfbuffer.h | 178 #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
|
/Linux-v6.6/drivers/net/ipa/ |
D | ipa_sysfs.c | 131 #define ENDPOINT_ID_ATTR(_n, _endpoint_name) \ argument 132 static struct dev_ext_attribute dev_attr_endpoint_id_ ## _n = { \ 133 .attr = __ATTR(_n, 0444, endpoint_id_attr_show, NULL), \ 153 #define MODEM_ATTR(_n, _endpoint_name) \ argument 154 static struct dev_ext_attribute dev_attr_modem_ ## _n = { \ 155 .attr = __ATTR(_n, 0444, endpoint_id_attr_show, NULL), \
|
/Linux-v6.6/drivers/gpu/drm/sun4i/ |
D | sun4i_hdmi_ddc_clk.c | 34 u8 best_m = 0, best_n = 0, _m, _n; in sun4i_ddc_calc_divider() local 37 for (_n = 0; _n < 8; _n++) { in sun4i_ddc_calc_divider() 40 tmp_rate = (((parent_rate / pre_div) / 10) >> _n) / in sun4i_ddc_calc_divider() 49 best_n = _n; in sun4i_ddc_calc_divider()
|
/Linux-v6.6/lib/842/ |
D | 842_compress.c | 123 struct sw842_hlist_node##b *_n; \ 125 hash_for_each_possible(p->htable##b, _n, node, p->data##b[n]) { \ 126 if (p->data##b[n] == _n->data) { \ 127 p->index##b[n] = _n->index; \ 140 struct sw842_hlist_node##b *_n = &(p)->node##b[(i)+(d)]; \ 141 hash_del(&_n->node); \ 142 _n->data = (p)->data##b[d]; \ 144 (unsigned int)_n->index, \ 146 (unsigned long)_n->data); \ 147 hash_add((p)->htable##b, &_n->node, _n->data); \
|