Lines Matching refs:wcqe
1784 struct lpfc_wcqe_complete *wcqe = &rspiocb->wcqe_cmpl; in lpfc_cmf_sync_cmpl() local
1792 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_cmf_sync_cmpl()
1798 bf_get(lpfc_wcqe_c_request_tag, wcqe), in lpfc_cmf_sync_cmpl()
1799 bf_get(lpfc_wcqe_c_status, wcqe), in lpfc_cmf_sync_cmpl()
1800 bf_get(lpfc_wcqe_c_hw_status, wcqe), in lpfc_cmf_sync_cmpl()
1801 wcqe->total_data_placed, in lpfc_cmf_sync_cmpl()
1802 wcqe->parameter); in lpfc_cmf_sync_cmpl()
1807 info = wcqe->parameter; in lpfc_cmf_sync_cmpl()
1816 tdp = bf_get(lpfc_wcqe_c_cmf_bw, wcqe); in lpfc_cmf_sync_cmpl()
1817 cg = bf_get(lpfc_wcqe_c_cmf_cg, wcqe); in lpfc_cmf_sync_cmpl()
1824 bf_get(lpfc_wcqe_c_request_tag, wcqe)); in lpfc_cmf_sync_cmpl()
14162 struct lpfc_wcqe_complete *wcqe; in lpfc_sli4_els_preprocess_rspiocbq() local
14169 wcqe = &irspiocbq->cq_event.cqe.wcqe_cmpl; in lpfc_sli4_els_preprocess_rspiocbq()
14174 bf_get(lpfc_wcqe_c_request_tag, wcqe)); in lpfc_sli4_els_preprocess_rspiocbq()
14180 wcqe->word0, wcqe->total_data_placed, in lpfc_sli4_els_preprocess_rspiocbq()
14181 wcqe->parameter, wcqe->word3); in lpfc_sli4_els_preprocess_rspiocbq()
14187 memcpy(&irspiocbq->wcqe_cmpl, wcqe, sizeof(*wcqe)); in lpfc_sli4_els_preprocess_rspiocbq()
14193 if (bf_get(lpfc_wcqe_c_xb, wcqe)) { in lpfc_sli4_els_preprocess_rspiocbq()
14453 struct lpfc_wcqe_complete *wcqe) in lpfc_sli4_sp_handle_els_wcqe() argument
14462 if (unlikely(bf_get(lpfc_wcqe_c_status, wcqe))) { in lpfc_sli4_sp_handle_els_wcqe()
14467 bf_get(lpfc_wcqe_c_status, wcqe), in lpfc_sli4_sp_handle_els_wcqe()
14468 wcqe->word0, wcqe->total_data_placed, in lpfc_sli4_sp_handle_els_wcqe()
14469 wcqe->parameter, wcqe->word3); in lpfc_sli4_sp_handle_els_wcqe()
14488 memcpy(&irspiocbq->cq_event.cqe.wcqe_cmpl, wcqe, sizeof(*wcqe)); in lpfc_sli4_sp_handle_els_wcqe()
14508 struct lpfc_wcqe_release *wcqe) in lpfc_sli4_sp_handle_rel_wcqe() argument
14514 if (bf_get(lpfc_wcqe_r_wq_id, wcqe) == phba->sli4_hba.els_wq->queue_id) in lpfc_sli4_sp_handle_rel_wcqe()
14516 bf_get(lpfc_wcqe_r_wqe_index, wcqe)); in lpfc_sli4_sp_handle_rel_wcqe()
14521 bf_get(lpfc_wcqe_r_wqe_index, wcqe), in lpfc_sli4_sp_handle_rel_wcqe()
14538 struct sli4_wcqe_xri_aborted *wcqe) in lpfc_sli4_sp_handle_abort_xri_wcqe() argument
14546 lpfc_sli4_io_xri_aborted(phba, wcqe, cq->hdwq); in lpfc_sli4_sp_handle_abort_xri_wcqe()
14550 lpfc_sli4_nvmet_xri_aborted(phba, wcqe); in lpfc_sli4_sp_handle_abort_xri_wcqe()
14556 cq_event = lpfc_cq_event_setup(phba, wcqe, sizeof(*wcqe)); in lpfc_sli4_sp_handle_abort_xri_wcqe()
14576 cq->subtype, wcqe->word0, wcqe->parameter, in lpfc_sli4_sp_handle_abort_xri_wcqe()
14577 wcqe->word2, wcqe->word3); in lpfc_sli4_sp_handle_abort_xri_wcqe()
14994 struct lpfc_wcqe_complete *wcqe) in lpfc_sli4_fp_handle_fcp_wcqe() argument
15001 if (unlikely(bf_get(lpfc_wcqe_c_status, wcqe))) { in lpfc_sli4_fp_handle_fcp_wcqe()
15005 if (((bf_get(lpfc_wcqe_c_status, wcqe) == in lpfc_sli4_fp_handle_fcp_wcqe()
15007 ((wcqe->parameter & IOERR_PARAM_MASK) == in lpfc_sli4_fp_handle_fcp_wcqe()
15015 bf_get(lpfc_wcqe_c_status, wcqe), in lpfc_sli4_fp_handle_fcp_wcqe()
15016 wcqe->word0, wcqe->total_data_placed, in lpfc_sli4_fp_handle_fcp_wcqe()
15017 wcqe->parameter, wcqe->word3); in lpfc_sli4_fp_handle_fcp_wcqe()
15024 bf_get(lpfc_wcqe_c_request_tag, wcqe)); in lpfc_sli4_fp_handle_fcp_wcqe()
15030 bf_get(lpfc_wcqe_c_request_tag, wcqe)); in lpfc_sli4_fp_handle_fcp_wcqe()
15036 if (bf_get(lpfc_wcqe_c_xb, wcqe)) { in lpfc_sli4_fp_handle_fcp_wcqe()
15052 memcpy(&cmdiocbq->wcqe_cmpl, wcqe, in lpfc_sli4_fp_handle_fcp_wcqe()
15059 bf_get(lpfc_wcqe_c_request_tag, wcqe)); in lpfc_sli4_fp_handle_fcp_wcqe()
15074 struct lpfc_wcqe_release *wcqe) in lpfc_sli4_fp_handle_rel_wcqe() argument
15081 hba_wqid = bf_get(lpfc_wcqe_r_wq_id, wcqe); in lpfc_sli4_fp_handle_rel_wcqe()
15085 bf_get(lpfc_wcqe_r_wqe_index, wcqe)); in lpfc_sli4_fp_handle_rel_wcqe()
15222 struct lpfc_wcqe_release wcqe; in lpfc_sli4_fp_handle_cqe() local
15226 lpfc_sli4_pcimem_bcopy(cqe, &wcqe, sizeof(struct lpfc_cqe)); in lpfc_sli4_fp_handle_cqe()
15229 switch (bf_get(lpfc_wcqe_c_code, &wcqe)) { in lpfc_sli4_fp_handle_cqe()
15237 (struct lpfc_wcqe_complete *)&wcqe); in lpfc_sli4_fp_handle_cqe()
15243 (struct lpfc_wcqe_release *)&wcqe); in lpfc_sli4_fp_handle_cqe()
15250 (struct sli4_wcqe_xri_aborted *)&wcqe); in lpfc_sli4_fp_handle_cqe()
15257 phba, cq, (struct lpfc_rcqe *)&wcqe); in lpfc_sli4_fp_handle_cqe()
15263 bf_get(lpfc_wcqe_c_code, &wcqe)); in lpfc_sli4_fp_handle_cqe()