Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/
A Doctep_cn9k_pf.c293 struct octep_oq *oq = oct->oq[oq_no]; in octep_setup_oq_regs_cn93_pf()
295 oq_no += CFG_GET_PORTS_PF_SRN(oct->conf); in octep_setup_oq_regs_cn93_pf()
296 reg_val = octep_read_csr64(oct, CN93_SDP_R_OUT_CONTROL(oq_no)); in octep_setup_oq_regs_cn93_pf()
316 octep_write_csr64(oct, CN93_SDP_R_OUT_CONTROL(oq_no), reg_val); in octep_setup_oq_regs_cn93_pf()
317 octep_write_csr64(oct, CN93_SDP_R_OUT_SLIST_BADDR(oq_no), in octep_setup_oq_regs_cn93_pf()
319 octep_write_csr64(oct, CN93_SDP_R_OUT_SLIST_RSIZE(oq_no), in octep_setup_oq_regs_cn93_pf()
322 oq_ctl = octep_read_csr64(oct, CN93_SDP_R_OUT_CONTROL(oq_no)); in octep_setup_oq_regs_cn93_pf()
325 octep_write_csr64(oct, CN93_SDP_R_OUT_CONTROL(oq_no), oq_ctl); in octep_setup_oq_regs_cn93_pf()
330 CN93_SDP_R_OUT_SLIST_DBELL(oq_no); in octep_setup_oq_regs_cn93_pf()
621 oq_no += CFG_GET_PORTS_PF_SRN(oct->conf); in octep_enable_oq_cn93_pf()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A Dcn66xx_device.c304 struct octeon_droq *droq = oct->droq[oq_no]; in lio_cn6xxx_setup_oq_regs()
315 oct->mmio[0].hw_addr + CN6XXX_SLI_OQ_PKTS_SENT(oq_no); in lio_cn6xxx_setup_oq_regs()
321 intr |= (1 << oq_no); in lio_cn6xxx_setup_oq_regs()
326 intr |= (1 << oq_no); in lio_cn6xxx_setup_oq_regs()
509 int oq_no; in lio_cn6xxx_process_droq_intr_regs() local
525 for (oq_no = 0; oq_no < MAX_OCTEON_OUTPUT_QUEUES(oct); oq_no++) { in lio_cn6xxx_process_droq_intr_regs()
526 if (!(droq_mask & BIT_ULL(oq_no))) in lio_cn6xxx_process_droq_intr_regs()
529 droq = oct->droq[oq_no]; in lio_cn6xxx_process_droq_intr_regs()
532 oct->droq_intr |= BIT_ULL(oq_no); in lio_cn6xxx_process_droq_intr_regs()
545 value &= ~(1 << oq_no); in lio_cn6xxx_process_droq_intr_regs()
[all …]
A Dcn23xx_vf_device.c245 static void cn23xx_setup_vf_oq_regs(struct octeon_device *oct, u32 oq_no) in cn23xx_setup_vf_oq_regs() argument
247 struct octeon_droq *droq = oct->droq[oq_no]; in cn23xx_setup_vf_oq_regs()
249 octeon_write_csr64(oct, CN23XX_VF_SLI_OQ_BASE_ADDR64(oq_no), in cn23xx_setup_vf_oq_regs()
251 octeon_write_csr(oct, CN23XX_VF_SLI_OQ_SIZE(oq_no), droq->max_count); in cn23xx_setup_vf_oq_regs()
253 octeon_write_csr(oct, CN23XX_VF_SLI_OQ_BUFF_INFO_SIZE(oq_no), in cn23xx_setup_vf_oq_regs()
258 (u8 *)oct->mmio[0].hw_addr + CN23XX_VF_SLI_OQ_PKTS_SENT(oq_no); in cn23xx_setup_vf_oq_regs()
260 (u8 *)oct->mmio[0].hw_addr + CN23XX_VF_SLI_OQ_PKTS_CREDIT(oq_no); in cn23xx_setup_vf_oq_regs()
A Dcn23xx_pf_device.c631 struct octeon_droq *droq = oct->droq[oq_no]; in cn23xx_setup_oq_regs()
636 oq_no += oct->sriov_info.pf_srn; in cn23xx_setup_oq_regs()
638 octeon_write_csr64(oct, CN23XX_SLI_OQ_BASE_ADDR64(oq_no), in cn23xx_setup_oq_regs()
640 octeon_write_csr(oct, CN23XX_SLI_OQ_SIZE(oq_no), droq->max_count); in cn23xx_setup_oq_regs()
642 octeon_write_csr(oct, CN23XX_SLI_OQ_BUFF_INFO_SIZE(oq_no), in cn23xx_setup_oq_regs()
647 (u8 *)oct->mmio[0].hw_addr + CN23XX_SLI_OQ_PKTS_SENT(oq_no); in cn23xx_setup_oq_regs()
655 octeon_read_csr(oct, CN23XX_SLI_OQ_PKT_CONTROL(oq_no)); in cn23xx_setup_oq_regs()
657 octeon_write_csr(oct, CN23XX_SLI_OQ_PKT_CONTROL(oq_no), in cn23xx_setup_oq_regs()
663 octeon_read_csr(oct, CN23XX_SLI_OQ_PKT_CONTROL(oq_no)); in cn23xx_setup_oq_regs()
665 octeon_write_csr(oct, CN23XX_SLI_OQ_PKT_CONTROL(oq_no), in cn23xx_setup_oq_regs()
[all …]
A Dcn66xx_device.h77 void lio_cn6xxx_setup_oq_regs(struct octeon_device *oct, u32 oq_no);
A Dlio_core.c953 u64 oq_no; in liquidio_schedule_droq_pkt_handlers() local
956 for (oq_no = 0; oq_no < MAX_OCTEON_OUTPUT_QUEUES(oct); in liquidio_schedule_droq_pkt_handlers()
957 oq_no++) { in liquidio_schedule_droq_pkt_handlers()
958 if (!(oct->droq_intr & BIT_ULL(oq_no))) in liquidio_schedule_droq_pkt_handlers()
961 droq = oct->droq[oq_no]; in liquidio_schedule_droq_pkt_handlers()
965 oct_priv->napi_mask |= BIT_ULL(oq_no); in liquidio_schedule_droq_pkt_handlers()
A Docteon_device.c912 u32 oq_no = 0; in octeon_setup_output_queues() local
934 if (octeon_init_droq(oct, oq_no, num_descs, desc_size, NULL)) { in octeon_setup_output_queues()
935 vfree(oct->droq[oq_no]); in octeon_setup_output_queues()
936 oct->droq[oq_no] = NULL; in octeon_setup_output_queues()
A Dlio_vf_main.c1186 int i, iq_no, oq_no; in liquidio_get_stats64() local
1210 oq_no = lio->linfo.rxpciq[i].s.q_no; in liquidio_get_stats64()
1211 oq_stats = &oct->droq[oq_no]->stats; in liquidio_get_stats64()
A Dlio_main.c2057 int i, iq_no, oq_no; in liquidio_get_stats64() local
2081 oq_no = lio->linfo.rxpciq[i].s.q_no; in liquidio_get_stats64()
2082 oq_stats = &oct->droq[oq_no]->stats; in liquidio_get_stats64()

Completed in 23 milliseconds