Searched refs:oq_no (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_cn9k_pf.c | 288 static void octep_setup_oq_regs_cn93_pf(struct octep_device *oct, int oq_no) in octep_setup_oq_regs_cn93_pf() argument 293 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() 301 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() [all …]
|
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/ |
D | cn66xx_device.c | 301 void lio_cn6xxx_setup_oq_regs(struct octeon_device *oct, u32 oq_no) in lio_cn6xxx_setup_oq_regs() argument 304 struct octeon_droq *droq = oct->droq[oq_no]; in lio_cn6xxx_setup_oq_regs() 306 octeon_write_csr64(oct, CN6XXX_SLI_OQ_BASE_ADDR64(oq_no), in lio_cn6xxx_setup_oq_regs() 308 octeon_write_csr(oct, CN6XXX_SLI_OQ_SIZE(oq_no), droq->max_count); in lio_cn6xxx_setup_oq_regs() 310 octeon_write_csr(oct, CN6XXX_SLI_OQ_BUFF_INFO_SIZE(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() 317 oct->mmio[0].hw_addr + CN6XXX_SLI_OQ_PKTS_CREDIT(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 [all …]
|
D | cn23xx_vf_device.c | 245 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()
|
D | cn23xx_pf_device.c | 628 static void cn23xx_setup_oq_regs(struct octeon_device *oct, u32 oq_no) in cn23xx_setup_oq_regs() argument 631 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() 649 (u8 *)oct->mmio[0].hw_addr + CN23XX_SLI_OQ_PKTS_CREDIT(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() [all …]
|
D | cn66xx_device.h | 77 void lio_cn6xxx_setup_oq_regs(struct octeon_device *oct, u32 oq_no);
|
D | lio_core.c | 953 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()
|
D | octeon_device.c | 912 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()
|
D | lio_vf_main.c | 1186 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()
|
D | lio_main.c | 2054 int i, iq_no, oq_no; in liquidio_get_stats64() local 2078 oq_no = lio->linfo.rxpciq[i].s.q_no; in liquidio_get_stats64() 2079 oq_stats = &oct->droq[oq_no]->stats; in liquidio_get_stats64()
|