Home
last modified time | relevance | path

Searched refs:siu (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/scsi/aic7xxx/
H A Dscsi_iu.h19 #define SIU_PKTFAIL_OFFSET(siu) 12 argument
20 #define SIU_PKTFAIL_CODE(siu) (scsi_4btoul((siu)->pkt_failures) & 0xFF) argument
27 #define SIU_SENSE_OFFSET(siu) \ argument
28 (12 + (((siu)->flags & SIU_RSPVALID) \
29 ? scsi_4btoul((siu)->pkt_failures_length) \
H A Daic79xx_osm.c1913 struct scsi_status_iu_header *siu; in ahd_linux_handle_scsi_status() local
1927 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()
H A Daic79xx_core.c8869 struct scsi_status_iu_header *siu; in ahd_handle_scsi_status() local
8872 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 …]