Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/aic7xxx/
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) \
Daic79xx_core.c7705 struct scsi_status_iu_header *siu; in ahd_handle_scsi_status() local
7708 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 …]
Daic79xx_osm.c4586 struct scsi_status_iu_header *siu; local
4600 siu = (struct scsi_status_iu_header *)
4602 sense_size = MIN(scsi_4btoul(siu->sense_length),
4604 sense_offset = SIU_SENSE_OFFSET(siu);