Lines Matching refs:wcqe
11454 struct lpfc_wcqe_complete *wcqe) in lpfc_sli4_iocb_param_transfer() argument
11466 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_sli4_iocb_param_transfer()
11472 wcqe->total_data_placed; in lpfc_sli4_iocb_param_transfer()
11474 pIocbIn->iocb.un.ulpWord[4] = wcqe->parameter; in lpfc_sli4_iocb_param_transfer()
11476 pIocbIn->iocb.un.ulpWord[4] = wcqe->parameter; in lpfc_sli4_iocb_param_transfer()
11499 max_response = wcqe->total_data_placed; in lpfc_sli4_iocb_param_transfer()
11502 if (max_response < wcqe->total_data_placed) in lpfc_sli4_iocb_param_transfer()
11506 wcqe->total_data_placed; in lpfc_sli4_iocb_param_transfer()
11513 if (bf_get(lpfc_wcqe_c_bg_edir, wcqe)) in lpfc_sli4_iocb_param_transfer()
11519 if (bf_get(lpfc_wcqe_c_bg_ge, wcqe)) /* Guard Check failed */ in lpfc_sli4_iocb_param_transfer()
11522 if (bf_get(lpfc_wcqe_c_bg_ae, wcqe)) /* App Tag Check failed */ in lpfc_sli4_iocb_param_transfer()
11525 if (bf_get(lpfc_wcqe_c_bg_re, wcqe)) /* Ref Tag Check failed */ in lpfc_sli4_iocb_param_transfer()
11530 if (bf_get(lpfc_wcqe_c_bg_tdpv, wcqe)) { in lpfc_sli4_iocb_param_transfer()
11534 wcqe->total_data_placed; in lpfc_sli4_iocb_param_transfer()
11548 if (bf_get(lpfc_wcqe_c_xb, wcqe)) { in lpfc_sli4_iocb_param_transfer()
11572 struct lpfc_wcqe_complete *wcqe; in lpfc_sli4_els_wcqe_to_rspiocbq() local
11575 wcqe = &irspiocbq->cq_event.cqe.wcqe_cmpl; in lpfc_sli4_els_wcqe_to_rspiocbq()
11580 bf_get(lpfc_wcqe_c_request_tag, wcqe)); in lpfc_sli4_els_wcqe_to_rspiocbq()
11587 bf_get(lpfc_wcqe_c_request_tag, wcqe)); in lpfc_sli4_els_wcqe_to_rspiocbq()
11593 lpfc_sli4_iocb_param_transfer(phba, irspiocbq, cmdiocbq, wcqe); in lpfc_sli4_els_wcqe_to_rspiocbq()
11792 struct lpfc_wcqe_complete *wcqe) in lpfc_sli4_sp_handle_els_wcqe() argument
11820 memcpy(&irspiocbq->cq_event.cqe.wcqe_cmpl, wcqe, sizeof(*wcqe)); in lpfc_sli4_sp_handle_els_wcqe()
11840 struct lpfc_wcqe_release *wcqe) in lpfc_sli4_sp_handle_rel_wcqe() argument
11846 if (bf_get(lpfc_wcqe_r_wq_id, wcqe) == phba->sli4_hba.els_wq->queue_id) in lpfc_sli4_sp_handle_rel_wcqe()
11848 bf_get(lpfc_wcqe_r_wqe_index, wcqe)); in lpfc_sli4_sp_handle_rel_wcqe()
11853 bf_get(lpfc_wcqe_r_wqe_index, wcqe), in lpfc_sli4_sp_handle_rel_wcqe()
11870 struct sli4_wcqe_xri_aborted *wcqe) in lpfc_sli4_sp_handle_abort_xri_wcqe() argument
11885 memcpy(&cq_event->cqe, wcqe, sizeof(struct sli4_wcqe_xri_aborted)); in lpfc_sli4_sp_handle_abort_xri_wcqe()
12138 struct lpfc_wcqe_complete *wcqe) in lpfc_sli4_fp_handle_fcp_wcqe() argument
12146 if (unlikely(bf_get(lpfc_wcqe_c_status, wcqe))) { in lpfc_sli4_fp_handle_fcp_wcqe()
12150 if (((bf_get(lpfc_wcqe_c_status, wcqe) == in lpfc_sli4_fp_handle_fcp_wcqe()
12152 ((wcqe->parameter & IOERR_PARAM_MASK) == in lpfc_sli4_fp_handle_fcp_wcqe()
12161 bf_get(lpfc_wcqe_c_status, wcqe), in lpfc_sli4_fp_handle_fcp_wcqe()
12162 bf_get(lpfc_wcqe_c_hw_status, wcqe), in lpfc_sli4_fp_handle_fcp_wcqe()
12163 wcqe->total_data_placed, wcqe->parameter, in lpfc_sli4_fp_handle_fcp_wcqe()
12164 wcqe->word3); in lpfc_sli4_fp_handle_fcp_wcqe()
12171 bf_get(lpfc_wcqe_c_request_tag, wcqe)); in lpfc_sli4_fp_handle_fcp_wcqe()
12177 bf_get(lpfc_wcqe_c_request_tag, wcqe)); in lpfc_sli4_fp_handle_fcp_wcqe()
12184 bf_get(lpfc_wcqe_c_request_tag, wcqe)); in lpfc_sli4_fp_handle_fcp_wcqe()
12189 lpfc_sli4_iocb_param_transfer(phba, &irspiocbq, cmdiocbq, wcqe); in lpfc_sli4_fp_handle_fcp_wcqe()
12212 struct lpfc_wcqe_release *wcqe) in lpfc_sli4_fp_handle_rel_wcqe() argument
12219 fcp_wqid = bf_get(lpfc_wcqe_r_wq_id, wcqe); in lpfc_sli4_fp_handle_rel_wcqe()
12223 bf_get(lpfc_wcqe_r_wqe_index, wcqe)); in lpfc_sli4_fp_handle_rel_wcqe()
12247 struct lpfc_wcqe_release wcqe; in lpfc_sli4_fp_handle_wcqe() local
12251 lpfc_sli_pcimem_bcopy(cqe, &wcqe, sizeof(struct lpfc_cqe)); in lpfc_sli4_fp_handle_wcqe()
12254 switch (bf_get(lpfc_wcqe_c_code, &wcqe)) { in lpfc_sli4_fp_handle_wcqe()
12260 (struct lpfc_wcqe_complete *)&wcqe); in lpfc_sli4_fp_handle_wcqe()
12266 (struct lpfc_wcqe_release *)&wcqe); in lpfc_sli4_fp_handle_wcqe()
12273 (struct sli4_wcqe_xri_aborted *)&wcqe); in lpfc_sli4_fp_handle_wcqe()
12278 bf_get(lpfc_wcqe_c_code, &wcqe)); in lpfc_sli4_fp_handle_wcqe()