Home
last modified time | relevance | path

Searched refs:qno (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_cn9k_pf.c43 static void cn93_dump_regs(struct octep_device *oct, int qno) in cn93_dump_regs() argument
47 dev_info(dev, "IQ-%d register dump\n", qno); in cn93_dump_regs()
49 qno, CN93_SDP_R_IN_INSTR_DBELL(qno), in cn93_dump_regs()
50 octep_read_csr64(oct, CN93_SDP_R_IN_INSTR_DBELL(qno))); in cn93_dump_regs()
52 qno, CN93_SDP_R_IN_CONTROL(qno), in cn93_dump_regs()
53 octep_read_csr64(oct, CN93_SDP_R_IN_CONTROL(qno))); in cn93_dump_regs()
55 qno, CN93_SDP_R_IN_ENABLE(qno), in cn93_dump_regs()
[all...]
/kernel/linux/linux-6.6/drivers/net/wwan/t7xx/
H A Dt7xx_cldma.c63 void t7xx_cldma_hw_start_queue(struct t7xx_cldma_hw *hw_info, unsigned int qno, in t7xx_cldma_hw_start_queue() argument
71 val = qno == CLDMA_ALL_Q ? CLDMA_ALL_Q : BIT(qno); in t7xx_cldma_hw_start_queue()
105 bool t7xx_cldma_tx_addr_is_set(struct t7xx_cldma_hw *hw_info, unsigned int qno) in t7xx_cldma_tx_addr_is_set() argument
107 u32 offset = REG_CLDMA_UL_START_ADDRL_0 + qno * ADDR_SIZE; in t7xx_cldma_tx_addr_is_set()
112 void t7xx_cldma_hw_set_start_addr(struct t7xx_cldma_hw *hw_info, unsigned int qno, u64 address, in t7xx_cldma_hw_set_start_addr() argument
115 u32 offset = qno * ADDR_SIZE; in t7xx_cldma_hw_set_start_addr()
123 void t7xx_cldma_hw_resume_queue(struct t7xx_cldma_hw *hw_info, unsigned int qno, in t7xx_cldma_hw_resume_queue() argument
129 iowrite32(BIT(qno), base + REG_CLDMA_DL_RESUME_CMD); in t7xx_cldma_hw_resume_queue()
131 iowrite32(BIT(qno), bas in t7xx_cldma_hw_resume_queue()
134 t7xx_cldma_hw_queue_status(struct t7xx_cldma_hw *hw_info, unsigned int qno, enum mtk_txrx tx_rx) t7xx_cldma_hw_queue_status() argument
182 t7xx_cldma_hw_irq_dis_txrx(struct t7xx_cldma_hw *hw_info, unsigned int qno, enum mtk_txrx tx_rx) t7xx_cldma_hw_irq_dis_txrx() argument
194 t7xx_cldma_hw_irq_dis_eq(struct t7xx_cldma_hw *hw_info, unsigned int qno, enum mtk_txrx tx_rx) t7xx_cldma_hw_irq_dis_eq() argument
205 t7xx_cldma_hw_irq_en_txrx(struct t7xx_cldma_hw *hw_info, unsigned int qno, enum mtk_txrx tx_rx) t7xx_cldma_hw_irq_en_txrx() argument
217 t7xx_cldma_hw_irq_en_eq(struct t7xx_cldma_hw *hw_info, unsigned int qno, enum mtk_txrx tx_rx) t7xx_cldma_hw_irq_en_eq() argument
[all...]
H A Dt7xx_cldma.h153 void t7xx_cldma_hw_irq_dis_txrx(struct t7xx_cldma_hw *hw_info, unsigned int qno,
155 void t7xx_cldma_hw_irq_dis_eq(struct t7xx_cldma_hw *hw_info, unsigned int qno,
157 void t7xx_cldma_hw_irq_en_txrx(struct t7xx_cldma_hw *hw_info, unsigned int qno,
159 void t7xx_cldma_hw_irq_en_eq(struct t7xx_cldma_hw *hw_info, unsigned int qno, enum mtk_txrx tx_rx);
160 unsigned int t7xx_cldma_hw_queue_status(struct t7xx_cldma_hw *hw_info, unsigned int qno,
163 void t7xx_cldma_hw_resume_queue(struct t7xx_cldma_hw *hw_info, unsigned int qno,
166 void t7xx_cldma_hw_start_queue(struct t7xx_cldma_hw *hw_info, unsigned int qno,
172 unsigned int qno, u64 address, enum mtk_txrx tx_rx);
179 bool t7xx_cldma_tx_addr_is_set(struct t7xx_cldma_hw *hw_info, unsigned int qno);
H A Dt7xx_dpmaif.c143 static int t7xx_mask_dlq_intr(struct dpmaif_hw_info *hw_info, unsigned int qno) in t7xx_mask_dlq_intr() argument
148 q_done = qno == DPF_RX_QNO0 ? DPMAIF_DL_INT_DLQ0_QDONE : DPMAIF_DL_INT_DLQ1_QDONE; in t7xx_mask_dlq_intr()
164 void t7xx_dpmaif_dlq_unmask_rx_done(struct dpmaif_hw_info *hw_info, unsigned int qno) in t7xx_dpmaif_dlq_unmask_rx_done() argument
168 mask = qno == DPF_RX_QNO0 ? DPMAIF_DL_INT_DLQ0_QDONE : DPMAIF_DL_INT_DLQ1_QDONE; in t7xx_dpmaif_dlq_unmask_rx_done()
182 unsigned int qno) in t7xx_dpmaif_dlq_mask_rx_pitcnt_len_err_intr()
184 if (qno == DPF_RX_QNO0) in t7xx_dpmaif_dlq_mask_rx_pitcnt_len_err_intr()
193 unsigned int qno) in t7xx_dpmaif_dlq_unmask_pitcnt_len_err_intr()
195 if (qno == DPF_RX_QNO0) in t7xx_dpmaif_dlq_unmask_pitcnt_len_err_intr()
265 struct dpmaif_hw_intr_st_para *para, int qno) in t7xx_dpmaif_hw_check_rx_intr()
267 if (qno in t7xx_dpmaif_hw_check_rx_intr()
181 t7xx_dpmaif_dlq_mask_rx_pitcnt_len_err_intr(struct dpmaif_hw_info *hw_info, unsigned int qno) t7xx_dpmaif_dlq_mask_rx_pitcnt_len_err_intr() argument
192 t7xx_dpmaif_dlq_unmask_pitcnt_len_err_intr(struct dpmaif_hw_info *hw_info, unsigned int qno) t7xx_dpmaif_dlq_unmask_pitcnt_len_err_intr() argument
263 t7xx_dpmaif_hw_check_rx_intr(struct dpmaif_hw_info *hw_info, unsigned int intr_status, struct dpmaif_hw_intr_st_para *para, int qno) t7xx_dpmaif_hw_check_rx_intr() argument
344 t7xx_dpmaif_hw_get_intr_cnt(struct dpmaif_hw_info *hw_info, struct dpmaif_hw_intr_st_para *para, int qno) t7xx_dpmaif_hw_get_intr_cnt() argument
1269 t7xx_dpmaif_ul_clr_done(struct dpmaif_hw_info *hw_info, unsigned int qno) t7xx_dpmaif_ul_clr_done() argument
[all...]
H A Dt7xx_dpmaif.h155 struct dpmaif_hw_intr_st_para *para, int qno);
164 unsigned int qno);
165 void t7xx_dpmaif_dlq_unmask_rx_done(struct dpmaif_hw_info *hw_info, unsigned int qno);
166 bool t7xx_dpmaif_ul_clr_done(struct dpmaif_hw_info *hw_info, unsigned int qno);
H A Dt7xx_netdev.c436 static void t7xx_ccmni_queue_tx_irq_notify(struct t7xx_ccmni_ctrl *ctlb, int qno) in t7xx_ccmni_queue_tx_irq_notify() argument
442 net_queue = netdev_get_tx_queue(ccmni->dev, qno); in t7xx_ccmni_queue_tx_irq_notify()
448 static void t7xx_ccmni_queue_tx_full_notify(struct t7xx_ccmni_ctrl *ctlb, int qno) in t7xx_ccmni_queue_tx_full_notify() argument
454 netdev_err(ccmni->dev, "TX queue %d is full\n", qno); in t7xx_ccmni_queue_tx_full_notify()
455 net_queue = netdev_get_tx_queue(ccmni->dev, qno); in t7xx_ccmni_queue_tx_full_notify()
461 enum dpmaif_txq_state state, int qno) in t7xx_ccmni_queue_state_notify()
474 t7xx_ccmni_queue_tx_irq_notify(ctlb, qno); in t7xx_ccmni_queue_state_notify()
476 t7xx_ccmni_queue_tx_full_notify(ctlb, qno); in t7xx_ccmni_queue_state_notify()
460 t7xx_ccmni_queue_state_notify(struct t7xx_pci_dev *t7xx_dev, enum dpmaif_txq_state state, int qno) t7xx_ccmni_queue_state_notify() argument
H A Dt7xx_hif_dpmaif.c424 int qno; in t7xx_dpmaif_unmask_dlq_intr() local
426 for (qno = 0; qno < DPMAIF_RXQ_NUM; qno++) in t7xx_dpmaif_unmask_dlq_intr()
427 t7xx_dpmaif_dlq_unmask_rx_done(&dpmaif_ctrl->hw_info, qno); in t7xx_dpmaif_unmask_dlq_intr()
H A Dt7xx_hif_cldma.c876 static void t7xx_cldma_hw_start_send(struct cldma_ctrl *md_ctrl, int qno, in t7xx_cldma_hw_start_send() argument
882 if (!t7xx_cldma_tx_addr_is_set(hw_info, qno)) { in t7xx_cldma_hw_start_send()
884 t7xx_cldma_hw_set_start_addr(hw_info, qno, prev_req->gpd_addr, MTK_TX); in t7xx_cldma_hw_start_send()
885 md_ctrl->txq_started &= ~BIT(qno); in t7xx_cldma_hw_start_send()
888 if (!t7xx_cldma_hw_queue_status(hw_info, qno, MTK_TX)) { in t7xx_cldma_hw_start_send()
889 if (md_ctrl->txq_started & BIT(qno)) in t7xx_cldma_hw_start_send()
890 t7xx_cldma_hw_resume_queue(hw_info, qno, MTK_TX); in t7xx_cldma_hw_start_send()
892 t7xx_cldma_hw_start_queue(hw_info, qno, MTK_TX); in t7xx_cldma_hw_start_send()
894 md_ctrl->txq_started |= BIT(qno); in t7xx_cldma_hw_start_send()
912 * @qno
922 t7xx_cldma_send_skb(struct cldma_ctrl *md_ctrl, int qno, struct sk_buff *skb) t7xx_cldma_send_skb() argument
[all...]
H A Dt7xx_hif_dpmaif_rx.c893 int qno, ret; in t7xx_dpmaif_irq_rx_done() local
895 qno = ffs(que_mask) - 1; in t7xx_dpmaif_irq_rx_done()
896 if (qno < 0 || qno > DPMAIF_RXQ_NUM - 1) { in t7xx_dpmaif_irq_rx_done()
897 dev_err(dpmaif_ctrl->dev, "Invalid RXQ number: %u\n", qno); in t7xx_dpmaif_irq_rx_done()
901 rxq = &dpmaif_ctrl->rxq[qno]; in t7xx_dpmaif_irq_rx_done()
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
H A Dcptvf_reqmanager.c13 * @param qno: queue number
35 int qno) in pending_queue_inc_front()
37 struct pending_queue *queue = &pqinfo->queue[qno]; in pending_queue_inc_front()
224 u32 qno) in send_cpt_command()
233 if (unlikely(qno >= cptvf->nr_queues)) { in send_cpt_command()
234 dev_err(&pdev->dev, "Invalid queue (qno: %d, nr_queues: %d)\n", in send_cpt_command()
235 qno, cptvf->nr_queues); in send_cpt_command()
240 queue = &qinfo->queue[qno]; in send_cpt_command()
330 int qno) in process_pending_queue()
333 struct pending_queue *pqueue = &pqinfo->queue[qno]; in process_pending_queue()
34 pending_queue_inc_front(struct pending_qinfo *pqinfo, int qno) pending_queue_inc_front() argument
223 send_cpt_command(struct cpt_vf *cptvf, union cpt_inst_s *cmd, u32 qno) send_cpt_command() argument
328 process_pending_queue(struct cpt_vf *cptvf, struct pending_qinfo *pqinfo, int qno) process_pending_queue() argument
545 vq_post_process(struct cpt_vf *cptvf, u32 qno) vq_post_process() argument
[all...]
H A Dcptvf_main.c17 u32 qno; member
29 vq_post_process(cwqe->cptvf, cwqe->qno); in vq_work_handler()
50 cwqe_info->vq_wqe[i].qno = i; in init_worker_threads()
557 int qno) in get_cptvf_vq_wqe()
561 if (unlikely(qno >= cptvf->nr_queues)) in get_cptvf_vq_wqe()
565 return &nwqe_info->vq_wqe[qno]; in get_cptvf_vq_wqe()
556 get_cptvf_vq_wqe(struct cpt_vf *cptvf, int qno) get_cptvf_vq_wqe() argument
H A Dcptvf.h127 void vq_post_process(struct cpt_vf *cptvf, u32 qno);
H A Drequest_manager.h144 void vq_post_process(struct cpt_vf *cptvf, u32 qno);
/kernel/linux/linux-6.6/drivers/crypto/cavium/cpt/
H A Dcptvf_reqmanager.c35 int qno) in pending_queue_inc_front()
37 struct pending_queue *queue = &pqinfo->queue[qno]; in pending_queue_inc_front()
224 u32 qno) in send_cpt_command()
233 if (unlikely(qno >= cptvf->nr_queues)) { in send_cpt_command()
234 dev_err(&pdev->dev, "Invalid queue (qno: %d, nr_queues: %d)\n", in send_cpt_command()
235 qno, cptvf->nr_queues); in send_cpt_command()
240 queue = &qinfo->queue[qno]; in send_cpt_command()
326 int qno) in process_pending_queue()
329 struct pending_queue *pqueue = &pqinfo->queue[qno]; in process_pending_queue()
346 pending_queue_inc_front(pqinfo, qno); in process_pending_queue()
34 pending_queue_inc_front(struct pending_qinfo *pqinfo, int qno) pending_queue_inc_front() argument
223 send_cpt_command(struct cpt_vf *cptvf, union cpt_inst_s *cmd, u32 qno) send_cpt_command() argument
324 process_pending_queue(struct cpt_vf *cptvf, struct pending_qinfo *pqinfo, int qno) process_pending_queue() argument
541 vq_post_process(struct cpt_vf *cptvf, u32 qno) vq_post_process() argument
[all...]
H A Dcptvf_main.c17 u32 qno; member
29 vq_post_process(cwqe->cptvf, cwqe->qno); in vq_work_handler()
50 cwqe_info->vq_wqe[i].qno = i; in init_worker_threads()
554 int qno) in get_cptvf_vq_wqe()
558 if (unlikely(qno >= cptvf->nr_queues)) in get_cptvf_vq_wqe()
562 return &nwqe_info->vq_wqe[qno]; in get_cptvf_vq_wqe()
553 get_cptvf_vq_wqe(struct cpt_vf *cptvf, int qno) get_cptvf_vq_wqe() argument
H A Drequest_manager.h144 void vq_post_process(struct cpt_vf *cptvf, u32 qno);
H A Dcptvf.h127 void vq_post_process(struct cpt_vf *cptvf, u32 qno);
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
H A Dnitrox_reqmgr.c383 int qno, ret = 0; in nitrox_process_se_request() local
420 qno = smp_processor_id() % ndev->nr_queues; in nitrox_process_se_request()
422 sr->cmdq = &ndev->pkt_inq[qno]; in nitrox_process_se_request()
459 sr->instr.irh.s.destport = SOLICIT_BASE_DPORT + qno; in nitrox_process_se_request()
529 * @qno: queue to operate
H A Dnitrox_hal.h21 void enable_aqm_ring(struct nitrox_device *ndev, int qno);
H A Dnitrox_lib.c113 cmdq->qno = i; in nitrox_alloc_aqm_queues()
167 cmdq->qno = i; in nitrox_alloc_pktin_queues()
/kernel/linux/linux-6.6/drivers/crypto/cavium/nitrox/
H A Dnitrox_reqmgr.c388 int qno, ret = 0; in nitrox_process_se_request() local
425 qno = smp_processor_id() % ndev->nr_queues; in nitrox_process_se_request()
427 sr->cmdq = &ndev->pkt_inq[qno]; in nitrox_process_se_request()
464 sr->instr.irh.s.destport = SOLICIT_BASE_DPORT + qno; in nitrox_process_se_request()
H A Dnitrox_hal.h21 void enable_aqm_ring(struct nitrox_device *ndev, int qno);
H A Dnitrox_lib.c113 cmdq->qno = i; in nitrox_alloc_aqm_queues()
167 cmdq->qno = i; in nitrox_alloc_pktin_queues()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
H A Docteon_network.h574 int i, qno; in wake_txqs() local
577 qno = lio->linfo.txpciq[i % lio->oct_dev->num_iqs].s.q_no; in wake_txqs()
580 INCR_INSTRQUEUE_PKT_COUNT(lio->oct_dev, qno, in wake_txqs()
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/
H A Docteon_network.h574 int i, qno; in wake_txqs() local
577 qno = lio->linfo.txpciq[i % lio->oct_dev->num_iqs].s.q_no; in wake_txqs()
580 INCR_INSTRQUEUE_PKT_COUNT(lio->oct_dev, qno, in wake_txqs()

Completed in 18 milliseconds

12