Home
last modified time | relevance | path

Searched refs:inst_cnt_reg (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/
Dcn23xx_vf_device.c112 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()
Dcn23xx_pf_device.c444 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 …]
Dcn66xx_device.c279 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()
Docteon_iq.h145 void __iomem *inst_cnt_reg; member
Docteon_device.c1467 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()
Dlio_ethtool.c2385 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/
Doctep_vf_cn9k.c186 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()
Doctep_vf_cnxk.c189 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()
Doctep_vf_tx.h153 u8 __iomem *inst_cnt_reg; member
Doctep_vf_main.c302 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/
Doctep_tx.h195 u8 __iomem *inst_cnt_reg; member
Doctep_cn9k_pf.c295 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()
Doctep_cnxk_pf.c315 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()
Doctep_main.c569 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()