/netbsd/sys/dev/ic/ |
H A D | icpsp.c | 196 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 D | aic79xx_osm.c | 275 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 D | isp_netbsd.h | 231 #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 D | adv.h | 44 struct scsi_sense_data scsi_sense; member
|
H A D | adw.h | 64 struct scsi_sense_data scsi_sense; member
|
H A D | adw.c | 652 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 D | adv.c | 575 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 D | bha.c | 404 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 D | aic7xxx_osm.c | 281 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 D | ahareg.h | 179 struct scsi_sense_data scsi_sense; member
|
H A D | bhareg.h | 230 struct scsi_sense_data scsi_sense; member
|
/netbsd/sbin/scsictl/ |
H A D | Makefile | 3 SRCS= scsictl.c scsi_sense.c scsi_subr.c
|
/netbsd/sys/arch/mac68k/dev/ |
H A D | ncr5380.c | 377 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 D | ncr5380.c | 384 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 D | iopsp.c | 577 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 D | scsipi_ioctl.c | 169 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 D | scsipi_verbose.c | 1075 scsipi_print_sense_data(&xs->sense.scsi_sense, verbosity); in scsipi_print_sense_real()
|
/netbsd/sys/arch/arc/dti/ |
H A D | btl.c | 842 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 D | btlreg.h | 136 struct scsi_sense_data scsi_sense; member
|
/netbsd/sys/dev/usb/ |
H A D | umass_scsipi.c | 508 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 D | scsireg.h | 222 struct scsi_sense { struct
|
/netbsd/tests/dev/scsipi/libscsitest/ |
H A D | scsitest.c | 85 struct scsi_sense_data *sense = &xs->sense.scsi_sense; in sense_notready()
|
/netbsd/sys/dev/hyperv/ |
H A D | hvs.c | 491 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 D | vatapi.c | 336 memcpy(&xs->sense.scsi_sense, kreq.sense, in vatapi_complete()
|
/netbsd/sys/arch/hp300/stand/common/ |
H A D | scsireg.h | 247 struct scsi_sense { struct
|