Home
last modified time | relevance | path

Searched refs:scsi_sense (Results 1 – 25 of 49) sorted by relevance

12

/netbsd/sys/dev/ic/
H A Dicpsp.c196 rc->rc_sense_len = htole32(sizeof(xs->sense.scsi_sense)); in icpsp_scsipi_request()
225 sizeof(xs->sense.scsi_sense), BUS_DMASYNC_PREREAD); in icpsp_scsipi_request()
288 sizeof(xs->sense.scsi_sense), BUS_DMASYNC_POSTREAD); in icpsp_intr()
308 memcpy(&xs->sense.scsi_sense, in icpsp_intr()
310 sizeof(xs->sense.scsi_sense)); in icpsp_intr()
H A Daic79xx_osm.c275 memset(&xs->sense.scsi_sense, 0, sizeof(xs->sense.scsi_sense)); in ahd_done()
276 memcpy(&xs->sense.scsi_sense, ahd_get_sense_buf(ahd, scb), in ahd_done()
291 sizeof(xs->sense.scsi_sense)); in ahd_done()
292 memset(&xs->sense.scsi_sense, 0, sizeof(xs->sense.scsi_sense)); in ahd_done()
293 memcpy(&xs->sense.scsi_sense, in ahd_done()
299 printf(" 0x%x", ((uint8_t *)&xs->sense.scsi_sense)[i]); in ahd_done()
H A Disp_netbsd.h231 #define XS_SNSP(xs) (&(xs)->sense.scsi_sense)
233 #define XS_SNSKEY(xs) SSD_SENSE_KEY((xs)->sense.scsi_sense.flags)
234 #define XS_SNSASC(xs) ((xs)->sense.scsi_sense.asc)
235 #define XS_SNSASCQ(xs) ((xs)->sense.scsi_sense.ascq)
H A Dadv.h44 struct scsi_sense_data scsi_sense; member
H A Dadw.h64 struct scsi_sense_data scsi_sense; member
H A Dadw.c652 scsiqp->vsense_addr = &ccb->scsi_sense; in adw_build_req()
654 ADW_CCB_OFF(ccb) + offsetof(struct adw_ccb, scsi_sense)); in adw_build_req()
1075 s1 = &ccb->scsi_sense; in adw_isr_callback()
1076 s2 = &xs->sense.scsi_sense; in adw_isr_callback()
H A Dadv.c575 ADV_CCB_OFF(ccb) + offsetof(struct adv_ccb, scsi_sense); in adv_scsipi_request()
928 s1 = &ccb->scsi_sense; in adv_narrow_isr_callback()
929 s2 = &xs->sense.scsi_sense; in adv_narrow_isr_callback()
H A Dbha.c404 ltophys(ccb->hashkey + offsetof(struct bha_ccb, scsi_sense), in bha_scsipi_request()
406 ccb->req_sense_length = sizeof(ccb->scsi_sense); in bha_scsipi_request()
633 memcpy(&xs->sense.scsi_sense, in bha_done()
634 &ccb->scsi_sense, in bha_done()
635 sizeof(xs->sense.scsi_sense)); in bha_done()
H A Daic7xxx_osm.c281 memset(&xs->sense.scsi_sense, 0, sizeof(xs->sense.scsi_sense)); in ahc_done()
282 memcpy(&xs->sense.scsi_sense, in ahc_done()
284 sizeof(xs->sense.scsi_sense)); in ahc_done()
H A Dahareg.h179 struct scsi_sense_data scsi_sense; member
H A Dbhareg.h230 struct scsi_sense_data scsi_sense; member
/netbsd/sbin/scsictl/
H A DMakefile3 SRCS= scsictl.c scsi_sense.c scsi_subr.c
/netbsd/sys/arch/mac68k/dev/
H A Dncr5380.c377 tmp->xdata_ptr = (u_char *)&tmp->xs->sense.scsi_sense; in ncr5380_scsi_request()
378 tmp->xdata_len = sizeof(tmp->xs->sense.scsi_sense); in ncr5380_scsi_request()
1589 reqp->xdata_ptr = (u_char *)&reqp->xs->sense.scsi_sense; in check_autosense()
1590 reqp->xdata_len = sizeof(reqp->xs->sense.scsi_sense); in check_autosense()
1914 p2 = (u_char *)&xs->sense.scsi_sense; in show_data_sense()
1921 for (i = 0; i < sizeof(xs->sense.scsi_sense); i++) in show_data_sense()
/netbsd/sys/arch/atari/dev/
H A Dncr5380.c384 tmp->xdata_ptr = (u_char *)&tmp->xs->sense.scsi_sense; in ncr5380_scsi_request()
385 tmp->xdata_len = sizeof(tmp->xs->sense.scsi_sense); in ncr5380_scsi_request()
1624 reqp->xdata_ptr = (u_char *)&reqp->xs->sense.scsi_sense; in check_autosense()
1625 reqp->xdata_len = sizeof(reqp->xs->sense.scsi_sense); in check_autosense()
1986 p2 = (uint8_t *)&xs->sense.scsi_sense; in show_data_sense()
1993 for (i = 0; i < sizeof(xs->sense.scsi_sense); i++) in show_data_sense()
/netbsd/sys/dev/i2o/
H A Diopsp.c577 if (sl > sizeof(xs->sense.scsi_sense)) in iopsp_intr()
578 sl = sizeof(xs->sense.scsi_sense); in iopsp_intr()
579 memcpy(&xs->sense.scsi_sense, rb->sense, sl); in iopsp_intr()
/netbsd/sys/dev/scsipi/
H A Dscsipi_ioctl.c169 screq->senselen_used = uimin(sizeof(xs->sense.scsi_sense), in scsipi_user_done()
171 memcpy(screq->sense, &xs->sense.scsi_sense, in scsipi_user_done()
H A Dscsipi_verbose.c1075 scsipi_print_sense_data(&xs->sense.scsi_sense, verbosity); in scsipi_print_sense_real()
/netbsd/sys/arch/arc/dti/
H A Dbtl.c842 s1 = &ccb->scsi_sense; in bt_done()
843 s2 = &xs->sense.scsi_sense; in bt_done()
1306 ltophys(KVTOPHYS(&ccb->scsi_sense), ccb->sense_ptr); in bt_scsi_cmd()
1307 ccb->req_sense_length = sizeof(ccb->scsi_sense); in bt_scsi_cmd()
H A Dbtlreg.h136 struct scsi_sense_data scsi_sense; member
/netbsd/sys/dev/usb/
H A Dumass_scsipi.c508 extra = sizeof(xs->sense.scsi_sense) in umass_scsipi_sense_cb()
509 - sizeof(xs->sense.scsi_sense.extra_bytes); in umass_scsipi_sense_cb()
/netbsd/sys/arch/luna68k/stand/boot/
H A Dscsireg.h222 struct scsi_sense { struct
/netbsd/tests/dev/scsipi/libscsitest/
H A Dscsitest.c85 struct scsi_sense_data *sense = &xs->sense.scsi_sense; in sense_notready()
/netbsd/sys/dev/hyperv/
H A Dhvs.c491 xs->sense.scsi_sense.response_code = in hvs_scsipi_request()
493 xs->sense.scsi_sense.flags = SSD_ILI; in hvs_scsipi_request()
494 xs->sense.scsi_sense.asc = 0x20; in hvs_scsipi_request()
/netbsd/sys/arch/usermode/dev/
H A Dvatapi.c336 memcpy(&xs->sense.scsi_sense, kreq.sense, in vatapi_complete()
/netbsd/sys/arch/hp300/stand/common/
H A Dscsireg.h247 struct scsi_sense { struct

12