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) \
1913 struct scsi_status_iu_header *siu; in ahd_linux_handle_scsi_status() local1927 siu = (struct scsi_status_iu_header *) in ahd_linux_handle_scsi_status()1930 scsi_4btoul(siu->sense_length), in ahd_linux_handle_scsi_status()1932 sense_offset = SIU_SENSE_OFFSET(siu); in ahd_linux_handle_scsi_status()
8869 struct scsi_status_iu_header *siu; in ahd_handle_scsi_status() local8872 siu = (struct scsi_status_iu_header *)scb->sense_data; in ahd_handle_scsi_status()8873 ahd_set_scsi_status(scb, siu->status); in ahd_handle_scsi_status()8878 SCB_GET_TAG(scb), siu->status); in ahd_handle_scsi_status()8881 siu->flags, scsi_4btoul(siu->sense_length), in ahd_handle_scsi_status()8882 scsi_4btoul(siu->pkt_failures_length)); in ahd_handle_scsi_status()8885 if ((siu->flags & SIU_RSPVALID) != 0) { in ahd_handle_scsi_status()8887 if (scsi_4btoul(siu->pkt_failures_length) < 4) { in ahd_handle_scsi_status()8891 switch (SIU_PKTFAIL_CODE(siu)) { in ahd_handle_scsi_status()8914 if (siu->status == SAM_STAT_GOOD) in ahd_handle_scsi_status()[all …]