Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1443 writel(iq->pkts_processed, iq->inst_cnt_reg); in lio_enable_irq()
1458 instr_cnt = readq(iq->inst_cnt_reg); in lio_enable_irq()
1461 iq->inst_cnt_reg); in lio_enable_irq()
Dlio_ethtool.c2383 void __iomem *inst_cnt_reg; in oct_cfg_tx_intrcnt() local
2402 inst_cnt_reg = (oct->instr_queue[q_no])->inst_cnt_reg; in oct_cfg_tx_intrcnt()
2403 val = readq(inst_cnt_reg); in oct_cfg_tx_intrcnt()
2408 writeq(val, inst_cnt_reg); in oct_cfg_tx_intrcnt()
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/
Doctep_tx.h182 u8 __iomem *inst_cnt_reg; member
Doctep_cn9k_pf.c273 iq->inst_cnt_reg = oct->mmio[0].hw_addr + in octep_setup_iq_regs_cn93_pf()
279 reset_instr_cnt = readl(iq->inst_cnt_reg); in octep_setup_iq_regs_cn93_pf()
280 writel(reset_instr_cnt, iq->inst_cnt_reg); in octep_setup_iq_regs_cn93_pf()
581 u32 pkt_in_done = readl(iq->inst_cnt_reg); in octep_update_iq_read_index_cn93_pf()
Doctep_main.c360 writel(iq->pkts_processed, iq->inst_cnt_reg); in octep_enable_ioq_irq()
372 writeq(1UL << OCTEP_IQ_INTR_RESEND_BIT, iq->inst_cnt_reg); in octep_enable_ioq_irq()