Lines Matching refs:icmnd_cmpl
396 struct snic_icmnd_cmpl *icmnd_cmpl, in snic_process_io_failed_state() argument
415 scsi_set_resid(sc, le32_to_cpu(icmnd_cmpl->resid)); in snic_process_io_failed_state()
464 sc->result = (res << 16) | icmnd_cmpl->scsi_status; in snic_process_io_failed_state()
485 struct snic_icmnd_cmpl *icmnd_cmpl, in snic_process_icmnd_cmpl_status() argument
489 u8 scsi_stat = icmnd_cmpl->scsi_status; in snic_process_icmnd_cmpl_status()
499 scsi_set_resid(sc, le32_to_cpu(icmnd_cmpl->resid)); in snic_process_icmnd_cmpl_status()
501 if (icmnd_cmpl->flags & SNIC_ICMND_CMPL_UNDR_RUN) in snic_process_icmnd_cmpl_status()
504 if (icmnd_cmpl->scsi_status == SAM_STAT_TASK_SET_FULL) in snic_process_icmnd_cmpl_status()
509 snic_process_io_failed_state(snic, icmnd_cmpl, sc, cmpl_stat); in snic_process_icmnd_cmpl_status()
532 struct snic_icmnd_cmpl *icmnd_cmpl = NULL; in snic_icmnd_cmpl_handler() local
540 icmnd_cmpl = &fwreq->u.icmnd_cmpl; in snic_icmnd_cmpl_handler()
541 sc_stat = icmnd_cmpl->scsi_status; in snic_icmnd_cmpl_handler()
567 (u64)sc_stat << 8 | (u64)icmnd_cmpl->flags), in snic_icmnd_cmpl_handler()
568 (ulong) fwreq, le32_to_cpu(icmnd_cmpl->resid), ctx); in snic_icmnd_cmpl_handler()
626 sc, sc_stat, le32_to_cpu(icmnd_cmpl->resid), in snic_icmnd_cmpl_handler()
636 if (snic_process_icmnd_cmpl_status(snic, icmnd_cmpl, hdr_stat, sc)) { in snic_icmnd_cmpl_handler()