Searched refs:fcp_wqidx (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_debugfs.h363 * @fcp_wqidx: Index to a FCP work queue.
366 * @fcp_wqidx.
369 lpfc_debug_dump_fcp_wq(struct lpfc_hba *phba, int fcp_wqidx) lpfc_debug_dump_fcp_wq() argument
372 if (fcp_wqidx >= phba->cfg_fcp_io_channel) lpfc_debug_dump_fcp_wq()
376 fcp_wqidx, phba->sli4_hba.fcp_wq[fcp_wqidx]->queue_id); lpfc_debug_dump_fcp_wq()
377 lpfc_debug_dump_q(phba->sli4_hba.fcp_wq[fcp_wqidx]); lpfc_debug_dump_fcp_wq()
383 * @fcp_wqidx: Index to a FCP work queue.
386 * associated to the FCP work queue specified by the @fcp_wqidx.
389 lpfc_debug_dump_fcp_cq(struct lpfc_hba *phba, int fcp_wqidx) lpfc_debug_dump_fcp_cq() argument
394 if (fcp_wqidx >= phba->cfg_fcp_io_channel) lpfc_debug_dump_fcp_cq()
397 fcp_cqid = phba->sli4_hba.fcp_wq[fcp_wqidx]->assoc_qid; lpfc_debug_dump_fcp_cq()
410 fcp_wqidx, phba->sli4_hba.fcp_wq[fcp_wqidx]->queue_id, lpfc_debug_dump_fcp_cq()
418 * @fcp_wqidx: Index to a FCP work queue.
421 * associated to the FCP work queue specified by the @fcp_wqidx.
424 lpfc_debug_dump_hba_eq(struct lpfc_hba *phba, int fcp_wqidx) lpfc_debug_dump_hba_eq() argument
431 if (fcp_wqidx >= phba->cfg_fcp_io_channel) lpfc_debug_dump_hba_eq()
433 fcp_cqid = phba->sli4_hba.fcp_wq[fcp_wqidx]->assoc_qid; lpfc_debug_dump_hba_eq()
451 fcp_wqidx, phba->sli4_hba.fcp_wq[fcp_wqidx]->queue_id, lpfc_debug_dump_hba_eq()
H A Dlpfc_debugfs.c4671 int fcp_wqidx; lpfc_debug_dump_all_queues() local
4679 for (fcp_wqidx = 0; fcp_wqidx < phba->cfg_fcp_io_channel; fcp_wqidx++) lpfc_debug_dump_all_queues()
4680 lpfc_debug_dump_fcp_wq(phba, fcp_wqidx); lpfc_debug_dump_all_queues()
4690 for (fcp_wqidx = 0; fcp_wqidx < phba->cfg_fcp_io_channel; fcp_wqidx++) lpfc_debug_dump_all_queues()
4691 lpfc_debug_dump_fcp_cq(phba, fcp_wqidx); lpfc_debug_dump_all_queues()
4696 for (fcp_wqidx = 0; fcp_wqidx < phba->cfg_fcp_io_channel; fcp_wqidx++) lpfc_debug_dump_all_queues()
4697 lpfc_debug_dump_hba_eq(phba, fcp_wqidx); lpfc_debug_dump_all_queues()
H A Dlpfc_sli.h86 uint32_t fcp_wqidx; /* index to FCP work queue */ member in struct:lpfc_iocbq
H A Dlpfc_init.c7461 int fcp_eqidx, fcp_cqidx, fcp_wqidx; lpfc_sli4_queue_setup() local
7594 for (fcp_wqidx = 0; fcp_wqidx < phba->cfg_fcp_io_channel; fcp_wqidx++) { lpfc_sli4_queue_setup()
7595 if (!phba->sli4_hba.fcp_wq[fcp_wqidx]) { lpfc_sli4_queue_setup()
7598 "allocated\n", fcp_wqidx); lpfc_sli4_queue_setup()
7602 rc = lpfc_wq_create(phba, phba->sli4_hba.fcp_wq[fcp_wqidx], lpfc_sli4_queue_setup()
7603 phba->sli4_hba.fcp_cq[fcp_wqidx], lpfc_sli4_queue_setup()
7608 "WQ (%d), rc = 0x%x\n", fcp_wqidx, lpfc_sli4_queue_setup()
7614 pring = &psli->ring[MAX_SLI3_CONFIGURED_RINGS + fcp_wqidx]; lpfc_sli4_queue_setup()
7615 pring->sli.sli4.wqp = (void *)phba->sli4_hba.fcp_wq[fcp_wqidx]; lpfc_sli4_queue_setup()
7616 phba->sli4_hba.fcp_cq[fcp_wqidx]->pring = pring; lpfc_sli4_queue_setup()
7621 fcp_wqidx, lpfc_sli4_queue_setup()
7622 phba->sli4_hba.fcp_wq[fcp_wqidx]->queue_id, lpfc_sli4_queue_setup()
7624 phba->sli4_hba.fcp_cq[fcp_wqidx]->queue_id); lpfc_sli4_queue_setup()
7779 for (--fcp_wqidx; fcp_wqidx >= 0; fcp_wqidx--) lpfc_sli4_queue_setup()
7780 lpfc_wq_destroy(phba, phba->sli4_hba.fcp_wq[fcp_wqidx]); lpfc_sli4_queue_setup()
H A Dlpfc_sli.c8727 wq = phba->sli4_hba.fcp_wq[piocb->fcp_wqidx]; __lpfc_sli_issue_iocb_s4()
8804 * fcp_wqidx should already be setup based on what lpfc_sli_calc_ring()
8812 piocb->fcp_wqidx = idx; lpfc_sli_calc_ring()
8818 piocb->fcp_wqidx = idx; lpfc_sli_calc_ring()
8854 idx = piocb->fcp_wqidx; lpfc_sli_issue_iocb()
9807 abtsiocbp->fcp_wqidx = cmdiocb->fcp_wqidx; lpfc_sli_abort_iotag_issue()
10127 abtsiocb->fcp_wqidx = iocbq->fcp_wqidx; lpfc_sli_abort_iocb()
10230 abtsiocbq->fcp_wqidx = iocbq->fcp_wqidx; lpfc_sli_abort_taskmgmt()
10256 iocbq->fcp_wqidx; lpfc_sli_abort_taskmgmt()
H A Dlpfc_scsi.c4748 abtsiocb->fcp_wqidx = iocb->fcp_wqidx; lpfc_abort_handler()
4761 ring_number = MAX_SLI3_CONFIGURED_RINGS + iocb->fcp_wqidx; lpfc_abort_handler()

Completed in 340 milliseconds