Lines Matching refs:iq_no
274 void lio_cn6xxx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) in lio_cn6xxx_setup_iq_regs() argument
276 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in lio_cn6xxx_setup_iq_regs()
279 octeon_write_csr64(oct, CN6XXX_SLI_IQ_PKT_INSTR_HDR64(iq_no), 0); in lio_cn6xxx_setup_iq_regs()
282 octeon_write_csr64(oct, CN6XXX_SLI_IQ_BASE_ADDR64(iq_no), in lio_cn6xxx_setup_iq_regs()
284 octeon_write_csr(oct, CN6XXX_SLI_IQ_SIZE(iq_no), iq->max_count); in lio_cn6xxx_setup_iq_regs()
289 iq->doorbell_reg = oct->mmio[0].hw_addr + CN6XXX_SLI_IQ_DOORBELL(iq_no); in lio_cn6xxx_setup_iq_regs()
291 + CN6XXX_SLI_IQ_INSTR_COUNT(iq_no); in lio_cn6xxx_setup_iq_regs()
293 iq_no, iq->doorbell_reg, iq->inst_cnt_reg); in lio_cn6xxx_setup_iq_regs()
301 static void lio_cn66xx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) in lio_cn66xx_setup_iq_regs() argument
303 lio_cn6xxx_setup_iq_regs(oct, iq_no); in lio_cn66xx_setup_iq_regs()
308 octeon_write_csr64(oct, CN66XX_SLI_IQ_BP64(iq_no), in lio_cn66xx_setup_iq_regs()