Lines Matching refs:qdonep

7089 asc_isr_callback(ASC_DVC_VAR *asc_dvc_varp, ASC_QDONE_INFO *qdonep)  in asc_isr_callback()  argument
7097 (ulong) asc_dvc_varp, (ulong) qdonep); in asc_isr_callback()
7098 ASC_DBG_PRT_ASC_QDONE_INFO(2, qdonep); in asc_isr_callback()
7104 scp = (Scsi_Cmnd *) ASC_U32_TO_VADDR(qdonep->d2.srb_ptr); in asc_isr_callback()
7150 switch (qdonep->d3.done_stat) { in asc_isr_callback()
7160 (scp->request_bufflen - qdonep->remain_bytes) >= 8) in asc_isr_callback()
7173 if (scp->request_bufflen != 0 && qdonep->remain_bytes != 0 && in asc_isr_callback()
7174 qdonep->remain_bytes <= scp->request_bufflen) { in asc_isr_callback()
7176 (unsigned) qdonep->remain_bytes); in asc_isr_callback()
7177 scp->resid = qdonep->remain_bytes; in asc_isr_callback()
7184 switch (qdonep->d3.host_stat) { in asc_isr_callback()
7186 if (qdonep->d3.scsi_stat == SS_CHK_CONDITION) { in asc_isr_callback()
7201 STATUS_BYTE(qdonep->d3.scsi_stat); in asc_isr_callback()
7203 scp->result = STATUS_BYTE(qdonep->d3.scsi_stat); in asc_isr_callback()
7210 qdonep->d3.host_stat); in asc_isr_callback()
7218 scp->result = HOST_BYTE(DID_ABORT) | MSG_BYTE(qdonep->d3.scsi_msg) | in asc_isr_callback()
7219 STATUS_BYTE(qdonep->d3.scsi_stat); in asc_isr_callback()
7223 ASC_DBG1(1, "asc_isr_callback: done_stat 0x%x\n", qdonep->d3.done_stat); in asc_isr_callback()
7224 scp->result = HOST_BYTE(DID_ERROR) | MSG_BYTE(qdonep->d3.scsi_msg) | in asc_isr_callback()
7225 STATUS_BYTE(qdonep->d3.scsi_stat); in asc_isr_callback()
7235 qdonep->d3.done_stat == QD_NO_ERROR && in asc_isr_callback()
7236 qdonep->d3.host_stat == QHSTA_NO_ERROR) { in asc_isr_callback()