Searched refs:siu (Results 1 – 3 of 3) sorted by relevance
19 #define SIU_PKTFAIL_OFFSET(siu) 12 argument20 #define SIU_PKTFAIL_CODE(siu) (scsi_4btoul((siu)->pkt_failures) & 0xFF) argument27 #define SIU_SENSE_OFFSET(siu) \ argument28 (12 + (((siu)->flags & SIU_RSPVALID) \29 ? scsi_4btoul((siu)->pkt_failures_length) \
7705 struct scsi_status_iu_header *siu; in ahd_handle_scsi_status() local7708 siu = (struct scsi_status_iu_header *)scb->sense_data; in ahd_handle_scsi_status()7709 ahd_set_scsi_status(scb, siu->status); in ahd_handle_scsi_status()7714 SCB_GET_TAG(scb), siu->status); in ahd_handle_scsi_status()7717 siu->flags, scsi_4btoul(siu->sense_length), in ahd_handle_scsi_status()7718 scsi_4btoul(siu->pkt_failures_length)); in ahd_handle_scsi_status()7721 if ((siu->flags & SIU_RSPVALID) != 0) { in ahd_handle_scsi_status()7723 if (scsi_4btoul(siu->pkt_failures_length) < 4) { in ahd_handle_scsi_status()7727 switch (SIU_PKTFAIL_CODE(siu)) { in ahd_handle_scsi_status()7749 if (siu->status == SCSI_STATUS_OK) in ahd_handle_scsi_status()[all …]
4586 struct scsi_status_iu_header *siu; local4600 siu = (struct scsi_status_iu_header *)4602 sense_size = MIN(scsi_4btoul(siu->sense_length),4604 sense_offset = SIU_SENSE_OFFSET(siu);