_n 39 arch/mips/include/asm/sn/addrs.h #define NASID_GET_META(_n) ((_n) >> NASID_LOCAL_BITS) _n 41 arch/mips/include/asm/sn/addrs.h #define NASID_GET_LOCAL(_n) ((_n) & 0xf) _n 58 arch/mips/include/asm/sn/addrs.h #define NODE_OFFSET(_n) (UINT64_CAST (_n) << NODE_SIZE_BITS) _n 60 arch/mips/include/asm/sn/addrs.h #define NODE_CAC_BASE(_n) (CAC_BASE + NODE_OFFSET(_n)) _n 61 arch/mips/include/asm/sn/addrs.h #define NODE_HSPEC_BASE(_n) (HSPEC_BASE + NODE_OFFSET(_n)) _n 62 arch/mips/include/asm/sn/addrs.h #define NODE_IO_BASE(_n) (IO_BASE + NODE_OFFSET(_n)) _n 63 arch/mips/include/asm/sn/addrs.h #define NODE_MSPEC_BASE(_n) (MSPEC_BASE + NODE_OFFSET(_n)) _n 64 arch/mips/include/asm/sn/addrs.h #define NODE_UNCAC_BASE(_n) (UNCAC_BASE + NODE_OFFSET(_n)) _n 66 arch/mips/include/asm/sn/addrs.h #define TO_NODE(_n, _x) (NODE_OFFSET(_n) | ((_x) )) _n 67 arch/mips/include/asm/sn/addrs.h #define TO_NODE_CAC(_n, _x) (NODE_CAC_BASE(_n) | ((_x) & TO_PHYS_MASK)) _n 68 arch/mips/include/asm/sn/addrs.h #define TO_NODE_UNCAC(_n, _x) (NODE_UNCAC_BASE(_n) | ((_x) & TO_PHYS_MASK)) _n 69 arch/mips/include/asm/sn/addrs.h #define TO_NODE_MSPEC(_n, _x) (NODE_MSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK)) _n 70 arch/mips/include/asm/sn/addrs.h #define TO_NODE_HSPEC(_n, _x) (NODE_HSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK)) _n 160 arch/mips/include/asm/sn/addrs.h #define NODE_RBOOT_BASE(_n) (NODE_HSPEC_BASE(_n) + 0x30000000) _n 161 arch/mips/include/asm/sn/addrs.h #define NODE_RBOOT_LIMIT(_n) (NODE_RBOOT_BASE(_n) + RBOOT_SIZE) _n 183 arch/mips/include/asm/sn/addrs.h #define NODE_BDOOR_BASE(_n) (NODE_HSPEC_BASE(_n) + (NODE_ADDRSPACE_SIZE/2)) _n 185 arch/mips/include/asm/sn/addrs.h #define NODE_BDECC_BASE(_n) (NODE_BDOOR_BASE(_n)) _n 186 arch/mips/include/asm/sn/addrs.h #define NODE_BDDIR_BASE(_n) (NODE_BDOOR_BASE(_n) + (NODE_ADDRSPACE_SIZE/4)) _n 255 arch/mips/include/asm/sn/addrs.h #define REMOTE_HUB_ADDR(_n, _x) ((NODE_SWIN_BASE(_n, 1) + 0x800000 + (_x))) _n 260 arch/mips/include/asm/sn/addrs.h #define REMOTE_HUB_PTR(_n, _x) ((u64 *)REMOTE_HUB_ADDR((_n), (_x))) _n 264 arch/mips/include/asm/sn/addrs.h #define REMOTE_HUB_L(_n, _r) __raw_readq(REMOTE_HUB_PTR((_n), (_r))) _n 265 arch/mips/include/asm/sn/addrs.h #define REMOTE_HUB_S(_n, _r, _d) __raw_writeq((_d), \ _n 266 arch/mips/include/asm/sn/addrs.h REMOTE_HUB_PTR((_n), (_r))) _n 183 arch/mips/include/asm/sn/klconfig.h #define KL_CONFIG_CH_MALLOC_HDR(_n) PTR_CH_MALLOC_HDR(KL_CONFIG_HDR(_n)) _n 188 arch/mips/include/asm/sn/klconfig.h #define KL_CONFIG_CH_CONS_INFO(_n) PTR_CH_CONS_INFO(KL_CONFIG_HDR(_n)) _n 57 arch/powerpc/mm/ptdump/bats.c #define BAT_SHOW_601(_m, _n, _l, _u) bat_show_601(_m, _n, mfspr(_l), mfspr(_u)) _n 117 arch/powerpc/mm/ptdump/bats.c #define BAT_SHOW_603(_m, _n, _l, _u, _d) bat_show_603(_m, _n, mfspr(_l), mfspr(_u), _d) _n 43 arch/x86/events/intel/pt.c #define PT_CAP(_n, _l, _r, _m) \ _n 44 arch/x86/events/intel/pt.c [PT_CAP_ ## _n] = { .name = __stringify(_n), .leaf = _l, \ _n 6 arch/x86/include/asm/rmwcc.h #define __RMWcc_ARGS(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _n, X...) _n _n 24 drivers/clk/meson/clk-pll.h #define PLL_PARAMS(_m, _n) \ _n 27 drivers/clk/meson/clk-pll.h .n = (_n), \ _n 214 drivers/clk/qcom/gcc-ipq806x.c #define NSS_PLL_RATE(f, _l, _m, _n, i) \ _n 219 drivers/clk/qcom/gcc-ipq806x.c .n = _n, \ _n 42 drivers/clk/qcom/mmcc-msm8960.c #define F_MN(f, s, _m, _n) { .freq = f, .src = s, .m = _m, .n = _n } _n 64 drivers/clk/renesas/r9a06g032-clocks.c #define D_GATE(_idx, _n, _src, ...) \ _n 66 drivers/clk/renesas/r9a06g032-clocks.c .source = 1 + R9A06G032_##_src, .name = _n, \ _n 68 drivers/clk/renesas/r9a06g032-clocks.c #define D_MODULE(_idx, _n, _src, ...) \ _n 70 drivers/clk/renesas/r9a06g032-clocks.c .source = 1 + R9A06G032_##_src, .name = _n, \ _n 72 drivers/clk/renesas/r9a06g032-clocks.c #define D_ROOT(_idx, _n, _mul, _div) \ _n 73 drivers/clk/renesas/r9a06g032-clocks.c { .type = K_FFC, .index = R9A06G032_##_idx, .name = _n, \ _n 75 drivers/clk/renesas/r9a06g032-clocks.c #define D_FFC(_idx, _n, _src, _div) \ _n 77 drivers/clk/renesas/r9a06g032-clocks.c .source = 1 + R9A06G032_##_src, .name = _n, \ _n 79 drivers/clk/renesas/r9a06g032-clocks.c #define D_DIV(_idx, _n, _src, _reg, _min, _max, ...) \ _n 81 drivers/clk/renesas/r9a06g032-clocks.c .source = 1 + R9A06G032_##_src, .name = _n, \ _n 84 drivers/clk/renesas/r9a06g032-clocks.c #define D_UGATE(_idx, _n, _src, _g, _gi, _g1, _r1, _g2, _r2) \ _n 86 drivers/clk/renesas/r9a06g032-clocks.c .source = 1 + R9A06G032_##_src, .name = _n, \ _n 23 drivers/clk/sunxi-ng/ccu_nk.c unsigned int _k, _n; _n 26 drivers/clk/sunxi-ng/ccu_nk.c for (_n = nk->min_n; _n <= nk->max_n; _n++) { _n 27 drivers/clk/sunxi-ng/ccu_nk.c unsigned long tmp_rate = parent * _n * _k; _n 35 drivers/clk/sunxi-ng/ccu_nk.c best_n = _n; _n 24 drivers/clk/sunxi-ng/ccu_nkm.c unsigned long _n, _k, _m; _n 27 drivers/clk/sunxi-ng/ccu_nkm.c for (_n = nkm->min_n; _n <= nkm->max_n; _n++) { _n 31 drivers/clk/sunxi-ng/ccu_nkm.c tmp_rate = parent * _n * _k / _m; _n 37 drivers/clk/sunxi-ng/ccu_nkm.c best_n = _n; _n 37 drivers/clk/sunxi-ng/ccu_nkmp.c unsigned long _n, _k, _m, _p; _n 40 drivers/clk/sunxi-ng/ccu_nkmp.c for (_n = nkmp->min_n; _n <= nkmp->max_n; _n++) { _n 46 drivers/clk/sunxi-ng/ccu_nkmp.c _n, _k, _n 54 drivers/clk/sunxi-ng/ccu_nkmp.c best_n = _n; _n 35 drivers/clk/sunxi-ng/ccu_nm.c unsigned long _n, _m; _n 37 drivers/clk/sunxi-ng/ccu_nm.c for (_n = nm->min_n; _n <= nm->max_n; _n++) { _n 40 drivers/clk/sunxi-ng/ccu_nm.c _n, _m); _n 47 drivers/clk/sunxi-ng/ccu_nm.c best_n = _n; _n 34 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c u8 best_m = 0, best_n = 0, _m, _n; _n 37 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c for (_n = 0; _n < 8; _n++) { _n 40 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c tmp_rate = (((parent_rate / pre_div) / 10) >> _n) / _n 49 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c best_n = _n; _n 256 drivers/i2c/busses/i2c-parport.c struct i2c_par *adapter, *_n; _n 260 drivers/i2c/busses/i2c-parport.c list_for_each_entry_safe(adapter, _n, &adapter_list, node) { _n 891 drivers/i2c/busses/i2c-s3c2410.c #define freq_to_i2c(_n) container_of(_n, struct s3c24xx_i2c, freq_transition) _n 1507 drivers/i2c/i2c-core-base.c struct i2c_client *client, *_n; _n 1511 drivers/i2c/i2c-core-base.c list_for_each_entry_safe(client, _n, &driver->clients, detected) { _n 168 drivers/input/misc/ims-pcu.c #define IMS_PCU_DEVINFO(_n, _gamepad) \ _n 169 drivers/input/misc/ims-pcu.c [_n] = { \ _n 170 drivers/input/misc/ims-pcu.c .keymap = ims_pcu_keymap_##_n, \ _n 171 drivers/input/misc/ims-pcu.c .keymap_len = ARRAY_SIZE(ims_pcu_keymap_##_n), \ _n 457 drivers/md/bcache/util.h typeof(n) _n = (n); \ _n 459 drivers/md/bcache/util.h _d ? _n / _d : zero; \ _n 377 drivers/net/dsa/mt7530.h #define MIB_DESC(_s, _o, _n) \ _n 381 drivers/net/dsa/mt7530.h .name = (_n), \ _n 22 drivers/net/dsa/qca8k.c #define MIB_DESC(_s, _o, _n) \ _n 26 drivers/net/dsa/qca8k.c .name = (_n), \ _n 1464 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XGMAC_MTL_IOREAD(_pdata, _n, _reg) \ _n 1466 drivers/net/ethernet/amd/xgbe/xgbe-common.h MTL_Q_BASE + ((_n) * MTL_Q_INC) + _reg) _n 1468 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XGMAC_MTL_IOREAD_BITS(_pdata, _n, _reg, _field) \ _n 1469 drivers/net/ethernet/amd/xgbe/xgbe-common.h GET_BITS(XGMAC_MTL_IOREAD((_pdata), (_n), _reg), \ _n 1473 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XGMAC_MTL_IOWRITE(_pdata, _n, _reg, _val) \ _n 1475 drivers/net/ethernet/amd/xgbe/xgbe-common.h MTL_Q_BASE + ((_n) * MTL_Q_INC) + _reg) _n 1477 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XGMAC_MTL_IOWRITE_BITS(_pdata, _n, _reg, _field, _val) \ _n 1479 drivers/net/ethernet/amd/xgbe/xgbe-common.h u32 reg_val = XGMAC_MTL_IOREAD((_pdata), (_n), _reg); \ _n 1483 drivers/net/ethernet/amd/xgbe/xgbe-common.h XGMAC_MTL_IOWRITE((_pdata), (_n), _reg, reg_val); \ _n 30 drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h #define STRSZ(_n) (((_n) + 4) & ~3) _n 1071 drivers/net/ethernet/intel/e1000/e1000_hw.h #define E1000_82542_SRRCTL(_n) (0x280C + ((_n) << 8)) /* Split and Replication _n 1073 drivers/net/ethernet/intel/e1000/e1000_hw.h #define E1000_82542_DCA_RXCTRL(_n) (0x02814 + ((_n) << 8)) _n 17 drivers/net/ethernet/intel/e1000e/82571.h #define E1000_EITR_82574(_n) (0x000E8 + (0x4 * (_n))) _n 273 drivers/net/ethernet/intel/e1000e/ich8lan.h #define E1000_PCH_RAICC(_n) (0x05F50 + ((_n) * 4)) _n 78 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_RDBAL(_n) ((_n) < 4 ? (0x02800 + ((_n) * 0x100)) : \ _n 79 drivers/net/ethernet/intel/e1000e/regs.h (0x0C000 + ((_n) * 0x40))) _n 80 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_RDBAH(_n) ((_n) < 4 ? (0x02804 + ((_n) * 0x100)) : \ _n 81 drivers/net/ethernet/intel/e1000e/regs.h (0x0C004 + ((_n) * 0x40))) _n 82 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_RDLEN(_n) ((_n) < 4 ? (0x02808 + ((_n) * 0x100)) : \ _n 83 drivers/net/ethernet/intel/e1000e/regs.h (0x0C008 + ((_n) * 0x40))) _n 84 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_RDH(_n) ((_n) < 4 ? (0x02810 + ((_n) * 0x100)) : \ _n 85 drivers/net/ethernet/intel/e1000e/regs.h (0x0C010 + ((_n) * 0x40))) _n 86 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_RDT(_n) ((_n) < 4 ? (0x02818 + ((_n) * 0x100)) : \ _n 87 drivers/net/ethernet/intel/e1000e/regs.h (0x0C018 + ((_n) * 0x40))) _n 88 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_RXDCTL(_n) ((_n) < 4 ? (0x02828 + ((_n) * 0x100)) : \ _n 89 drivers/net/ethernet/intel/e1000e/regs.h (0x0C028 + ((_n) * 0x40))) _n 90 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_TDBAL(_n) ((_n) < 4 ? (0x03800 + ((_n) * 0x100)) : \ _n 91 drivers/net/ethernet/intel/e1000e/regs.h (0x0E000 + ((_n) * 0x40))) _n 92 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_TDBAH(_n) ((_n) < 4 ? (0x03804 + ((_n) * 0x100)) : \ _n 93 drivers/net/ethernet/intel/e1000e/regs.h (0x0E004 + ((_n) * 0x40))) _n 94 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_TDLEN(_n) ((_n) < 4 ? (0x03808 + ((_n) * 0x100)) : \ _n 95 drivers/net/ethernet/intel/e1000e/regs.h (0x0E008 + ((_n) * 0x40))) _n 96 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_TDH(_n) ((_n) < 4 ? (0x03810 + ((_n) * 0x100)) : \ _n 97 drivers/net/ethernet/intel/e1000e/regs.h (0x0E010 + ((_n) * 0x40))) _n 98 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_TDT(_n) ((_n) < 4 ? (0x03818 + ((_n) * 0x100)) : \ _n 99 drivers/net/ethernet/intel/e1000e/regs.h (0x0E018 + ((_n) * 0x40))) _n 100 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_TXDCTL(_n) ((_n) < 4 ? (0x03828 + ((_n) * 0x100)) : \ _n 101 drivers/net/ethernet/intel/e1000e/regs.h (0x0E028 + ((_n) * 0x40))) _n 102 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_TARC(_n) (0x03840 + ((_n) * 0x100)) _n 205 drivers/net/ethernet/intel/e1000e/regs.h #define E1000_MDEF(_n) (0x05890 + (4 * (_n))) _n 14 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h #define FM10K_MBMEM(_n) ((_n) + 0x18000) _n 15 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h #define FM10K_MBMEM_VF(_n, _m) (((_n) * 0x10) + (_m) + 0x18000) _n 16 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h #define FM10K_MBMEM_SM(_n) ((_n) + 0x18400) _n 17 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h #define FM10K_MBMEM_PF(_n) ((_n) + 0x18600) _n 20 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h #define FM10K_MBX(_n) ((_n) + 0x18800) _n 29 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h #define FM10K_MBICR(_n) ((_n) + 0x18840) _n 34 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h #define FM10K_VFMBMEM(_n) ((_n) + 0x00020) _n 202 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h #define FM10K_MBX_ERR(_n) ((_n) - 512) _n 121 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_MAXHOLDQ(_n) ((_n) + 0x0020) _n 124 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_SM_AREA(_n) ((_n) + 0x0028) _n 127 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_DGLORTMAP(_n) ((_n) + 0x0030) _n 133 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_DGLORTDEC(_n) ((_n) + 0x0038) _n 143 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_SWPRI_MAP(_n) ((_n) + 0x0050) _n 145 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RSSRK(_n, _m) (((_n) * 0x10) + (_m) + 0x0800) _n 148 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RETA(_n, _m) (((_n) * 0x20) + (_m) + 0x1000) _n 154 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TC_CREDIT(_n) ((_n) + 0x2000) _n 156 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TC_MAXCREDIT(_n) ((_n) + 0x2040) _n 158 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TC_RATE(_n) ((_n) + 0x2080) _n 192 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_MRQC(_n) ((_n) + 0x2100) _n 200 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TQMAP(_n) ((_n) + 0x2800) _n 202 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RQMAP(_n) ((_n) + 0x3000) _n 218 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RDBAL(_n) ((0x40 * (_n)) + 0x4000) _n 219 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RDBAH(_n) ((0x40 * (_n)) + 0x4001) _n 220 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RDLEN(_n) ((0x40 * (_n)) + 0x4002) _n 221 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TPH_RXCTRL(_n) ((0x40 * (_n)) + 0x4003) _n 226 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RDH(_n) ((0x40 * (_n)) + 0x4004) _n 227 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RDT(_n) ((0x40 * (_n)) + 0x4005) _n 228 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RXQCTL(_n) ((0x40 * (_n)) + 0x4006) _n 234 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RXDCTL(_n) ((0x40 * (_n)) + 0x4007) _n 237 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RXINT(_n) ((0x40 * (_n)) + 0x4008) _n 238 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_SRRCTL(_n) ((0x40 * (_n)) + 0x4009) _n 244 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_QPRC(_n) ((0x40 * (_n)) + 0x400A) _n 245 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_QPRDC(_n) ((0x40 * (_n)) + 0x400B) _n 246 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_QBRC_L(_n) ((0x40 * (_n)) + 0x400C) _n 247 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_QBRC_H(_n) ((0x40 * (_n)) + 0x400D) _n 250 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RX_SGLORT(_n) ((0x40 * (_n)) + 0x400E) _n 253 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TDBAL(_n) ((0x40 * (_n)) + 0x8000) _n 254 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TDBAH(_n) ((0x40 * (_n)) + 0x8001) _n 255 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TDLEN(_n) ((0x40 * (_n)) + 0x8002) _n 270 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TPH_TXCTRL(_n) ((0x40 * (_n)) + 0x8003) _n 275 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TDH(_n) ((0x40 * (_n)) + 0x8004) _n 276 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TDT(_n) ((0x40 * (_n)) + 0x8005) _n 277 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TXDCTL(_n) ((0x40 * (_n)) + 0x8006) _n 280 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TXQCTL(_n) ((0x40 * (_n)) + 0x8007) _n 290 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TXINT(_n) ((0x40 * (_n)) + 0x8008) _n 293 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_QPTC(_n) ((0x40 * (_n)) + 0x8009) _n 294 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_QBTC_L(_n) ((0x40 * (_n)) + 0x800A) _n 295 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_QBTC_H(_n) ((0x40 * (_n)) + 0x800B) _n 298 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TQDLOC(_n) ((0x40 * (_n)) + 0x800C) _n 303 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_TX_SGLORT(_n) ((0x40 * (_n)) + 0x800D) _n 304 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_PFVTCTL(_n) ((0x40 * (_n)) + 0x800E) _n 308 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_INT_MAP(_n) ((_n) + 0x10080) _n 313 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_MSIX_VECTOR_MASK(_n) ((0x4 * (_n)) + 0x11003) _n 316 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_ITR(_n) ((_n) + 0x12400) _n 322 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_ITR2(_n) ((0x2 * (_n)) + 0x12800) _n 331 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_VLAN_TABLE(_n, _m) ((0x80 * (_n)) + (_m) + 0x14000) _n 344 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_PFVFLRE(_n) ((0x1 * (_n)) + 0x18844) _n 345 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_PFVFLREC(_n) ((0x1 * (_n)) + 0x18846) _n 364 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_VFITR(_n) ((_n) + 0x00060) _n 1046 drivers/net/ethernet/intel/igb/e1000_defines.h #define E1000_VLAPQF_QUEUE_SEL(_n, q_idx) (q_idx << ((_n) * 4)) _n 1047 drivers/net/ethernet/intel/igb/e1000_defines.h #define E1000_VLAPQF_P_VALID(_n) (0x1 << (3 + (_n) * 4)) _n 31 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_EITR(_n) (0x01680 + (0x4 * (_n))) _n 99 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_SAQF(_n) (0x5980 + 4 * (_n)) _n 100 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_DAQF(_n) (0x59A0 + 4 * (_n)) _n 101 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_SPQF(_n) (0x59C0 + 4 * (_n)) _n 102 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_FTQF(_n) (0x59E0 + 4 * (_n)) _n 107 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_SYNQF(_n) (0x055FC + (4 * (_n))) /* SYN Packet Queue Fltr */ _n 108 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_ETQF(_n) (0x05CB0 + (4 * (_n))) /* EType Queue Fltr */ _n 110 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_RQDPC(_n) (0x0C030 + ((_n) * 0x40)) _n 143 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_RDBAL(_n) ((_n) < 4 ? (0x02800 + ((_n) * 0x100)) \ _n 144 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0C000 + ((_n) * 0x40))) _n 145 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_RDBAH(_n) ((_n) < 4 ? (0x02804 + ((_n) * 0x100)) \ _n 146 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0C004 + ((_n) * 0x40))) _n 147 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_RDLEN(_n) ((_n) < 4 ? (0x02808 + ((_n) * 0x100)) \ _n 148 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0C008 + ((_n) * 0x40))) _n 149 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_SRRCTL(_n) ((_n) < 4 ? (0x0280C + ((_n) * 0x100)) \ _n 150 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0C00C + ((_n) * 0x40))) _n 151 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_RDH(_n) ((_n) < 4 ? (0x02810 + ((_n) * 0x100)) \ _n 152 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0C010 + ((_n) * 0x40))) _n 153 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_RDT(_n) ((_n) < 4 ? (0x02818 + ((_n) * 0x100)) \ _n 154 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0C018 + ((_n) * 0x40))) _n 155 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_RXDCTL(_n) ((_n) < 4 ? (0x02828 + ((_n) * 0x100)) \ _n 156 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0C028 + ((_n) * 0x40))) _n 157 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_TDBAL(_n) ((_n) < 4 ? (0x03800 + ((_n) * 0x100)) \ _n 158 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0E000 + ((_n) * 0x40))) _n 159 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_TDBAH(_n) ((_n) < 4 ? (0x03804 + ((_n) * 0x100)) \ _n 160 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0E004 + ((_n) * 0x40))) _n 161 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_TDLEN(_n) ((_n) < 4 ? (0x03808 + ((_n) * 0x100)) \ _n 162 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0E008 + ((_n) * 0x40))) _n 163 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_TDH(_n) ((_n) < 4 ? (0x03810 + ((_n) * 0x100)) \ _n 164 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0E010 + ((_n) * 0x40))) _n 165 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_TDT(_n) ((_n) < 4 ? (0x03818 + ((_n) * 0x100)) \ _n 166 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0E018 + ((_n) * 0x40))) _n 167 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_TXDCTL(_n) ((_n) < 4 ? (0x03828 + ((_n) * 0x100)) \ _n 168 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0E028 + ((_n) * 0x40))) _n 169 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_RXCTL(_n) ((_n) < 4 ? (0x02814 + ((_n) * 0x100)) : \ _n 170 drivers/net/ethernet/intel/igb/e1000_regs.h (0x0C014 + ((_n) * 0x40))) _n 171 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_DCA_RXCTRL(_n) E1000_RXCTL(_n) _n 172 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_TXCTL(_n) ((_n) < 4 ? (0x03814 + ((_n) * 0x100)) : \ _n 173 drivers/net/ethernet/intel/igb/e1000_regs.h (0x0E014 + ((_n) * 0x40))) _n 174 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_DCA_TXCTRL(_n) E1000_TXCTL(_n) _n 175 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_TDWBAL(_n) ((_n) < 4 ? (0x03838 + ((_n) * 0x100)) \ _n 176 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0E038 + ((_n) * 0x40))) _n 177 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_TDWBAH(_n) ((_n) < 4 ? (0x0383C + ((_n) * 0x100)) \ _n 178 drivers/net/ethernet/intel/igb/e1000_regs.h : (0x0E03C + ((_n) * 0x40))) _n 344 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_P2VMAILBOX(_n) (0x00C00 + (4 * (_n))) _n 345 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_VMBMEM(_n) (0x00800 + (64 * (_n))) _n 346 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_VMOLR(_n) (0x05AD0 + (4 * (_n))) _n 347 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_DVMOLR(_n) (0x0C038 + (64 * (_n))) _n 348 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_VLVF(_n) (0x05D00 + (4 * (_n))) /* VLAN VM Filter */ _n 349 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_VMVIR(_n) (0x03700 + (4 * (_n))) _n 406 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_I210_TXDCTL(_n) (0x0E028 + ((_n) * 0x40)) _n 409 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_I210_TQAVCC(_n) (0x3004 + ((_n) * 0x40)) _n 410 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_I210_TQAVHC(_n) (0x300C + ((_n) * 0x40)) _n 414 drivers/net/ethernet/intel/igb/e1000_regs.h #define E1000_INVM_DATA_REG(_n) (0x12120 + 4*(_n)) _n 11 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_EITR(_n) (0x01680 + (0x4 * (_n))) _n 27 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_RDBAL(_n) ((_n) < 4 ? (0x02800 + ((_n) * 0x100)) : \ _n 28 drivers/net/ethernet/intel/igbvf/regs.h (0x0C000 + ((_n) * 0x40))) _n 29 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_RDBAH(_n) ((_n) < 4 ? (0x02804 + ((_n) * 0x100)) : \ _n 30 drivers/net/ethernet/intel/igbvf/regs.h (0x0C004 + ((_n) * 0x40))) _n 31 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_RDLEN(_n) ((_n) < 4 ? (0x02808 + ((_n) * 0x100)) : \ _n 32 drivers/net/ethernet/intel/igbvf/regs.h (0x0C008 + ((_n) * 0x40))) _n 33 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_SRRCTL(_n) ((_n) < 4 ? (0x0280C + ((_n) * 0x100)) : \ _n 34 drivers/net/ethernet/intel/igbvf/regs.h (0x0C00C + ((_n) * 0x40))) _n 35 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_RDH(_n) ((_n) < 4 ? (0x02810 + ((_n) * 0x100)) : \ _n 36 drivers/net/ethernet/intel/igbvf/regs.h (0x0C010 + ((_n) * 0x40))) _n 37 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_RDT(_n) ((_n) < 4 ? (0x02818 + ((_n) * 0x100)) : \ _n 38 drivers/net/ethernet/intel/igbvf/regs.h (0x0C018 + ((_n) * 0x40))) _n 39 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_RXDCTL(_n) ((_n) < 4 ? (0x02828 + ((_n) * 0x100)) : \ _n 40 drivers/net/ethernet/intel/igbvf/regs.h (0x0C028 + ((_n) * 0x40))) _n 41 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_TDBAL(_n) ((_n) < 4 ? (0x03800 + ((_n) * 0x100)) : \ _n 42 drivers/net/ethernet/intel/igbvf/regs.h (0x0E000 + ((_n) * 0x40))) _n 43 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_TDBAH(_n) ((_n) < 4 ? (0x03804 + ((_n) * 0x100)) : \ _n 44 drivers/net/ethernet/intel/igbvf/regs.h (0x0E004 + ((_n) * 0x40))) _n 45 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_TDLEN(_n) ((_n) < 4 ? (0x03808 + ((_n) * 0x100)) : \ _n 46 drivers/net/ethernet/intel/igbvf/regs.h (0x0E008 + ((_n) * 0x40))) _n 47 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_TDH(_n) ((_n) < 4 ? (0x03810 + ((_n) * 0x100)) : \ _n 48 drivers/net/ethernet/intel/igbvf/regs.h (0x0E010 + ((_n) * 0x40))) _n 49 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_TDT(_n) ((_n) < 4 ? (0x03818 + ((_n) * 0x100)) : \ _n 50 drivers/net/ethernet/intel/igbvf/regs.h (0x0E018 + ((_n) * 0x40))) _n 51 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_TXDCTL(_n) ((_n) < 4 ? (0x03828 + ((_n) * 0x100)) : \ _n 52 drivers/net/ethernet/intel/igbvf/regs.h (0x0E028 + ((_n) * 0x40))) _n 53 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_DCA_TXCTRL(_n) (0x03814 + (_n << 8)) _n 54 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_DCA_RXCTRL(_n) (0x02814 + (_n << 8)) _n 72 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_V2PMAILBOX(_n) (0x00C40 + (4 * (_n))) _n 73 drivers/net/ethernet/intel/igbvf/regs.h #define E1000_VMBMEM(_n) (0x00800 + (64 * (_n))) _n 396 drivers/net/ethernet/intel/igc/igc_defines.h #define IGC_VLAPQF_QUEUE_SEL(_n, q_idx) ((q_idx) << ((_n) * 4)) _n 397 drivers/net/ethernet/intel/igc/igc_defines.h #define IGC_VLAPQF_P_VALID(_n) (0x1 << (3 + (_n) * 4)) _n 57 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_EITR(_n) (0x01680 + (0x4 * (_n))) _n 87 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_ETQF(_n) (0x05CB0 + (4 * (_n))) /* EType Queue Fltr */ _n 103 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_SRRCTL(_n) (0x0C00C + ((_n) * 0x40)) _n 105 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_RDBAL(_n) (0x0C000 + ((_n) * 0x40)) _n 106 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_RDBAH(_n) (0x0C004 + ((_n) * 0x40)) _n 107 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_RDLEN(_n) (0x0C008 + ((_n) * 0x40)) _n 108 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_RDH(_n) (0x0C010 + ((_n) * 0x40)) _n 109 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_RDT(_n) (0x0C018 + ((_n) * 0x40)) _n 110 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_RXDCTL(_n) (0x0C028 + ((_n) * 0x40)) _n 111 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_RQDPC(_n) (0x0C030 + ((_n) * 0x40)) _n 117 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_RAL(_n) (0x05400 + ((_n) * 0x08)) _n 118 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_RAH(_n) (0x05404 + ((_n) * 0x08)) _n 124 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_TDBAL(_n) (0x0E000 + ((_n) * 0x40)) _n 125 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_TDBAH(_n) (0x0E004 + ((_n) * 0x40)) _n 126 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_TDLEN(_n) (0x0E008 + ((_n) * 0x40)) _n 127 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_TDH(_n) (0x0E010 + ((_n) * 0x40)) _n 128 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_TDT(_n) (0x0E018 + ((_n) * 0x40)) _n 129 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_TXDCTL(_n) (0x0E028 + ((_n) * 0x40)) _n 136 drivers/net/ethernet/intel/igc/igc_regs.h #define IGC_PQGPTC(_n) (0x010014 + (0x100 * (_n))) _n 1269 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c #define IXGBE_COMPUTE_SIG_HASH_ITERATION(_n) \ _n 1271 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c u32 n = (_n); \ _n 1414 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c #define IXGBE_COMPUTE_BKT_HASH_ITERATION(_n) \ _n 1416 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c u32 n = (_n); \ _n 492 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c #define MIPAF_ARR(_m, _n) (IXGBE_MIPAF + ((_m) * 0x10) + ((_n) * 4)) _n 494 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c #define IXGBE_BMCIP(_n) (0x5050 + ((_n) * 4)) _n 504 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h #define IXGBE_FHFT(_n) (0x09000 + ((_n) * 0x100)) /* Flex host filter table */ _n 505 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h #define IXGBE_FHFT_EXT(_n) (0x09800 + ((_n) * 0x100)) /* Ext Flexible Host _n 621 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h #define IXGBE_LSECTXKEY0(_n) (0x08A1C + (4 * (_n))) /* 4 of these (0-3) */ _n 622 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h #define IXGBE_LSECTXKEY1(_n) (0x08A2C + (4 * (_n))) /* 4 of these (0-3) */ _n 628 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h #define IXGBE_LSECRXKEY(_n, _m) (0x08F20 + ((0x10 * (_n)) + (4 * (_m)))) _n 643 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h #define IXGBE_LSECRXOK(_n) (0x08F64 + (0x04 * (_n))) /* InPktsOk */ _n 644 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h #define IXGBE_LSECRXINV(_n) (0x08F6C + (0x04 * (_n))) /* InPktsInvalid */ _n 645 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h #define IXGBE_LSECRXNV(_n) (0x08F74 + (0x04 * (_n))) /* InPktsNotValid */ _n 408 drivers/net/wireless/ath/ath5k/desc.c #define _XTX_TRIES(_n) \ _n 409 drivers/net/wireless/ath/ath5k/desc.c if (tx_tries##_n) { \ _n 411 drivers/net/wireless/ath/ath5k/desc.c AR5K_REG_SM(tx_tries##_n, \ _n 412 drivers/net/wireless/ath/ath5k/desc.c AR5K_4W_TX_DESC_CTL2_XMIT_TRIES##_n); \ _n 414 drivers/net/wireless/ath/ath5k/desc.c AR5K_REG_SM(tx_rate##_n, \ _n 415 drivers/net/wireless/ath/ath5k/desc.c AR5K_4W_TX_DESC_CTL3_XMIT_RATE##_n); \ _n 49 drivers/net/wireless/ath/ath5k/eeprom.h #define AR5K_EEPROM_INFO(_n) (AR5K_EEPROM_INFO_BASE + (_n)) _n 833 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_DCU_TX_FILTER_0(_n) (AR5K_DCU_TX_FILTER_0_BASE + (_n * 64)) _n 839 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_DCU_TX_FILTER_1(_n) (AR5K_DCU_TX_FILTER_1_BASE + (_n * 64)) _n 1758 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_MIC_QOS_CTL_OFF(_n) (1 << (_n * 2)) _n 1765 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_MIC_QOS_SEL_OFF(_n) (1 << (_n * 4)) _n 1812 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_RATE_ACKSIFS(_n) (AR5K_RATE_ACKSIFS_BSE + ((_n) << 2)) _n 1820 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_RATE_DUR(_n) (AR5K_RATE_DUR_BASE + ((_n) << 2)) _n 1827 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_RATE2DB(_n) (AR5K_RATE2DB_BASE + ((_n) << 2)) _n 1834 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_DB2RATE(_n) (AR5K_DB2RATE_BASE + ((_n) << 2)) _n 1847 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_PHY(_n) (AR5K_PHY_BASE + ((_n) << 2)) _n 2027 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_PHY_NF_SVAL(_n) (((_n) & AR5K_PHY_NF_M) | (1 << 9)) _n 2399 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_BB_GAIN(_n) (AR5K_BB_GAIN_BASE + ((_n) << 2)) _n 2401 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_RF_GAIN(_n) (AR5K_RF_GAIN_BASE + ((_n) << 2)) _n 2482 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_PHY_PAPD_I(_n) (AR5K_PHY_PAPD_I_BASE + ((_n) << 2)) _n 2488 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_PHY_PCDAC_TXPOWER(_n) (AR5K_PHY_PCDAC_TXPOWER_BASE + ((_n) << 2)) _n 2579 drivers/net/wireless/ath/ath5k/reg.h #define AR5K_PHY_PDADC_TXPOWER(_n) (AR5K_PHY_PDADC_TXPOWER_BASE + ((_n) << 2)) _n 178 drivers/net/wireless/ath/ath5k/rfbuffer.h #define AR5K_RF5111_PWD(_n) { 1, (135 - _n), 3 } _n 296 drivers/net/wireless/ath/ath5k/rfbuffer.h #define AR5K_RF5112_PWD(_n) { 1, (302 - _n), 3 } _n 402 drivers/net/wireless/ath/ath5k/rfbuffer.h #define AR5K_RF5112A_PWD(_n) { 1, (306 - _n), 3 } _n 130 drivers/net/wireless/ath/ath9k/ath9k.h #define ATH_BA_ISSET(_bm, _n) (((_n) < (WME_BA_BMP_SIZE)) && \ _n 131 drivers/net/wireless/ath/ath9k/ath9k.h ((_bm)[(_n) >> 5] & (1 << ((_n) & 31)))) _n 195 drivers/net/wireless/ath/ath9k/debug.h #define PR_QNUM(_n) sc->tx.txq_map[_n]->axq_qnum _n 25 drivers/net/wireless/ath/ath9k/phy.h #define AR_PHY(_n) (AR_PHY_BASE + ((_n)<<2)) _n 2081 drivers/net/wireless/ath/ath9k/reg.h #define AR_RATE_DURATION(_n) (AR_RATE_DURATION_0 + ((_n)<<2)) _n 25 drivers/net/wireless/ath/carl9170/phy.h #define AR9170_PHY_REG(_n) (AR9170_PHY_REG_BASE + \ _n 26 drivers/net/wireless/ath/carl9170/phy.h ((_n) << 2)) _n 43 drivers/net/wireless/ath/reg.h #define AR_KEYTABLE(_n) (AR_KEYTABLE_0 + ((_n)*32)) _n 56 drivers/net/wireless/ath/reg.h #define AR_KEYTABLE_KEY0(_n) (AR_KEYTABLE(_n) + 0) _n 57 drivers/net/wireless/ath/reg.h #define AR_KEYTABLE_KEY1(_n) (AR_KEYTABLE(_n) + 4) _n 58 drivers/net/wireless/ath/reg.h #define AR_KEYTABLE_KEY2(_n) (AR_KEYTABLE(_n) + 8) _n 59 drivers/net/wireless/ath/reg.h #define AR_KEYTABLE_KEY3(_n) (AR_KEYTABLE(_n) + 12) _n 60 drivers/net/wireless/ath/reg.h #define AR_KEYTABLE_KEY4(_n) (AR_KEYTABLE(_n) + 16) _n 61 drivers/net/wireless/ath/reg.h #define AR_KEYTABLE_TYPE(_n) (AR_KEYTABLE(_n) + 20) _n 62 drivers/net/wireless/ath/reg.h #define AR_KEYTABLE_MAC0(_n) (AR_KEYTABLE(_n) + 24) _n 63 drivers/net/wireless/ath/reg.h #define AR_KEYTABLE_MAC1(_n) (AR_KEYTABLE(_n) + 28) _n 488 drivers/net/wireless/intel/iwlwifi/iwl-fh.h #define RFH_GEN_CFG_VAL(_n, _v) FIELD_PREP(RFH_GEN_CFG_ ## _n, _v) _n 249 drivers/net/wireless/intel/iwlwifi/iwl-prph.h #define SCD_QUEUE_CTX_REG1_VAL(_n, _v) FIELD_PREP(SCD_QUEUE_CTX_REG1_ ## _n, _v) _n 253 drivers/net/wireless/intel/iwlwifi/iwl-prph.h #define SCD_QUEUE_CTX_REG2_VAL(_n, _v) FIELD_PREP(SCD_QUEUE_CTX_REG2_ ## _n, _v) _n 27 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h #define MT_AGG_SIZE_LIMIT(_n) (((_n) + 1) * 4) _n 28 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_INT_RX_DONE(_n) BIT(_n) _n 31 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_INT_TX_DONE(_n) BIT((_n) + 4) _n 189 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_AGG_ARxCR_LIMIT_SHIFT(_n) (4 * (_n)) _n 190 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_AGG_ARxCR_LIMIT(_n) GENMASK(2 + \ _n 191 drivers/net/wireless/mediatek/mt76/mt7603/regs.h MT_AGG_ARxCR_LIMIT_SHIFT(_n), \ _n 192 drivers/net/wireless/mediatek/mt76/mt7603/regs.h MT_AGG_ARxCR_LIMIT_SHIFT(_n)) _n 196 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_AGG_LIMIT_AC(_n) GENMASK(((_n) + 1) * 8 - 1, (_n) * 8) _n 269 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_WMM_AIFSN_SHIFT(_n) ((_n) * 4) _n 272 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_WMM_CWMAX(_n) (MT_WMM_CWMAX_BASE + (((_n) / 2) << 2)) _n 273 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_WMM_CWMAX_SHIFT(_n) (((_n) & 1) * 16) _n 278 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_WMM_CWMIN_SHIFT(_n) ((_n) * 8) _n 368 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_WMM_TXOP(_n) (MT_WMM_TXOP_BASE + \ _n 369 drivers/net/wireless/mediatek/mt76/mt7603/regs.h ((((_n) / 2) ^ 0x1) << 2)) _n 370 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_WMM_TXOP_SHIFT(_n) (((_n) & 1) * 16) _n 521 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_WTBL_ON(_n) (MT_WTBL_ON_BASE + (_n)) _n 542 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_MIB(_n) (MT_MIB_BASE + (_n)) _n 550 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_MIB_STAT(_n) MT_MIB(0x08 + (_n) * 4) _n 570 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_LED_PHYS(_n) (MT_LED_BASE_PHYS + (_n)) _n 574 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_LED_CTRL_REPLAY(_n) BIT(0 + (8 * (_n))) _n 575 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_LED_CTRL_POLARITY(_n) BIT(1 + (8 * (_n))) _n 576 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_LED_CTRL_TX_BLINK_MODE(_n) BIT(2 + (8 * (_n))) _n 577 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_LED_CTRL_TX_MANUAL_BLINK(_n) BIT(3 + (8 * (_n))) _n 578 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_LED_CTRL_TX_OVER_BLINK(_n) BIT(5 + (8 * (_n))) _n 579 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_LED_CTRL_KICK(_n) BIT(7 + (8 * (_n))) _n 581 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_LED_STATUS_0(_n) MT_LED_PHYS(0x10 + ((_n) * 8)) _n 582 drivers/net/wireless/mediatek/mt76/mt7603/regs.h #define MT_LED_STATUS_1(_n) MT_LED_PHYS(0x14 + ((_n) * 8)) _n 36 drivers/net/wireless/mediatek/mt76/mt7615/regs.h #define MT_INT_RX_DONE(_n) BIT(_n) _n 39 drivers/net/wireless/mediatek/mt76/mt7615/regs.h #define MT_INT_TX_DONE(_n) BIT((_n) + 4) _n 123 drivers/net/wireless/mediatek/mt76/mt7615/regs.h #define MT_AGG_ARxCR_LIMIT_SHIFT(_n) (4 * (_n)) _n 124 drivers/net/wireless/mediatek/mt76/mt7615/regs.h #define MT_AGG_ARxCR_LIMIT(_n) GENMASK(2 + \ _n 125 drivers/net/wireless/mediatek/mt76/mt7615/regs.h MT_AGG_ARxCR_LIMIT_SHIFT(_n), \ _n 126 drivers/net/wireless/mediatek/mt76/mt7615/regs.h MT_AGG_ARxCR_LIMIT_SHIFT(_n)) _n 206 drivers/net/wireless/mediatek/mt76/mt7615/regs.h #define MT_WTBL_ON(_n) (MT_WTBL_ON_BASE + (_n)) _n 242 drivers/net/wireless/mediatek/mt76/mt7615/regs.h #define MT_LPON(_n) (MT_LPON_BASE + (_n)) _n 23 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h #define MT_VIF_WCID(_n) (254 - ((_n) & 7)) _n 28 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_EFUSE_DATA(_n) (MT_EFUSE_DATA_BASE + ((_n) << 2)) _n 109 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_INT_RX_DONE(_n) BIT(_n) _n 112 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_INT_TX_DONE(_n) BIT((_n) + 4) _n 143 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_WMM_AIFSN_SHIFT(_n) ((_n) * 4) _n 147 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_WMM_CWMIN_SHIFT(_n) ((_n) * 4) _n 151 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_WMM_CWMAX_SHIFT(_n) ((_n) * 4) _n 154 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_WMM_TXOP(_n) (MT_WMM_TXOP_BASE + (((_n) / 2) << 2)) _n 155 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_WMM_TXOP_SHIFT(_n) (((_n) & 1) * 16) _n 194 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_BCN_OFFSET(_n) (MT_BCN_OFFSET_BASE + ((_n) << 2)) _n 226 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_LED_CTRL_REPLAY(_n) BIT(0 + (8 * (_n))) _n 227 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_LED_CTRL_POLARITY(_n) BIT(1 + (8 * (_n))) _n 228 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_LED_CTRL_TX_BLINK_MODE(_n) BIT(2 + (8 * (_n))) _n 229 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_LED_CTRL_KICK(_n) BIT(7 + (8 * (_n))) _n 235 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_LED_S0(_n) (MT_LED_S0_BASE + 8 * (_n)) _n 237 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_LED_S1(_n) (MT_LED_S1_BASE + 8 * (_n)) _n 307 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_WCID_DROP(_n) (MT_WCID_DROP_BASE + ((_n) >> 5) * 4) _n 308 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_WCID_DROP_MASK(_n) BIT((_n) % 32) _n 313 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_MAC_APC_BSSID_L(_n) (MT_MAC_APC_BSSID_BASE + ((_n) * 8)) _n 314 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_MAC_APC_BSSID_H(_n) (MT_MAC_APC_BSSID_BASE + ((_n) * 8 + 4)) _n 387 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_EDCA_CFG_AC(_n) (MT_EDCA_CFG_BASE + ((_n) << 2)) _n 623 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_BBP(_type, _n) (MT_BBP_##_type##_BASE + ((_n) << 2)) _n 648 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_WCID_ADDR(_n) (MT_WCID_ADDR_BASE + (_n) * 8) _n 653 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_WCID_KEY(_n) (MT_WCID_KEY_BASE + (_n) * 32) _n 656 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_WCID_IV(_n) (MT_WCID_IV_BASE + (_n) * 8) _n 659 drivers/net/wireless/mediatek/mt76/mt76x02_regs.h #define MT_WCID_ATTR(_n) (MT_WCID_ATTR_BASE + (_n) * 4) _n 31 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_EFUSE_DATA(_n) (MT_EFUSE_DATA_BASE + ((_n) << 2)) _n 87 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_INT_RX_DONE(_n) BIT(_n) _n 90 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_INT_TX_DONE(_n) BIT(_n + 4) _n 121 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_WMM_AIFSN_SHIFT(_n) ((_n) * 4) _n 125 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_WMM_CWMIN_SHIFT(_n) ((_n) * 4) _n 129 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_WMM_CWMAX_SHIFT(_n) ((_n) * 4) _n 132 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_WMM_TXOP(_n) (MT_WMM_TXOP_BASE + (((_n) / 2) << 2)) _n 133 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_WMM_TXOP_SHIFT(_n) ((_n & 1) * 16) _n 185 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_BCN_OFFSET(_n) (MT_BCN_OFFSET_BASE + ((_n) << 2)) _n 278 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_WCID_DROP(_n) (MT_WCID_DROP_BASE + ((_n) >> 5) * 4) _n 279 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_WCID_DROP_MASK(_n) BIT((_n) % 32) _n 284 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_MAC_APC_BSSID_L(_n) (MT_MAC_APC_BSSID_BASE + ((_n) * 8)) _n 285 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_MAC_APC_BSSID_H(_n) (MT_MAC_APC_BSSID_BASE + ((_n) * 8 + 4)) _n 337 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_EDCA_CFG_AC(_n) (MT_EDCA_CFG_BASE + ((_n) << 2)) _n 549 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_BBP(_type, _n) (MT_BBP_##_type##_BASE + ((_n) << 2)) _n 568 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_WCID_ADDR(_n) (MT_WCID_ADDR_BASE + (_n) * 8) _n 573 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_WCID_KEY(_n) (MT_WCID_KEY_BASE + (_n) * 32) _n 576 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_WCID_IV(_n) (MT_WCID_IV_BASE + (_n) * 8) _n 579 drivers/net/wireless/mediatek/mt7601u/regs.h #define MT_WCID_ATTR(_n) (MT_WCID_ATTR_BASE + (_n) * 4) _n 2303 drivers/pinctrl/pinctrl-gemini.c #define GEMINI_CFGPIN(_n, _r, _lb, _hb) { \ _n 2304 drivers/pinctrl/pinctrl-gemini.c .pin = _n, \ _n 22 drivers/regulator/lp873x-regulator.c #define LP873X_REGULATOR(_name, _id, _of, _ops, _n, _vr, _vm, _er, _em, \ _n 32 drivers/regulator/lp873x-regulator.c .n_voltages = _n, \ _n 14 drivers/regulator/lp87565-regulator.c #define LP87565_REGULATOR(_name, _id, _of, _ops, _n, _vr, _vm, _er, _em, \ _n 24 drivers/regulator/lp87565-regulator.c .n_voltages = _n, \ _n 22 drivers/regulator/pcf50633-regulator.c #define PCF50633_REGULATOR(_name, _id, _min_uV, _uV_step, _min_sel, _n) \ _n 27 drivers/regulator/pcf50633-regulator.c .n_voltages = _n, \ _n 30 drivers/regulator/tps65217-regulator.c #define TPS65217_REGULATOR(_name, _id, _of_match, _ops, _n, _vr, _vm, _em, \ _n 38 drivers/regulator/tps65217-regulator.c .n_voltages = _n, \ _n 31 drivers/regulator/tps65218-regulator.c #define TPS65218_REGULATOR(_name, _of, _id, _type, _ops, _n, _vr, _vm, _er, \ _n 39 drivers/regulator/tps65218-regulator.c .n_voltages = _n, \ _n 202 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_REG_8bit(_ha, _n, _r) asd_printk(STR_8BIT, #_n, _n, \ _n 204 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_REG_16bit(_ha, _n, _r) asd_printk(STR_16BIT, #_n, _n, \ _n 206 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_REG_32bit(_ha, _n, _r) asd_printk(STR_32BIT, #_n, _n, \ _n 209 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_CREG_8bit(_ha, _n) asd_printk(STR_8BIT, #_n, _n, \ _n 210 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_byte(_ha, C##_n)) _n 211 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_CREG_16bit(_ha, _n) asd_printk(STR_16BIT, #_n, _n, \ _n 212 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_word(_ha, C##_n)) _n 213 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_CREG_32bit(_ha, _n) asd_printk(STR_32BIT, #_n, _n, \ _n 214 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_dword(_ha, C##_n)) _n 220 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_MREG_8bit(_ha, _m, _n, _r) asd_printk(MSTR_8BIT, _m, #_n, _n, \ _n 222 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_MREG_16bit(_ha, _m, _n, _r) asd_printk(MSTR_16BIT, _m, #_n, _n, \ _n 224 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_MREG_32bit(_ha, _m, _n, _r) asd_printk(MSTR_32BIT, _m, #_n, _n, \ _n 228 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_MIS_byte(_ha, _n) asd_printk(STR_8BIT, #_n,CSEQ_##_n-CMAPPEDSCR,\ _n 229 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_byte(_ha, CSEQ_##_n)) _n 230 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_MIS_word(_ha, _n) asd_printk(STR_16BIT,#_n,CSEQ_##_n-CMAPPEDSCR,\ _n 231 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_word(_ha, CSEQ_##_n)) _n 232 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_MIS_dword(_ha, _n) \ _n 233 drivers/scsi/aic94xx/aic94xx_dump.c asd_printk(STR_32BIT,#_n,CSEQ_##_n-CMAPPEDSCR,\ _n 234 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_dword(_ha, CSEQ_##_n)) _n 235 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_MIS_qword(_ha, _n) \ _n 236 drivers/scsi/aic94xx/aic94xx_dump.c asd_printk(STR_64BIT, #_n,CSEQ_##_n-CMAPPEDSCR, \ _n 237 drivers/scsi/aic94xx/aic94xx_dump.c (unsigned long long)(((u64)asd_read_reg_dword(_ha, CSEQ_##_n)) \ _n 238 drivers/scsi/aic94xx/aic94xx_dump.c | (((u64)asd_read_reg_dword(_ha, (CSEQ_##_n)+4))<<32))) _n 240 drivers/scsi/aic94xx/aic94xx_dump.c #define CMDP_REG(_n, _m) (_m*(CSEQ_PAGE_SIZE*2)+CSEQ_##_n) _n 241 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_CMDP_word(_ha, _n) \ _n 243 drivers/scsi/aic94xx/aic94xx_dump.c #_n, \ _n 244 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_word(_ha, CMDP_REG(_n, 0)), \ _n 245 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_word(_ha, CMDP_REG(_n, 1)), \ _n 246 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_word(_ha, CMDP_REG(_n, 2)), \ _n 247 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_word(_ha, CMDP_REG(_n, 3)), \ _n 248 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_word(_ha, CMDP_REG(_n, 4)), \ _n 249 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_word(_ha, CMDP_REG(_n, 5)), \ _n 250 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_word(_ha, CMDP_REG(_n, 6)), \ _n 251 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_word(_ha, CMDP_REG(_n, 7))) _n 253 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_CMDP_byte(_ha, _n) \ _n 255 drivers/scsi/aic94xx/aic94xx_dump.c #_n, \ _n 256 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_byte(_ha, CMDP_REG(_n, 0)), \ _n 257 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_byte(_ha, CMDP_REG(_n, 1)), \ _n 258 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_byte(_ha, CMDP_REG(_n, 2)), \ _n 259 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_byte(_ha, CMDP_REG(_n, 3)), \ _n 260 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_byte(_ha, CMDP_REG(_n, 4)), \ _n 261 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_byte(_ha, CMDP_REG(_n, 5)), \ _n 262 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_byte(_ha, CMDP_REG(_n, 6)), \ _n 263 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_byte(_ha, CMDP_REG(_n, 7))) _n 423 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_LREG_8bit(_h, _lseq, _n) \ _n 424 drivers/scsi/aic94xx/aic94xx_dump.c asd_printk(STR_8BIT, #_n, _n, asd_read_reg_byte(_h, Lm##_n(_lseq))) _n 425 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_LREG_16bit(_h, _lseq, _n) \ _n 426 drivers/scsi/aic94xx/aic94xx_dump.c asd_printk(STR_16BIT, #_n, _n, asd_read_reg_word(_h, Lm##_n(_lseq))) _n 427 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_LREG_32bit(_h, _lseq, _n) \ _n 428 drivers/scsi/aic94xx/aic94xx_dump.c asd_printk(STR_32BIT, #_n, _n, asd_read_reg_dword(_h, Lm##_n(_lseq))) _n 430 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_LMIP_byte(_h, _lseq, _n) \ _n 431 drivers/scsi/aic94xx/aic94xx_dump.c asd_printk(STR_8BIT, #_n, LmSEQ_##_n(_lseq)-LmSCRATCH(_lseq), \ _n 432 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_byte(_h, LmSEQ_##_n(_lseq))) _n 433 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_LMIP_word(_h, _lseq, _n) \ _n 434 drivers/scsi/aic94xx/aic94xx_dump.c asd_printk(STR_16BIT, #_n, LmSEQ_##_n(_lseq)-LmSCRATCH(_lseq), \ _n 435 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_word(_h, LmSEQ_##_n(_lseq))) _n 436 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_LMIP_dword(_h, _lseq, _n) \ _n 437 drivers/scsi/aic94xx/aic94xx_dump.c asd_printk(STR_32BIT, #_n, LmSEQ_##_n(_lseq)-LmSCRATCH(_lseq), \ _n 438 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_dword(_h, LmSEQ_##_n(_lseq))) _n 439 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_LMIP_qword(_h, _lseq, _n) \ _n 440 drivers/scsi/aic94xx/aic94xx_dump.c asd_printk(STR_64BIT, #_n, LmSEQ_##_n(_lseq)-LmSCRATCH(_lseq), \ _n 442 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_dword(_h, LmSEQ_##_n(_lseq))) \ _n 444 drivers/scsi/aic94xx/aic94xx_dump.c asd_read_reg_dword(_h, LmSEQ_##_n(_lseq)+4))<<32))) _n 18 drivers/scsi/bfa/bfa_defs.h #define STRSZ(_n) (((_n) + 4) & ~3) _n 549 drivers/scsi/cxlflash/sislite.h #define PORT_MASK(_n) ((1 << (_n)) - 1) _n 243 drivers/staging/wusbcore/crypto.c const u8 key[16], const struct aes_ccm_nonce *_n, _n 248 drivers/staging/wusbcore/crypto.c struct aes_ccm_nonce n = *_n; _n 298 drivers/staging/wusbcore/include/wusb.h const u8 key[16], const struct aes_ccm_nonce *_n, _n 868 fs/cachefiles/namei.c struct rb_node *_n; _n 901 fs/cachefiles/namei.c _n = cache->active_nodes.rb_node; _n 903 fs/cachefiles/namei.c while (_n) { _n 904 fs/cachefiles/namei.c object = rb_entry(_n, struct cachefiles_object, active_node); _n 907 fs/cachefiles/namei.c _n = _n->rb_left; _n 909 fs/cachefiles/namei.c _n = _n->rb_right; _n 471 fs/cachefiles/rdwr.c struct page *newpage = NULL, *netpage, *_n, *backpage = NULL; _n 476 fs/cachefiles/rdwr.c list_for_each_entry_safe(netpage, _n, list, lru) { _n 652 fs/cachefiles/rdwr.c list_for_each_entry_safe(netpage, _n, list, lru) { _n 692 fs/cachefiles/rdwr.c struct page *page, *_n; _n 730 fs/cachefiles/rdwr.c list_for_each_entry_safe(page, _n, pages, lru) { _n 79 fs/erofs/tagptr.h #define tagptr_cmpxchg(_ptptr, _o, _n) ({ \ _n 82 fs/erofs/tagptr.h typeof(_n) n = (_n); \ _n 35 fs/ocfs2/dlm/dlmcommon.h #define dlm_lockid_hash(_n, _l) full_name_hash(NULL, _n, _l) _n 319 fs/ocfs2/xattr.c #define bucket_block(_b, _n) ((_b)->bu_bhs[(_n)]->b_data) _n 979 include/linux/kernel.h #define __COUNT_ARGS(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _n, X...) _n _n 358 include/math-emu/op-4.h _FP_FRAC_DECL_4(_n); _FP_FRAC_DECL_4(_m); \ _n 359 include/math-emu/op-4.h _FP_FRAC_SET_4(_n, _FP_ZEROFRAC_4); \ _n 187 include/uapi/scsi/cxlflash_ioctl.h #define CXL_IOWR(_n, _s) _IOWR(CXL_MAGIC, _n, struct _s) _n 123 lib/842/842_compress.c struct sw842_hlist_node##b *_n; \ _n 125 lib/842/842_compress.c hash_for_each_possible(p->htable##b, _n, node, p->data##b[n]) { \ _n 126 lib/842/842_compress.c if (p->data##b[n] == _n->data) { \ _n 127 lib/842/842_compress.c p->index##b[n] = _n->index; \ _n 140 lib/842/842_compress.c struct sw842_hlist_node##b *_n = &(p)->node##b[(i)+(d)]; \ _n 141 lib/842/842_compress.c hash_del(&_n->node); \ _n 142 lib/842/842_compress.c _n->data = (p)->data##b[d]; \ _n 144 lib/842/842_compress.c (unsigned int)_n->index, \ _n 146 lib/842/842_compress.c (unsigned long)_n->data); \ _n 147 lib/842/842_compress.c hash_add((p)->htable##b, &_n->node, _n->data); \ _n 29 lib/raid6/neon.c #define RAID6_NEON_WRAPPER(_n) \ _n 30 lib/raid6/neon.c static void raid6_neon ## _n ## _gen_syndrome(int disks, \ _n 33 lib/raid6/neon.c void raid6_neon ## _n ## _gen_syndrome_real(int, \ _n 36 lib/raid6/neon.c raid6_neon ## _n ## _gen_syndrome_real(disks, \ _n 40 lib/raid6/neon.c static void raid6_neon ## _n ## _xor_syndrome(int disks, \ _n 44 lib/raid6/neon.c void raid6_neon ## _n ## _xor_syndrome_real(int, \ _n 47 lib/raid6/neon.c raid6_neon ## _n ## _xor_syndrome_real(disks, \ _n 51 lib/raid6/neon.c struct raid6_calls const raid6_neonx ## _n = { \ _n 52 lib/raid6/neon.c raid6_neon ## _n ## _gen_syndrome, \ _n 53 lib/raid6/neon.c raid6_neon ## _n ## _xor_syndrome, \ _n 55 lib/raid6/neon.c "neonx" #_n, \ _n 824 net/mac80211/sta_info.h #define STA_STATS_FIELD(_n, _v) FIELD_PREP(STA_STATS_FIELD_ ## _n, _v) _n 825 net/mac80211/sta_info.h #define STA_STATS_GET(_n, _v) FIELD_GET(STA_STATS_FIELD_ ## _n, _v) _n 31 samples/seccomp/bpf-direct.c #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) _n 80 tools/perf/util/perf_event_attr_fprintf.c #define PRINT_ATTRn(_n, _f, _p) \ _n 84 tools/perf/util/perf_event_attr_fprintf.c ret += attr__fprintf(fp, _n, buf, priv);\ _n 217 tools/testing/selftests/seccomp/seccomp_bpf.c #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) _n 219 tools/testing/selftests/seccomp/seccomp_bpf.c #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]) + sizeof(__u32))