Searched refs:inst_cnt_reg (Results 1 – 14 of 14) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/ |
D | cn23xx_vf_device.c | 112 void __iomem *inst_cnt_reg; in cn23xx_vf_setup_global_input_regs() local 119 inst_cnt_reg = iq->inst_cnt_reg; in cn23xx_vf_setup_global_input_regs() 121 inst_cnt_reg = (u8 *)oct->mmio[0].hw_addr + in cn23xx_vf_setup_global_input_regs() 142 writeq((readq(inst_cnt_reg) & in cn23xx_vf_setup_global_input_regs() 146 inst_cnt_reg); in cn23xx_vf_setup_global_input_regs() 227 iq->inst_cnt_reg = in cn23xx_setup_vf_iq_regs() 230 iq_no, iq->doorbell_reg, iq->inst_cnt_reg); in cn23xx_setup_vf_iq_regs() 235 pkt_in_done = readq(iq->inst_cnt_reg); in cn23xx_setup_vf_iq_regs() 240 iq->inst_cnt_reg); in cn23xx_setup_vf_iq_regs() 526 u32 pkt_in_done = readl(iq->inst_cnt_reg); in cn23xx_update_read_index()
|
D | cn23xx_pf_device.c | 444 void __iomem *inst_cnt_reg; in cn23xx_pf_setup_global_input_regs() local 448 inst_cnt_reg = iq->inst_cnt_reg; in cn23xx_pf_setup_global_input_regs() 450 inst_cnt_reg = (u8 *)oct->mmio[0].hw_addr + in cn23xx_pf_setup_global_input_regs() 466 writeq((readq(inst_cnt_reg) & in cn23xx_pf_setup_global_input_regs() 470 inst_cnt_reg); in cn23xx_pf_setup_global_input_regs() 604 iq->inst_cnt_reg = in cn23xx_setup_iq_regs() 607 iq_no, iq->doorbell_reg, iq->inst_cnt_reg); in cn23xx_setup_iq_regs() 612 pkt_in_done = readq(iq->inst_cnt_reg); in cn23xx_setup_iq_regs() 617 iq->inst_cnt_reg); in cn23xx_setup_iq_regs() 622 writeq(pkt_in_done, iq->inst_cnt_reg); in cn23xx_setup_iq_regs() [all …]
|
D | cn66xx_device.c | 279 iq->inst_cnt_reg = oct->mmio[0].hw_addr in lio_cn6xxx_setup_iq_regs() 282 iq_no, iq->doorbell_reg, iq->inst_cnt_reg); in lio_cn6xxx_setup_iq_regs() 287 iq->reset_instr_cnt = readl(iq->inst_cnt_reg); in lio_cn6xxx_setup_iq_regs() 451 u32 new_idx = readl(iq->inst_cnt_reg); in lio_cn6xxx_update_read_index()
|
D | octeon_iq.h | 145 void __iomem *inst_cnt_reg; member
|
D | octeon_device.c | 1467 writel(iq->pkts_processed, iq->inst_cnt_reg); in lio_enable_irq() 1482 instr_cnt = readq(iq->inst_cnt_reg); in lio_enable_irq() 1485 iq->inst_cnt_reg); in lio_enable_irq()
|
D | lio_ethtool.c | 2385 void __iomem *inst_cnt_reg; in oct_cfg_tx_intrcnt() local 2404 inst_cnt_reg = (oct->instr_queue[q_no])->inst_cnt_reg; in oct_cfg_tx_intrcnt() 2405 val = readq(inst_cnt_reg); in oct_cfg_tx_intrcnt() 2410 writeq(val, inst_cnt_reg); in oct_cfg_tx_intrcnt()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/ |
D | octep_vf_cn9k.c | 186 iq->inst_cnt_reg = oct->mmio.hw_addr + CN93_VF_SDP_R_IN_CNTS(iq_no); in octep_vf_setup_iq_regs_cn93() 190 reset_instr_cnt = readl(iq->inst_cnt_reg); in octep_vf_setup_iq_regs_cn93() 191 writel(reset_instr_cnt, iq->inst_cnt_reg); in octep_vf_setup_iq_regs_cn93() 354 u32 pkt_in_done = readl(iq->inst_cnt_reg); in octep_vf_update_iq_read_index_cn93()
|
D | octep_vf_cnxk.c | 189 iq->inst_cnt_reg = oct->mmio.hw_addr + CNXK_VF_SDP_R_IN_CNTS(iq_no); in octep_vf_setup_iq_regs_cnxk() 193 reset_instr_cnt = readl(iq->inst_cnt_reg); in octep_vf_setup_iq_regs_cnxk() 194 writel(reset_instr_cnt, iq->inst_cnt_reg); in octep_vf_setup_iq_regs_cnxk() 365 u32 pkt_in_done = readl(iq->inst_cnt_reg); in octep_vf_update_iq_read_index_cnxk()
|
D | octep_vf_tx.h | 153 u8 __iomem *inst_cnt_reg; member
|
D | octep_vf_main.c | 302 writel(iq->pkts_processed, iq->inst_cnt_reg); in octep_vf_enable_ioq_irq() 314 writeq(1UL << OCTEP_VF_IQ_INTR_RESEND_BIT, iq->inst_cnt_reg); in octep_vf_enable_ioq_irq()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_tx.h | 195 u8 __iomem *inst_cnt_reg; member
|
D | octep_cn9k_pf.c | 295 iq->inst_cnt_reg = oct->mmio[0].hw_addr + in octep_setup_iq_regs_cn93_pf() 301 reset_instr_cnt = readl(iq->inst_cnt_reg); in octep_setup_iq_regs_cn93_pf() 302 writel(reset_instr_cnt, iq->inst_cnt_reg); in octep_setup_iq_regs_cn93_pf() 727 u32 pkt_in_done = readl(iq->inst_cnt_reg); in octep_update_iq_read_index_cn93_pf()
|
D | octep_cnxk_pf.c | 315 iq->inst_cnt_reg = oct->mmio[0].hw_addr + in octep_setup_iq_regs_cnxk_pf() 321 reset_instr_cnt = readl(iq->inst_cnt_reg); in octep_setup_iq_regs_cnxk_pf() 322 writel(reset_instr_cnt, iq->inst_cnt_reg); in octep_setup_iq_regs_cnxk_pf() 750 u32 pkt_in_done = readl(iq->inst_cnt_reg); in octep_update_iq_read_index_cnxk_pf()
|
D | octep_main.c | 569 writel(iq->pkts_processed, iq->inst_cnt_reg); in octep_enable_ioq_irq() 581 writeq(1UL << OCTEP_IQ_INTR_RESEND_BIT, iq->inst_cnt_reg); in octep_enable_ioq_irq()
|