Searched refs:qdonep (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dadvansys.c6746 static void asc_isr_callback(ASC_DVC_VAR *asc_dvc_varp, ASC_QDONE_INFO *qdonep) asc_isr_callback() argument
6752 ASC_DBG(1, "asc_dvc_varp 0x%p, qdonep 0x%p\n", asc_dvc_varp, qdonep); asc_isr_callback()
6753 ASC_DBG_PRT_ASC_QDONE_INFO(2, qdonep); asc_isr_callback()
6758 srb_tag = qdonep->d2.srb_tag - 1; asc_isr_callback()
6770 * 'qdonep' contains the command's ending status. asc_isr_callback()
6772 switch (qdonep->d3.done_stat) { asc_isr_callback()
6783 if (scsi_bufflen(scp) != 0 && qdonep->remain_bytes != 0 && asc_isr_callback()
6784 qdonep->remain_bytes <= scsi_bufflen(scp)) { asc_isr_callback()
6786 (unsigned)qdonep->remain_bytes); asc_isr_callback()
6787 scsi_set_resid(scp, qdonep->remain_bytes); asc_isr_callback()
6793 switch (qdonep->d3.host_stat) { asc_isr_callback()
6795 if (qdonep->d3.scsi_stat == SAM_STAT_CHECK_CONDITION) { asc_isr_callback()
6812 STATUS_BYTE(qdonep->d3.scsi_stat); asc_isr_callback()
6814 scp->result = STATUS_BYTE(qdonep->d3.scsi_stat); asc_isr_callback()
6820 ASC_DBG(1, "host_stat 0x%x\n", qdonep->d3.host_stat); asc_isr_callback()
6829 HOST_BYTE(DID_ABORT) | MSG_BYTE(qdonep->d3. asc_isr_callback()
6831 STATUS_BYTE(qdonep->d3.scsi_stat); asc_isr_callback()
6835 ASC_DBG(1, "done_stat 0x%x\n", qdonep->d3.done_stat); asc_isr_callback()
6837 HOST_BYTE(DID_ERROR) | MSG_BYTE(qdonep->d3. asc_isr_callback()
6839 STATUS_BYTE(qdonep->d3.scsi_stat); asc_isr_callback()
6849 qdonep->d3.done_stat == QD_NO_ERROR && asc_isr_callback()
6850 qdonep->d3.host_stat == QHSTA_NO_ERROR) { asc_isr_callback()

Completed in 146 milliseconds