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

/netbsd-current/sys/dev/scsipi/
H A Dscsi_iu.h22 #define SIU_PKTFAIL_OFFSET(siu) 12
23 #define SIU_PKTFAIL_CODE(siu) (scsi_4btoul((siu)->pkt_failures) & 0xFF)
30 #define SIU_SENSE_OFFSET(siu) \
31 (12 + (((siu)->flags & SIU_RSPVALID) \
32 ? scsi_4btoul((siu)->pkt_failures_length) \
/netbsd-current/sys/dev/ic/
H A Daic79xx_osm.c281 struct scsi_status_iu_header *siu; local
289 siu = (struct scsi_status_iu_header *)scb->sense_data;
290 sense_len = MIN(scsi_4btoul(siu->sense_length),
294 scb->sense_data + SIU_SENSE_OFFSET(siu), sense_len);
297 SIU_SENSE_OFFSET(siu));
H A Daic79xx.c7877 struct scsi_status_iu_header *siu; local
7880 siu = (struct scsi_status_iu_header *)scb->sense_data;
7881 ahd_set_scsi_status(scb, siu->status);
7886 SCB_GET_TAG(scb), siu->status);
7889 if ((siu->flags & SIU_RSPVALID) != 0) {
7891 if (scsi_4btoul(siu->pkt_failures_length) < 4) {
7895 switch (SIU_PKTFAIL_CODE(siu)) {
7917 if (siu->status == SCSI_STATUS_OK)
7921 if ((siu->flags & SIU_SNSVALID) != 0) {
7926 siu
[all...]

Completed in 282 milliseconds