Lines Matching defs:compl
311 * @compl: Completion status of MBX Command
320 struct be_mcc_compl *compl)
332 if (!compl->flags) {
338 compl->flags = le32_to_cpu(compl->flags);
339 WARN_ON((compl->flags & CQE_FLAGS_VALID_MASK) == 0);
345 be_dws_le_to_cpu(compl, 4);
346 compl_status = (compl->status >> CQE_STATUS_COMPL_SHIFT) &
348 extd_status = (compl->status >> CQE_STATUS_EXTD_SHIFT) &
351 compl->flags = 0;
357 "BC_%d : error in cmd completion: Subsystem : %d Opcode : %d status(compl/extd)=%d/%d\n",
363 struct be_mcc_compl *compl)
367 evt = (struct be_async_event_link_state *)compl;
401 struct be_mcc_compl *compl)
408 evt_type = compl->flags >> ASYNC_TRAILER_EVENT_TYPE_SHIFT;
415 async_sli = (struct be_async_event_sli *)compl;
454 struct be_mcc_compl *compl)
460 evt_code = compl->flags >> ASYNC_TRAILER_EVENT_CODE_SHIFT;
464 beiscsi_process_async_link(phba, compl);
472 beiscsi_process_async_sli(phba, compl);
481 evt_code, compl->status, compl->flags);
485 struct be_mcc_compl *compl)
492 be_dws_le_to_cpu(compl, 4);
493 tag = (compl->tag0 & MCC_Q_CMD_TAG_MASK);
494 wrb_idx = (compl->tag0 & CQE_STATUS_WRB_MASK) >> CQE_STATUS_WRB_SHIFT;
526 compl_status = (compl->status >> CQE_STATUS_COMPL_SHIFT) &
528 extd_status = (compl->status >> CQE_STATUS_EXTD_SHIFT) &
669 status = beiscsi_process_mbox_compl(ctrl, &mbox->compl);