Searched refs:inst_cnt_reg (Results 1 – 9 of 9) sorted by relevance
/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 | 1466 writel(iq->pkts_processed, iq->inst_cnt_reg); in lio_enable_irq() 1481 instr_cnt = readq(iq->inst_cnt_reg); in lio_enable_irq() 1484 iq->inst_cnt_reg); in lio_enable_irq()
|
D | lio_ethtool.c | 2383 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()
|
/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_cn9k_pf.c | 294 iq->inst_cnt_reg = oct->mmio[0].hw_addr + in octep_setup_iq_regs_cn93_pf() 300 reset_instr_cnt = readl(iq->inst_cnt_reg); in octep_setup_iq_regs_cn93_pf() 301 writel(reset_instr_cnt, iq->inst_cnt_reg); in octep_setup_iq_regs_cn93_pf() 598 u32 pkt_in_done = readl(iq->inst_cnt_reg); in octep_update_iq_read_index_cn93_pf()
|
D | octep_tx.h | 196 u8 __iomem *inst_cnt_reg; member
|
D | octep_main.c | 361 writel(iq->pkts_processed, iq->inst_cnt_reg); in octep_enable_ioq_irq() 373 writeq(1UL << OCTEP_IQ_INTR_RESEND_BIT, iq->inst_cnt_reg); in octep_enable_ioq_irq()
|