/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/ |
A D | cn23xx_vf_device.c | 57 for (q_no = 0; q_no < num_queues; q_no++) { in cn23xx_vf_reset_io_queues() 67 for (q_no = 0; q_no < num_queues; q_no++) { in cn23xx_vf_reset_io_queues() 111 for (q_no = 0; q_no < (oct->sriov_info.rings_per_vf); q_no++) { in cn23xx_vf_setup_global_input_regs() 156 for (q_no = 0; q_no < (oct->sriov_info.rings_per_vf); q_no++) { in cn23xx_vf_setup_global_output_regs() 322 for (q_no = 0; q_no < oct->num_iqs; q_no++) { in cn23xx_enable_vf_io_queues() 343 for (q_no = 0; q_no < oct->num_oqs; q_no++) { in cn23xx_enable_vf_io_queues() 450 for (q_no = 0 ; q_no < oct->num_iqs ; q_no++) in cn23xx_octeon_pfvf_handshake() 550 for (q_no = 0; q_no < oct->num_oqs; q_no++) { in cn23xx_enable_vf_interrupt() 565 for (q_no = 0; q_no < oct->num_oqs; q_no++) { in cn23xx_enable_vf_interrupt() 590 for (q_no = 0; q_no < oct->num_oqs; q_no++) { in cn23xx_disable_vf_interrupt() [all …]
|
A D | cn23xx_pf_device.c | 359 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_reset_io_queues() 367 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_reset_io_queues() 379 q_no); in cn23xx_reset_io_queues() 422 for (q_no = 0; q_no < ern; q_no++) { in cn23xx_pf_setup_global_input_regs() 443 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_pf_setup_global_input_regs() 493 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_pf_setup_global_output_regs() 732 mbox->q_no = q_no; in cn23xx_setup_pf_mbox() 799 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_enable_io_queues() 853 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_enable_io_queues() 878 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_disable_io_queues() [all …]
|
A D | octeon_droq.c | 213 vfree(oct->droq[q_no]); in octeon_delete_droq() 214 oct->droq[q_no] = NULL; in octeon_delete_droq() 221 u32 q_no, in octeon_init_droq() argument 233 droq = oct->droq[q_no]; in octeon_init_droq() 237 droq->q_no = q_no; in octeon_init_droq() 838 value |= (1 << q_no); in octeon_enable_irq() 841 value |= (1 << q_no); in octeon_enable_irq() 851 lio_enable_irq(oct->droq[q_no], oct->instr_queue[q_no]); in octeon_enable_irq() 855 lio_enable_irq(oct->droq[q_no], oct->instr_queue[q_no]); in octeon_enable_irq() 932 if (oct->droq[q_no]) { in octeon_create_droq() [all …]
|
A D | octeon_droq.h | 248 u32 q_no; member 338 u32 q_no, 350 int octeon_delete_droq(struct octeon_device *oct_dev, u32 q_no); 365 u32 q_no, 376 int octeon_unregister_droq_ops(struct octeon_device *oct, u32 q_no); 402 int octeon_create_droq(struct octeon_device *oct, u32 q_no, 412 int octeon_enable_irq(struct octeon_device *oct, u32 q_no);
|
A D | lio_core.c | 446 int q_no = wk->ctxul; in octnet_poll_check_rxq_oom_status() local 461 int q, q_no; in setup_rx_oom_poll_fn() local 464 q_no = lio->linfo.rxpciq[q].s.q_no; in setup_rx_oom_poll_fn() 476 wq->wk.ctxul = q_no; in setup_rx_oom_poll_fn() 487 int q_no; in cleanup_rx_oom_poll_fn() local 489 for (q_no = 0; q_no < oct->num_oqs; q_no++) { in cleanup_rx_oom_poll_fn() 554 writel(oct->droq[q_no]->max_count, oct->droq[q_no]->pkts_credit_reg); in octeon_setup_droq() 751 iq_no = droq->q_no; in liquidio_napi_poll() 813 int q, q_no; in liquidio_setup_io_queues() local 832 q_no = lio->linfo.rxpciq[q].s.q_no; in liquidio_setup_io_queues() [all …]
|
A D | octeon_mailbox.c | 65 mbox->mbox_req.q_no = mbox->q_no; in octeon_mbox_read() 77 mbox->mbox_resp.q_no = mbox->q_no; in octeon_mbox_read() 134 struct octeon_mbox *mbox = oct->mbox[mbox_cmd->q_no]; in octeon_mbox_write() 262 mbox->q_no); in octeon_mbox_process_cmd() 263 pcie_flr(oct->sriov_info.dpiring_to_vfpcidev_lut[mbox->q_no]); in octeon_mbox_process_cmd() 355 int octeon_mbox_cancel(struct octeon_device *oct, int q_no) in octeon_mbox_cancel() argument 357 struct octeon_mbox *mbox = oct->mbox[q_no]; in octeon_mbox_cancel()
|
A D | octeon_device.c | 893 txpciq.s.q_no = iq_no; in octeon_setup_instr_queues() 952 u32 q_no; in octeon_set_io_queues_off() local 958 for (q_no = 0; q_no < oct->sriov_info.rings_per_vf; q_no++) { in octeon_set_io_queues_off() 972 q_no); in octeon_set_io_queues_off() 985 "unable to reset qno %u\n", q_no); in octeon_set_io_queues_off() 994 u32 q_no, in octeon_set_droq_pkt_op() argument 1004 reg_val = reg_val | (1 << q_no); in octeon_set_droq_pkt_op() 1006 reg_val = reg_val & (~(1 << q_no)); in octeon_set_droq_pkt_op() 1270 (oct->io_qmask.iq & BIT_ULL(q_no))) in octeon_get_tx_qsize() 1279 (oct->io_qmask.oq & BIT_ULL(q_no))) in octeon_get_rx_qsize() [all …]
|
A D | octeon_mailbox.h | 65 u32 q_no; member 88 u32 q_no; member 120 int octeon_mbox_cancel(struct octeon_device *oct, int q_no);
|
A D | lio_ethtool.c | 2250 int q_no; in oct_cfg_rx_intrcnt() local 2257 for (q_no = 0; q_no < oct->num_oqs; q_no++) { in oct_cfg_rx_intrcnt() 2272 int q_no; in oct_cfg_rx_intrcnt() local 2279 for (q_no = 0; q_no < oct->num_oqs; q_no++) { in oct_cfg_rx_intrcnt() 2327 int q_no; in oct_cfg_rx_intrtime() local 2335 for (q_no = 0; q_no < oct->num_oqs; q_no++) { in oct_cfg_rx_intrtime() 2349 int q_no; in oct_cfg_rx_intrtime() local 2358 for (q_no = 0; q_no < oct->num_oqs; q_no++) { in oct_cfg_rx_intrtime() 2393 int q_no; in oct_cfg_tx_intrcnt() local 2401 for (q_no = 0; q_no < oct->num_iqs; q_no++) { in oct_cfg_tx_intrcnt() [all …]
|
A D | cn66xx_regs.h | 473 #define CN6XXX_DPI_DMA_ENG_ENB(q_no) \ argument 474 (CN6XXX_DPI_DMA_ENG0_ENB + ((q_no) * 8)) 478 #define CN6XXX_DPI_DMA_ENG_BUF(q_no) \ argument 479 (CN6XXX_DPI_DMA_ENG0_BUF + ((q_no) * 8))
|
A D | octeon_nic.h | 85 u32 q_no; member 112 static inline int octnet_iq_is_full(struct octeon_device *oct, u32 q_no) in octnet_iq_is_full() argument 114 return ((u32)atomic_read(&oct->instr_queue[q_no]->instr_pending) in octnet_iq_is_full() 115 >= (oct->instr_queue[q_no]->max_count - 2)); in octnet_iq_is_full()
|
A D | lio_main.c | 161 int q_no; in octeon_droq_bh() local 167 for (q_no = 0; q_no < MAX_OCTEON_OUTPUT_QUEUES(oct); q_no++) { in octeon_droq_bh() 168 if (!(oct->io_qmask.oq & BIT_ULL(q_no))) in octeon_droq_bh() 172 lio_enable_irq(oct->droq[q_no], NULL); in octeon_droq_bh() 472 lio->oct_dev->num_iqs].s.q_no; in check_txq_status() 1299 lio->linfo.rxpciq[j].s.q_no); in liquidio_stop_nic_module() 2065 iq_no = lio->linfo.txpciq[i].s.q_no; in liquidio_get_stats64() 2081 oq_no = lio->linfo.rxpciq[i].s.q_no; in liquidio_get_stats64() 2275 sc->iq_no = ndata->q_no; in send_nic_timestamp_pkt() 2358 ndata.q_no = iq_no; in liquidio_xmit() [all …]
|
A D | lio_vf_main.c | 625 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in send_rx_ctrl_cmd() 735 lio->linfo.rxpciq[j].s.q_no); in liquidio_stop_nic_module() 1194 iq_no = lio->linfo.txpciq[i].s.q_no; in liquidio_get_stats64() 1210 oq_no = lio->linfo.rxpciq[i].s.q_no; in liquidio_get_stats64() 1385 sc->iq_no = ndata->q_no; in send_nic_timestamp_pkt() 1434 iq_no = lio->linfo.txpciq[q_idx].s.q_no; in liquidio_xmit() 1461 ndata.q_no = iq_no; in liquidio_xmit() 1463 if (octnet_iq_is_full(oct, ndata.q_no)) { in liquidio_xmit() 1466 ndata.q_no); in liquidio_xmit() 2168 lio->txq = lio->linfo.txpciq[0].s.q_no; in setup_nic_devices() [all …]
|
A D | liquidio_common.h | 728 u64 q_no:8; member 744 u64 q_no:8; 756 u64 q_no:8; member 760 u64 q_no:8;
|
A D | octeon_device.h | 858 int octeon_get_tx_qsize(struct octeon_device *oct, u32 q_no); 860 int octeon_get_rx_qsize(struct octeon_device *oct, u32 q_no); 872 void octeon_set_droq_pkt_op(struct octeon_device *oct, u32 q_no, u32 enable);
|
A D | cn23xx_pf_regs.h | 558 #define CN23XX_DPI_DMA_REQQ_CTL(q_no) \ argument 559 (CN23XX_DPI_DMA_REQQ0_CTL + ((q_no) * 8))
|
A D | octeon_nic.c | 89 return octeon_send_command(oct, ndata->q_no, ring_doorbell, &ndata->cmd, in octnet_send_nic_data_pkt()
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/ |
A D | octep_tx.c | 96 netif_wake_subqueue(iq->netdev, iq->q_no); in octep_iq_process_completions() 187 oct->iq[q_no] = iq; in octep_setup_iq() 192 iq->q_no = q_no; in octep_setup_iq() 196 iq->netdev_q = netdev_get_tx_queue(iq->netdev, q_no); in octep_setup_iq() 204 "Failed to allocate DMA memory for IQ-%d\n", q_no); in octep_setup_iq() 216 q_no); in octep_setup_iq() 225 "Failed to allocate buff info for IQ-%d\n", q_no); in octep_setup_iq() 241 oct->hw_ops.setup_iq_regs(oct, q_no); in octep_setup_iq() 253 oct->iq[q_no] = NULL; in octep_setup_iq() 269 int q_no = iq->q_no; in octep_free_iq() local [all …]
|
A D | octep_cn9k_pf.c | 109 dev_dbg(&oct->pdev->dev, "Reset PF IQ-%d\n", q_no); in cn93_reset_iq() 112 q_no += conf->pf_ring_cfg.srn; in cn93_reset_iq() 115 octep_write_csr64(oct, CN93_SDP_R_IN_ENABLE(q_no), val); in cn93_reset_iq() 118 octep_write_csr64(oct, CN93_SDP_R_IN_CNTS(q_no), val); in cn93_reset_iq() 120 octep_write_csr64(oct, CN93_SDP_R_IN_PKT_CNT(q_no), val); in cn93_reset_iq() 136 q_no += CFG_GET_PORTS_PF_SRN(oct->conf); in cn93_reset_oq() 139 octep_write_csr64(oct, CN93_SDP_R_OUT_ENABLE(q_no), val); in cn93_reset_oq() 142 val = octep_read_csr(oct, CN93_SDP_R_OUT_CNTS(q_no)); in cn93_reset_oq() 143 octep_write_csr(oct, CN93_SDP_R_OUT_CNTS(q_no), val); in cn93_reset_oq() 341 struct octep_mbox *mbox = oct->mbox[q_no]; in octep_setup_mbox_regs_cn93_pf() [all …]
|
A D | octep_rx.c | 50 oq->q_no); in octep_oq_fill_ring_buffers() 99 oq->q_no); in octep_oq_refill() 123 static int octep_setup_oq(struct octep_device *oct, int q_no) in octep_setup_oq() argument 131 oct->oq[q_no] = oq; in octep_setup_oq() 136 oq->q_no = q_no; in octep_setup_oq() 157 "Failed to allocate DMA memory for OQ-%d !!\n", q_no); in octep_setup_oq() 164 "Failed to allocate buffer info for OQ-%d\n", q_no); in octep_setup_oq() 172 oct->hw_ops.setup_oq_regs(oct, q_no); in octep_setup_oq() 186 oct->oq[q_no] = NULL; in octep_setup_oq() 228 int q_no = oq->q_no; in octep_free_oq() local [all …]
|
A D | octep_main.c | 359 netdev_dbg(iq->netdev, "enabling intr for Q-%u\n", iq->q_no); in octep_enable_ioq_irq() 595 netif_stop_subqueue(iq->netdev, iq->q_no); in octep_iq_full_check() 602 netif_start_subqueue(iq->netdev, iq->q_no); in octep_iq_full_check() 631 u16 q_no, wi; in octep_start_xmit() local 633 q_no = skb_get_queue_mapping(skb); in octep_start_xmit() 634 if (q_no >= oct->num_iqs) { in octep_start_xmit() 635 netdev_err(netdev, "Invalid Tx skb->queue_mapping=%d\n", q_no); in octep_start_xmit() 636 q_no = q_no % oct->num_iqs; in octep_start_xmit() 639 iq = oct->iq[q_no]; in octep_start_xmit()
|
A D | octep_rx.h | 140 u32 q_no; member
|
A D | octep_tx.h | 139 u32 q_no; member
|
A D | octep_main.h | 101 u32 q_no; member
|
/linux-6.3-rc2/drivers/scsi/ |
A D | advansys.c | 244 #define ASC_QNO_TO_QADDR(q_no) ((ASC_QADR_BEG)+((int)(q_no) << 6)) argument 248 uchar q_no; member 292 uchar q_no; member 344 uchar q_no; member 6637 scsiq->q_no = (uchar)(_val >> 8); in _AscCopyLramScsiDoneQ() 7893 q_addr = ASC_QNO_TO_QADDR(q_no); in AscPutReadyQueue() 7947 scsi_sg_q.sg_head_qp = q_no; in AscPutReadySgListQueue() 7983 scsi_sg_q.q_no = next_qp; in AscPutReadySgListQueue() 8027 scsiq->q1.q_no = free_q_head; in AscSendScsiQueue() 8034 scsiq->q1.q_no = free_q_head; in AscSendScsiQueue() [all …]
|