Searched refs:qidx (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/drivers/scsi/csiostor/
H A Dcsio_wr.c736 * @qidx: Egress queue index
741 csio_wr_cleanup_eq_stpg(struct csio_hw *hw, int qidx) csio_wr_cleanup_eq_stpg() argument
743 struct csio_q *q = csio_hw_to_wrm(hw)->q_arr[qidx]; csio_wr_cleanup_eq_stpg()
752 * @qidx: Ingress queue index
758 csio_wr_cleanup_iq_ftr(struct csio_hw *hw, int qidx) csio_wr_cleanup_iq_ftr() argument
761 struct csio_q *q = wrm->q_arr[qidx]; csio_wr_cleanup_iq_ftr()
841 * @qidx: Index of queue.
857 csio_wr_get(struct csio_hw *hw, int qidx, uint32_t size, csio_wr_get() argument
861 struct csio_q *q = wrm->q_arr[qidx]; csio_wr_get()
872 CSIO_DB_ASSERT((qidx >= 0) && (qidx < wrm->free_qidx)); csio_wr_get()
968 * @qidx: Index of queue.
976 csio_wr_issue(struct csio_hw *hw, int qidx, bool prio) csio_wr_issue() argument
979 struct csio_q *q = wrm->q_arr[qidx]; csio_wr_issue()
981 CSIO_DB_ASSERT((qidx >= 0) && (qidx < wrm->free_qidx)); csio_wr_issue()
1114 * @qidx: Index of queue
1257 csio_wr_process_iq_idx(struct csio_hw *hw, int qidx, csio_wr_process_iq_idx() argument
1264 struct csio_q *iq = wrm->q_arr[qidx]; csio_wr_process_iq_idx()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c403 int i, j, err, qidx = 0; request_msix_data_irqs() local
409 err = request_irq(adap->msix_info[qidx + 1].vec, for_each_port()
411 adap->sge.qs[qidx]. for_each_port()
413 adap->msix_info[qidx + 1].desc, for_each_port()
414 &adap->sge.qs[qidx]); for_each_port()
416 while (--qidx >= 0) for_each_port()
417 free_irq(adap->msix_info[qidx + 1].vec, for_each_port()
418 &adap->sge.qs[qidx]); for_each_port()
421 qidx++; for_each_port()
939 static int send_pktsched_cmd(struct adapter *adap, int sched, int qidx, int lo, send_pktsched_cmd() argument
956 req->idx = qidx; send_pktsched_cmd()
2590 int qidx; cxgb_netpoll() local
2592 for (qidx = pi->first_qset; qidx < pi->first_qset + pi->nqsets; qidx++) { cxgb_netpoll()
2593 struct sge_qset *qs = &adapter->sge.qs[qidx]; cxgb_netpoll()
H A Dsge.c167 static inline struct sge_qset *fl_to_qset(const struct sge_fl *q, int qidx) fl_to_qset() argument
169 return container_of(q, struct sge_qset, fl[qidx]); fl_to_qset()
177 static inline struct sge_qset *txq_to_qset(const struct sge_txq *q, int qidx) txq_to_qset() argument
179 return container_of(q, struct sge_qset, txq[qidx]); txq_to_qset()
1223 int qidx; t3_eth_xmit() local
1240 qidx = skb_get_queue_mapping(skb); t3_eth_xmit()
1241 qs = &pi->qs[qidx]; t3_eth_xmit()
1243 txq = netdev_get_tx_queue(dev, qidx); t3_eth_xmit()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c2560 uint32_t qidx, quetp, queid, index, count, offset, value; lpfc_idiag_queacc_write() local
2598 for (qidx = 0; qidx < phba->cfg_fcp_io_channel; lpfc_idiag_queacc_write()
2599 qidx++) { lpfc_idiag_queacc_write()
2600 if (phba->sli4_hba.hba_eq[qidx] && lpfc_idiag_queacc_write()
2601 phba->sli4_hba.hba_eq[qidx]->queue_id == lpfc_idiag_queacc_write()
2605 phba->sli4_hba.hba_eq[qidx], lpfc_idiag_queacc_write()
2610 phba->sli4_hba.hba_eq[qidx]; lpfc_idiag_queacc_write()
2642 qidx = 0; lpfc_idiag_queacc_write()
2644 if (phba->sli4_hba.fcp_cq[qidx] && lpfc_idiag_queacc_write()
2645 phba->sli4_hba.fcp_cq[qidx]->queue_id == lpfc_idiag_queacc_write()
2649 phba->sli4_hba.fcp_cq[qidx], lpfc_idiag_queacc_write()
2654 phba->sli4_hba.fcp_cq[qidx]; lpfc_idiag_queacc_write()
2657 } while (++qidx < phba->cfg_fcp_io_channel); lpfc_idiag_queacc_write()
2689 for (qidx = 0; qidx < phba->cfg_fcp_io_channel; lpfc_idiag_queacc_write()
2690 qidx++) { lpfc_idiag_queacc_write()
2691 if (!phba->sli4_hba.fcp_wq[qidx]) lpfc_idiag_queacc_write()
2693 if (phba->sli4_hba.fcp_wq[qidx]->queue_id == lpfc_idiag_queacc_write()
2697 phba->sli4_hba.fcp_wq[qidx], lpfc_idiag_queacc_write()
2702 phba->sli4_hba.fcp_wq[qidx]; lpfc_idiag_queacc_write()
H A Dlpfc_sli.c12316 uint32_t qidx) lpfc_sli4_hba_handle_eqe()
12337 if (unlikely(cqid != phba->sli4_hba.fcp_cq_map[qidx])) { lpfc_sli4_hba_handle_eqe()
12339 phba->sli4_hba.hba_eq[qidx]); lpfc_sli4_hba_handle_eqe()
12349 cq = phba->sli4_hba.fcp_cq[qidx]; lpfc_sli4_hba_handle_eqe()
12354 "(%d) does not exist\n", qidx); lpfc_sli4_hba_handle_eqe()
12315 lpfc_sli4_hba_handle_eqe(struct lpfc_hba *phba, struct lpfc_eqe *eqe, uint32_t qidx) lpfc_sli4_hba_handle_eqe() argument
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c1778 int qidx = 0, abs_vfid; bnx2x_iov_eq_sp_event() local
1829 qidx = cid & ((1 << BNX2X_VF_CID_WND)-1); bnx2x_iov_eq_sp_event()
1843 vf->abs_vfid, qidx); bnx2x_iov_eq_sp_event()
1844 vfq_get(vf, qidx)->sp_obj.complete_cmd(bp, bnx2x_iov_eq_sp_event()
1846 qidx)->sp_obj, bnx2x_iov_eq_sp_event()
1851 vf->abs_vfid, qidx); bnx2x_iov_eq_sp_event()
1852 bnx2x_vf_handle_classification_eqe(bp, vfq_get(vf, qidx), elem); bnx2x_iov_eq_sp_event()
1856 vf->abs_vfid, qidx); bnx2x_iov_eq_sp_event()
1861 vf->abs_vfid, qidx); bnx2x_iov_eq_sp_event()
1866 vf->abs_vfid, qidx); bnx2x_iov_eq_sp_event()
H A Dbnx2x_vfpf.c24 static int bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx);
668 static int bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx) bnx2x_vfpf_teardown_queue() argument
678 req->vf_qid = qidx; bnx2x_vfpf_teardown_queue()
690 BNX2X_ERR("Sending TEARDOWN for queue %d failed: %d\n", qidx, bnx2x_vfpf_teardown_queue()
697 BNX2X_ERR("TEARDOWN for queue %d failed: %d\n", qidx, bnx2x_vfpf_teardown_queue()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dfwsignal.c1769 int qidx, hslot; brcmf_fws_rollback_toq() local
1774 qidx = 2 * fifo; brcmf_fws_rollback_toq()
1776 qidx++; brcmf_fws_rollback_toq()
1778 pktout = brcmu_pktq_penq_head(&entry->psq, qidx, skb); brcmf_fws_rollback_toq()
1780 brcmf_err("%s queue %d full\n", entry->name, qidx); brcmf_fws_rollback_toq()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c2414 int q10g, n10g, qidx, pidx, qs; cfg_queues() local
2449 qidx = 0; for_each_port()
2453 pi->first_qset = qidx; for_each_port()
2455 qidx += pi->nqsets; for_each_port()
2457 s->ethqsets = qidx;
H A Dsge.c1163 int qidx, credits; t4vf_eth_xmit() local
1191 qidx = skb_get_queue_mapping(skb); t4vf_eth_xmit()
1192 BUG_ON(qidx >= pi->nqsets); t4vf_eth_xmit()
1193 txq = &adapter->sge.ethtxq[pi->first_qset + qidx]; t4vf_eth_xmit()
1220 dev->name, qidx); t4vf_eth_xmit()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c4119 int i, n10g = 0, qidx = 0; cfg_queues() local
4141 pi->first_qset = qidx; for_each_port()
4143 qidx += pi->nqsets; for_each_port()
4158 pi->first_qset = qidx; for_each_port()
4160 qidx += pi->nqsets; for_each_port()
4164 s->ethqsets = qidx;
4165 s->max_ethqsets = qidx; /* MSI-X may lower it later */
H A Dsge.c1136 int qidx, credits; t4_eth_xmit() local
1161 qidx = skb_get_queue_mapping(skb); t4_eth_xmit()
1162 q = &adap->sge.ethtxq[qidx + pi->first_qset]; t4_eth_xmit()
1181 dev->name, qidx); t4_eth_xmit()
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c1482 u_short qidx; sym_put_start_queue() local
1515 qidx = np->squeueput + 2; sym_put_start_queue()
1516 if (qidx >= MAX_QUEUE*2) qidx = 0; sym_put_start_queue()
1518 np->squeue [qidx] = cpu_to_scr(np->idletask_ba); sym_put_start_queue()
1522 np->squeueput = qidx; sym_put_start_queue()
/linux-4.1.27/drivers/scsi/
H A Dncr53c8xx.c4451 u16 qidx; ncr_put_start_queue() local
4457 qidx = np->squeueput + 2; ncr_put_start_queue()
4458 if (qidx >= MAX_START + MAX_START) qidx = 1; ncr_put_start_queue()
4460 np->scripth->tryloop [qidx] = cpu_to_scr(NCB_SCRIPT_PHYS (np, idle)); ncr_put_start_queue()
4464 np->squeueput = qidx; ncr_put_start_queue()
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_core.c2002 "%s: ERR!! Nic is disabled! Can't tx packet len=%d qidx=%d!!!\n", rtl8192_tx()

Completed in 683 milliseconds