Searched refs:oq_no (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/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 | 959 u64 oq_no; in liquidio_schedule_droq_pkt_handlers() local 962 for (oq_no = 0; oq_no < MAX_OCTEON_OUTPUT_QUEUES(oct); in liquidio_schedule_droq_pkt_handlers() 963 oq_no++) { in liquidio_schedule_droq_pkt_handlers() 964 if (!(oct->droq_intr & BIT_ULL(oq_no))) in liquidio_schedule_droq_pkt_handlers() 967 droq = oct->droq[oq_no]; in liquidio_schedule_droq_pkt_handlers() 971 oct_priv->napi_mask |= BIT_ULL(oq_no); in liquidio_schedule_droq_pkt_handlers()
|
D | octeon_device.c | 913 u32 oq_no = 0; in octeon_setup_output_queues() local 935 if (octeon_init_droq(oct, oq_no, num_descs, desc_size, NULL)) { in octeon_setup_output_queues() 936 vfree(oct->droq[oq_no]); in octeon_setup_output_queues() 937 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 | 2058 int i, iq_no, oq_no; in liquidio_get_stats64() local 2082 oq_no = lio->linfo.rxpciq[i].s.q_no; in liquidio_get_stats64() 2083 oq_stats = &oct->droq[oq_no]->stats; in liquidio_get_stats64()
|