Lines Matching refs:fcp_wqidx
5904 int fcp_eqidx, fcp_cqidx, fcp_wqidx; in lpfc_sli4_queue_create() local
6103 for (fcp_wqidx = 0; fcp_wqidx < phba->cfg_fcp_wq_count; fcp_wqidx++) { in lpfc_sli4_queue_create()
6109 "WQ (%d)\n", fcp_wqidx); in lpfc_sli4_queue_create()
6112 phba->sli4_hba.fcp_wq[fcp_wqidx] = qdesc; in lpfc_sli4_queue_create()
6147 for (--fcp_wqidx; fcp_wqidx >= 0; fcp_wqidx--) { in lpfc_sli4_queue_create()
6148 lpfc_sli4_queue_free(phba->sli4_hba.fcp_wq[fcp_wqidx]); in lpfc_sli4_queue_create()
6149 phba->sli4_hba.fcp_wq[fcp_wqidx] = NULL; in lpfc_sli4_queue_create()
6263 int fcp_eqidx, fcp_cqidx, fcp_wqidx; in lpfc_sli4_queue_setup() local
6421 for (fcp_wqidx = 0; fcp_wqidx < phba->cfg_fcp_wq_count; fcp_wqidx++) { in lpfc_sli4_queue_setup()
6422 if (!phba->sli4_hba.fcp_wq[fcp_wqidx]) { in lpfc_sli4_queue_setup()
6425 "allocated\n", fcp_wqidx); in lpfc_sli4_queue_setup()
6428 rc = lpfc_wq_create(phba, phba->sli4_hba.fcp_wq[fcp_wqidx], in lpfc_sli4_queue_setup()
6434 "WQ (%d), rc = 0x%x\n", fcp_wqidx, rc); in lpfc_sli4_queue_setup()
6440 fcp_wqidx, in lpfc_sli4_queue_setup()
6441 phba->sli4_hba.fcp_wq[fcp_wqidx]->queue_id, in lpfc_sli4_queue_setup()
6473 for (--fcp_wqidx; fcp_wqidx >= 0; fcp_wqidx--) in lpfc_sli4_queue_setup()
6474 lpfc_wq_destroy(phba, phba->sli4_hba.fcp_wq[fcp_wqidx]); in lpfc_sli4_queue_setup()