/linux-6.12.1/arch/parisc/include/asm/ |
D | asmregs.h | 11 rp: .reg %r2 12 arg3: .reg %r23 13 arg2: .reg %r24 14 arg1: .reg %r25 15 arg0: .reg %r26 16 dp: .reg %r27 17 ret0: .reg %r28 18 ret1: .reg %r29 19 sl: .reg %r29 20 sp: .reg %r30 [all …]
|
/linux-6.12.1/arch/mips/include/asm/ |
D | asm-eva.h | 19 #define kernel_ll(reg, addr) "ll " reg ", " addr "\n" argument 20 #define kernel_sc(reg, addr) "sc " reg ", " addr "\n" argument 21 #define kernel_lw(reg, addr) "lw " reg ", " addr "\n" argument 22 #define kernel_lwl(reg, addr) "lwl " reg ", " addr "\n" argument 23 #define kernel_lwr(reg, addr) "lwr " reg ", " addr "\n" argument 24 #define kernel_lh(reg, addr) "lh " reg ", " addr "\n" argument 25 #define kernel_lb(reg, addr) "lb " reg ", " addr "\n" argument 26 #define kernel_lbu(reg, addr) "lbu " reg ", " addr "\n" argument 27 #define kernel_sw(reg, addr) "sw " reg ", " addr "\n" argument 28 #define kernel_swl(reg, addr) "swl " reg ", " addr "\n" argument [all …]
|
/linux-6.12.1/drivers/net/ethernet/mscc/ |
D | vsc7514_regs.c | 72 REG(ANA_ADVLEARN, 0x009000), 73 REG(ANA_VLANMASK, 0x009004), 74 REG(ANA_PORT_B_DOMAIN, 0x009008), 75 REG(ANA_ANAGEFIL, 0x00900c), 76 REG(ANA_ANEVENTS, 0x009010), 77 REG(ANA_STORMLIMIT_BURST, 0x009014), 78 REG(ANA_STORMLIMIT_CFG, 0x009018), 79 REG(ANA_ISOLATED_PORTS, 0x009028), 80 REG(ANA_COMMUNITY_PORTS, 0x00902c), 81 REG(ANA_AUTOAGE, 0x009030), [all …]
|
/linux-6.12.1/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_reg.c | 28 u32 reg; in analogix_dp_enable_video_mute() local 31 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute() 32 reg |= HDCP_VIDEO_MUTE; in analogix_dp_enable_video_mute() 33 writel(reg, dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute() 35 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute() 36 reg &= ~HDCP_VIDEO_MUTE; in analogix_dp_enable_video_mute() 37 writel(reg, dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute() 43 u32 reg; in analogix_dp_stop_video() local 45 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_stop_video() 46 reg &= ~VIDEO_EN; in analogix_dp_stop_video() [all …]
|
/linux-6.12.1/tools/testing/selftests/powerpc/include/ |
D | vmx_asm.h | 9 #define PUSH_VMX(pos,reg) \ argument 10 li reg,pos; \ 11 stvx v20,reg,%r1; \ 12 addi reg,reg,16; \ 13 stvx v21,reg,%r1; \ 14 addi reg,reg,16; \ 15 stvx v22,reg,%r1; \ 16 addi reg,reg,16; \ 17 stvx v23,reg,%r1; \ 18 addi reg,reg,16; \ [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/ |
D | reg_helper.h | 36 * REG ==> macro to location of register offset 37 * eg. aud110->regs->reg 40 dm_read_reg(CTX, REG(reg_name)) 43 dm_write_reg(CTX, REG(reg_name), value) 56 REG(reg_name), \ 67 #define REG_SET_2(reg, init_value, f1, v1, f2, v2) \ argument 68 REG_SET_N(reg, 2, init_value, \ 69 FN(reg, f1), v1,\ 70 FN(reg, f2), v2) 72 #define REG_SET_3(reg, init_value, f1, v1, f2, v2, f3, v3) \ argument [all …]
|
/linux-6.12.1/drivers/accel/ivpu/ |
D | ivpu_hw_reg_io.h | 18 #define REGB_RD32(reg) ivpu_hw_reg_rd32(vdev, vdev->regb, (reg), #reg, __func__) argument 19 #define REGB_RD32_SILENT(reg) readl(vdev->regb + (reg)) argument 20 #define REGB_RD64(reg) ivpu_hw_reg_rd64(vdev, vdev->regb, (reg), #reg, __func__) argument 21 #define REGB_WR32(reg, val) ivpu_hw_reg_wr32(vdev, vdev->regb, (reg), (val), #reg, __func__) argument 22 #define REGB_WR64(reg, val) ivpu_hw_reg_wr64(vdev, vdev->regb, (reg), (val), #reg, __func__) argument 24 #define REGV_RD32(reg) ivpu_hw_reg_rd32(vdev, vdev->regv, (reg), #reg, __func__) argument 25 #define REGV_RD32_SILENT(reg) readl(vdev->regv + (reg)) argument 26 #define REGV_RD64(reg) ivpu_hw_reg_rd64(vdev, vdev->regv, (reg), #reg, __func__) argument 27 #define REGV_WR32(reg, val) ivpu_hw_reg_wr32(vdev, vdev->regv, (reg), (val), #reg, __func__) argument 28 #define REGV_WR64(reg, val) ivpu_hw_reg_wr64(vdev, vdev->regv, (reg), (val), #reg, __func__) argument [all …]
|
/linux-6.12.1/drivers/media/platform/samsung/s5p-jpeg/ |
D | jpeg-hw-s5p.c | 19 unsigned long reg; in s5p_jpeg_reset() local 22 reg = readl(regs + S5P_JPG_SW_RESET); in s5p_jpeg_reset() 24 while (reg != 0) { in s5p_jpeg_reset() 26 reg = readl(regs + S5P_JPG_SW_RESET); in s5p_jpeg_reset() 37 unsigned long reg, m; in s5p_jpeg_input_raw_mode() local 45 reg = readl(regs + S5P_JPGCMOD); in s5p_jpeg_input_raw_mode() 46 reg &= ~S5P_MOD_SEL_MASK; in s5p_jpeg_input_raw_mode() 47 reg |= m; in s5p_jpeg_input_raw_mode() 48 writel(reg, regs + S5P_JPGCMOD); in s5p_jpeg_input_raw_mode() 53 unsigned long reg, m; in s5p_jpeg_proc_mode() local [all …]
|
D | jpeg-hw-exynos4.c | 18 unsigned int reg; in exynos4_jpeg_sw_reset() local 20 reg = readl(base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_sw_reset() 21 writel(reg & ~(EXYNOS4_DEC_MODE | EXYNOS4_ENC_MODE), in exynos4_jpeg_sw_reset() 24 reg = readl(base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_sw_reset() 25 writel(reg & ~EXYNOS4_SOFT_RESET_HI, base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_sw_reset() 29 writel(reg | EXYNOS4_SOFT_RESET_HI, base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_sw_reset() 34 unsigned int reg; in exynos4_jpeg_set_enc_dec_mode() local 36 reg = readl(base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_set_enc_dec_mode() 39 writel((reg & EXYNOS4_ENC_DEC_MODE_MASK) | in exynos4_jpeg_set_enc_dec_mode() 43 writel((reg & EXYNOS4_ENC_DEC_MODE_MASK) | in exynos4_jpeg_set_enc_dec_mode() [all …]
|
D | jpeg-hw-exynos3250.c | 20 u32 reg = 1; in exynos3250_jpeg_reset() local 25 while (reg != 0 && --count > 0) { in exynos3250_jpeg_reset() 28 reg = readl(regs + EXYNOS3250_SW_RESET); in exynos3250_jpeg_reset() 31 reg = 0; in exynos3250_jpeg_reset() 34 while (reg != 1 && --count > 0) { in exynos3250_jpeg_reset() 38 reg = readl(regs + EXYNOS3250_JPGDRI); in exynos3250_jpeg_reset() 62 u32 reg; in exynos3250_jpeg_clk_set() local 64 reg = readl(base + EXYNOS3250_JPGCMOD) & ~EXYNOS3250_HALF_EN_MASK; in exynos3250_jpeg_clk_set() 66 writel(reg | EXYNOS3250_HALF_EN, base + EXYNOS3250_JPGCMOD); in exynos3250_jpeg_clk_set() 71 u32 reg; in exynos3250_jpeg_input_raw_fmt() local [all …]
|
/linux-6.12.1/drivers/media/cec/platform/s5p/ |
D | exynos_hdmi_cecctrl.c | 26 unsigned int reg; in s5p_cec_set_divider() local 30 if (regmap_read(cec->pmu, EXYNOS_HDMI_PHY_CONTROL, ®)) { in s5p_cec_set_divider() 35 reg = (reg & ~(0x3FF << 16)) | (div_ratio << 16); in s5p_cec_set_divider() 37 if (regmap_write(cec->pmu, EXYNOS_HDMI_PHY_CONTROL, reg)) { in s5p_cec_set_divider() 44 writeb(0x0, cec->reg + S5P_CEC_DIVISOR_3); in s5p_cec_set_divider() 45 writeb(0x0, cec->reg + S5P_CEC_DIVISOR_2); in s5p_cec_set_divider() 46 writeb(0x0, cec->reg + S5P_CEC_DIVISOR_1); in s5p_cec_set_divider() 47 writeb(div_val, cec->reg + S5P_CEC_DIVISOR_0); in s5p_cec_set_divider() 52 u8 reg; in s5p_cec_enable_rx() local 54 reg = readb(cec->reg + S5P_CEC_RX_CTRL); in s5p_cec_enable_rx() [all …]
|
/linux-6.12.1/drivers/scsi/qla2xxx/ |
D | qla_dbg.c | 107 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24; in qla27xx_dump_mpi_ram() local 118 if (qla_pci_disconnected(vha, reg)) in qla27xx_dump_mpi_ram() 125 wrt_reg_word(®->mailbox0, MBC_LOAD_DUMP_MPI_RAM); in qla27xx_dump_mpi_ram() 126 wrt_reg_word(®->mailbox1, LSW(addr)); in qla27xx_dump_mpi_ram() 127 wrt_reg_word(®->mailbox8, MSW(addr)); in qla27xx_dump_mpi_ram() 129 wrt_reg_word(®->mailbox2, MSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram() 130 wrt_reg_word(®->mailbox3, LSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram() 131 wrt_reg_word(®->mailbox6, MSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram() 132 wrt_reg_word(®->mailbox7, LSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram() 134 wrt_reg_word(®->mailbox4, MSW(dwords)); in qla27xx_dump_mpi_ram() [all …]
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | gdb_xml.h | 26 "<reg name=\""DBG_REG_ZERO"\" bitsize=\"64\" type=\"int\" regnum=\"0\"/>" 27 "<reg name=\""DBG_REG_RA"\" bitsize=\"64\" type=\"code_ptr\"/>" 28 "<reg name=\""DBG_REG_SP"\" bitsize=\"64\" type=\"data_ptr\"/>" 29 "<reg name=\""DBG_REG_GP"\" bitsize=\"64\" type=\"data_ptr\"/>" 30 "<reg name=\""DBG_REG_TP"\" bitsize=\"64\" type=\"data_ptr\"/>" 31 "<reg name=\""DBG_REG_T0"\" bitsize=\"64\" type=\"int\"/>" 32 "<reg name=\""DBG_REG_T1"\" bitsize=\"64\" type=\"int\"/>" 33 "<reg name=\""DBG_REG_T2"\" bitsize=\"64\" type=\"int\"/>" 34 "<reg name=\""DBG_REG_FP"\" bitsize=\"64\" type=\"data_ptr\"/>" 35 "<reg name=\""DBG_REG_S1"\" bitsize=\"64\" type=\"int\"/>" [all …]
|
/linux-6.12.1/drivers/video/fbdev/riva/ |
D | nvreg.h | 44 #define DEVICE_ACCESS(device,reg) \ argument 45 nvCONTROL[(NV_##device##_##reg)/4] 47 #define DEVICE_WRITE(device,reg,value) DEVICE_ACCESS(device,reg)=(value) argument 48 #define DEVICE_READ(device,reg) DEVICE_ACCESS(device,reg) argument 49 #define DEVICE_PRINT(device,reg) \ argument 50 ErrorF("NV_"#device"_"#reg"=#%08lx\n",DEVICE_ACCESS(device,reg)) 56 #define PDAC_Write(reg,value) DEVICE_WRITE(PDAC,reg,value) argument 57 #define PDAC_Read(reg) DEVICE_READ(PDAC,reg) argument 58 #define PDAC_Print(reg) DEVICE_PRINT(PDAC,reg) argument 63 #define PFB_Write(reg,value) DEVICE_WRITE(PFB,reg,value) argument [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | soc15_common.h | 36 #define SOC15_REG_OFFSET(ip, inst, reg) (adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg) argument 37 #define SOC15_REG_OFFSET1(ip, inst, reg, offset) \ argument 38 (adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + (reg)+(offset)) 40 #define __WREG32_SOC15_RLC__(reg, value, flag, hwip, inst) \ argument 42 amdgpu_sriov_wreg(adev, reg, value, flag, hwip, inst) : \ 43 WREG32(reg, value)) 45 #define __RREG32_SOC15_RLC__(reg, flag, hwip, inst) \ argument 47 amdgpu_sriov_rreg(adev, reg, flag, hwip, inst) : \ 48 RREG32(reg)) 50 #define WREG32_FIELD15(ip, idx, reg, field, val) \ argument [all …]
|
/linux-6.12.1/tools/perf/arch/csky/util/ |
D | unwind-libdw.c | 16 #define REG(r) ({ \ in libdw__arch_set_initial_registers() macro 23 dwarf_regs[0] = REG(A0); in libdw__arch_set_initial_registers() 24 dwarf_regs[1] = REG(A1); in libdw__arch_set_initial_registers() 25 dwarf_regs[2] = REG(A2); in libdw__arch_set_initial_registers() 26 dwarf_regs[3] = REG(A3); in libdw__arch_set_initial_registers() 27 dwarf_regs[4] = REG(REGS0); in libdw__arch_set_initial_registers() 28 dwarf_regs[5] = REG(REGS1); in libdw__arch_set_initial_registers() 29 dwarf_regs[6] = REG(REGS2); in libdw__arch_set_initial_registers() 30 dwarf_regs[7] = REG(REGS3); in libdw__arch_set_initial_registers() 31 dwarf_regs[8] = REG(REGS4); in libdw__arch_set_initial_registers() [all …]
|
/linux-6.12.1/drivers/net/dsa/ocelot/ |
D | seville_vsc9953.c | 43 REG(ANA_ADVLEARN, 0x00b500), 44 REG(ANA_VLANMASK, 0x00b504), 46 REG(ANA_ANAGEFIL, 0x00b50c), 47 REG(ANA_ANEVENTS, 0x00b510), 48 REG(ANA_STORMLIMIT_BURST, 0x00b514), 49 REG(ANA_STORMLIMIT_CFG, 0x00b518), 50 REG(ANA_ISOLATED_PORTS, 0x00b528), 51 REG(ANA_COMMUNITY_PORTS, 0x00b52c), 52 REG(ANA_AUTOAGE, 0x00b530), 53 REG(ANA_MACTOPTIONS, 0x00b534), [all …]
|
/linux-6.12.1/drivers/media/platform/nxp/imx-jpeg/ |
D | mxc-jpeg-hw.c | 18 dev_dbg(dev, "Wrapper reg %s = 0x%x\n", reg_name, val);\ 35 void print_cast_status(struct device *dev, void __iomem *reg, in print_cast_status() argument 39 print_wrapper_reg(dev, reg, CAST_STATUS0); in print_cast_status() 40 print_wrapper_reg(dev, reg, CAST_STATUS1); in print_cast_status() 41 print_wrapper_reg(dev, reg, CAST_STATUS2); in print_cast_status() 42 print_wrapper_reg(dev, reg, CAST_STATUS3); in print_cast_status() 43 print_wrapper_reg(dev, reg, CAST_STATUS4); in print_cast_status() 44 print_wrapper_reg(dev, reg, CAST_STATUS5); in print_cast_status() 45 print_wrapper_reg(dev, reg, CAST_STATUS6); in print_cast_status() 46 print_wrapper_reg(dev, reg, CAST_STATUS7); in print_cast_status() [all …]
|
/linux-6.12.1/drivers/net/ethernet/microchip/ |
D | encx24j600-regmap.c | 60 static int regmap_encx24j600_sfr_read(void *context, u8 reg, u8 *val, in regmap_encx24j600_sfr_read() argument 64 u8 banked_reg = reg & ADDR_MASK; in regmap_encx24j600_sfr_read() 65 u8 bank = ((reg & BANK_MASK) >> BANK_SHIFT); in regmap_encx24j600_sfr_read() 71 if (reg < 0x80) { in regmap_encx24j600_sfr_read() 81 switch (reg) { in regmap_encx24j600_sfr_read() 104 tx_buf[i++] = reg; in regmap_encx24j600_sfr_read() 112 u8 reg, u8 *val, size_t len, in regmap_encx24j600_sfr_update() argument 115 u8 banked_reg = reg & ADDR_MASK; in regmap_encx24j600_sfr_update() 116 u8 bank = ((reg & BANK_MASK) >> BANK_SHIFT); in regmap_encx24j600_sfr_update() 120 { .tx_buf = ®, .len = sizeof(reg), }, in regmap_encx24j600_sfr_update() [all …]
|
/linux-6.12.1/drivers/clk/imx/ |
D | clk.h | 107 #define clk_register_gate2(dev, name, parent_name, flags, reg, bit_idx, \ argument 109 to_clk(clk_hw_register_gate2(dev, name, parent_name, flags, reg, bit_idx, \ 115 #define imx_clk_pfd(name, parent_name, reg, idx) \ argument 116 to_clk(imx_clk_hw_pfd(name, parent_name, reg, idx)) 118 #define imx_clk_gate_exclusive(name, parent, reg, shift, exclusive_mask) \ argument 119 to_clk(imx_clk_hw_gate_exclusive(name, parent, reg, shift, exclusive_mask)) 127 #define imx_clk_divider(name, parent, reg, shift, width) \ argument 128 to_clk(imx_clk_hw_divider(name, parent, reg, shift, width)) 130 #define imx_clk_divider_flags(name, parent, reg, shift, width, flags) \ argument 131 to_clk(imx_clk_hw_divider_flags(name, parent, reg, shift, width, flags)) [all …]
|
/linux-6.12.1/tools/perf/util/ |
D | amd-sample-raw.c | 23 static void pr_ibs_fetch_ctl(union ibs_fetch_ctl reg) in pr_ibs_fetch_ctl() argument 50 if (reg.phy_addr_valid) in pr_ibs_fetch_ctl() 51 l1tlb_pgsz_str = l1tlb_pgsz_strs_erratum1347[reg.l1tlb_pgsz]; in pr_ibs_fetch_ctl() 53 if (reg.phy_addr_valid) in pr_ibs_fetch_ctl() 54 l1tlb_pgsz_str = l1tlb_pgsz_strs[reg.l1tlb_pgsz]; in pr_ibs_fetch_ctl() 55 ic_miss_str = ic_miss_strs[reg.ic_miss]; in pr_ibs_fetch_ctl() 61 reg.l3_miss_only, reg.fetch_oc_miss, reg.fetch_l3_miss); in pr_ibs_fetch_ctl() 66 reg.val, reg.fetch_maxcnt << 4, reg.fetch_cnt << 4, reg.fetch_lat, in pr_ibs_fetch_ctl() 67 reg.fetch_en, reg.fetch_val, reg.fetch_comp, ic_miss_str ? : "", in pr_ibs_fetch_ctl() 68 reg.phy_addr_valid, l1tlb_pgsz_str ? : "", reg.l1tlb_miss, reg.l2tlb_miss, in pr_ibs_fetch_ctl() [all …]
|
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/ |
D | rt2400pci.c | 48 u32 reg; in rt2400pci_bbp_write() local 56 if (WAIT_FOR_BBP(rt2x00dev, ®)) { in rt2400pci_bbp_write() 57 reg = 0; in rt2400pci_bbp_write() 58 rt2x00_set_field32(®, BBPCSR_VALUE, value); in rt2400pci_bbp_write() 59 rt2x00_set_field32(®, BBPCSR_REGNUM, word); in rt2400pci_bbp_write() 60 rt2x00_set_field32(®, BBPCSR_BUSY, 1); in rt2400pci_bbp_write() 61 rt2x00_set_field32(®, BBPCSR_WRITE_CONTROL, 1); in rt2400pci_bbp_write() 63 rt2x00mmio_register_write(rt2x00dev, BBPCSR, reg); in rt2400pci_bbp_write() 72 u32 reg; in rt2400pci_bbp_read() local 82 * doesn't become available in time, reg will be 0xffffffff in rt2400pci_bbp_read() [all …]
|
/linux-6.12.1/drivers/clk/ |
D | clk-highbank.c | 39 void __iomem *reg; member 46 u32 reg; in clk_pll_prepare() local 48 reg = readl(hbclk->reg); in clk_pll_prepare() 49 reg &= ~HB_PLL_RESET; in clk_pll_prepare() 50 writel(reg, hbclk->reg); in clk_pll_prepare() 52 while ((readl(hbclk->reg) & HB_PLL_LOCK) == 0) in clk_pll_prepare() 54 while ((readl(hbclk->reg) & HB_PLL_LOCK_500) == 0) in clk_pll_prepare() 63 u32 reg; in clk_pll_unprepare() local 65 reg = readl(hbclk->reg); in clk_pll_unprepare() 66 reg |= HB_PLL_RESET; in clk_pll_unprepare() [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb_82598.c | 21 u32 reg = 0; in ixgbe_dcb_config_rx_arbiter_82598() local 26 reg = IXGBE_READ_REG(hw, IXGBE_RUPPBMR) | IXGBE_RUPPBMR_MQA; in ixgbe_dcb_config_rx_arbiter_82598() 27 IXGBE_WRITE_REG(hw, IXGBE_RUPPBMR, reg); in ixgbe_dcb_config_rx_arbiter_82598() 29 reg = IXGBE_READ_REG(hw, IXGBE_RMCS); in ixgbe_dcb_config_rx_arbiter_82598() 31 reg &= ~IXGBE_RMCS_ARBDIS; in ixgbe_dcb_config_rx_arbiter_82598() 33 reg |= IXGBE_RMCS_RRM; in ixgbe_dcb_config_rx_arbiter_82598() 35 reg |= IXGBE_RMCS_DFP; in ixgbe_dcb_config_rx_arbiter_82598() 37 IXGBE_WRITE_REG(hw, IXGBE_RMCS, reg); in ixgbe_dcb_config_rx_arbiter_82598() 44 reg = credit_refill | (credit_max << IXGBE_RT2CR_MCL_SHIFT); in ixgbe_dcb_config_rx_arbiter_82598() 47 reg |= IXGBE_RT2CR_LSP; in ixgbe_dcb_config_rx_arbiter_82598() [all …]
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mcs.c | 29 u64 reg; in mcs_get_tx_secy_stats() local 31 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTCTLBCPKTSX(id); in mcs_get_tx_secy_stats() 32 stats->ctl_pkt_bcast_cnt = mcs_reg_read(mcs, reg); in mcs_get_tx_secy_stats() 34 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTCTLMCPKTSX(id); in mcs_get_tx_secy_stats() 35 stats->ctl_pkt_mcast_cnt = mcs_reg_read(mcs, reg); in mcs_get_tx_secy_stats() 37 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTCTLOCTETSX(id); in mcs_get_tx_secy_stats() 38 stats->ctl_octet_cnt = mcs_reg_read(mcs, reg); in mcs_get_tx_secy_stats() 40 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTCTLUCPKTSX(id); in mcs_get_tx_secy_stats() 41 stats->ctl_pkt_ucast_cnt = mcs_reg_read(mcs, reg); in mcs_get_tx_secy_stats() 43 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTUNCTLBCPKTSX(id); in mcs_get_tx_secy_stats() [all …]
|