Home
last modified time | relevance | path

Searched refs:sense_key (Results 1 – 23 of 23) sorted by relevance

/freebsd/sys/dev/isci/scil/
H A Dsati_util.c608 U8 sense_key, in sati_scsi_sense_data_construct() argument
622 sense_key, additional_sense_code, additional_sense_code_qualifier); in sati_scsi_sense_data_construct()
627 sense_key, additional_sense_code, additional_sense_code_qualifier); in sati_scsi_sense_data_construct()
853 U8 sense_key, in sati_scsi_descriptor_sense_data_construct() argument
870 sati_set_sense_data_byte(sense_data, sense_len, 1, sense_key); in sati_scsi_descriptor_sense_data_construct()
909 U8 sense_key, in sati_scsi_fixed_sense_data_construct() argument
930 sati_set_sense_data_byte(sense_data, sense_len, 2, sense_key); in sati_scsi_fixed_sense_data_construct()
973 U8 sense_key, in sati_scsi_common_fixed_sense_construct() argument
980 sati_set_sense_data_byte(sense_data, sense_len, 2, sense_key); in sati_scsi_common_fixed_sense_construct()
1025 U8 sense_key, in sati_scsi_common_descriptor_sense_construct() argument
[all …]
H A Dsati_util.h210 U8 sense_key,
220 U8 sense_key,
230 U8 sense_key,
240 U8 sense_key,
250 U8 sense_key,
H A Dsati_request_sense.c321 U8 sense_key, in sati_request_sense_data_response_construct() argument
334 sati_set_data_byte(sequence, scsi_io, 2, sense_key); in sati_request_sense_data_response_construct()
H A Dsati_request_sense.h81 U8 sense_key,
H A Dsati_passthrough.c171 U8 sense_key, in sati_passthrough_construct_sense() argument
204 sense_key, in sati_passthrough_construct_sense()
/freebsd/sys/cam/ctl/
H A Dctl_error.h51 int sense_key, int asc, int ascq, va_list ap);
54 int sense_key, int asc, int ascq, ...);
55 void ctl_set_sense(struct ctl_scsiio *ctsio, int current_error, int sense_key,
H A Dctl_error.c69 int sense_key, int asc, int ascq, va_list ap) in ctl_set_sense_data_va() argument
108 current_error, sense_key, asc, ascq, ap); in ctl_set_sense_data_va()
114 int sense_key, int asc, int ascq, ...) in ctl_set_sense_data() argument
120 current_error, sense_key, asc, ascq, ap); in ctl_set_sense_data()
125 ctl_set_sense(struct ctl_scsiio *ctsio, int current_error, int sense_key, in ctl_set_sense() argument
145 sense_key, in ctl_set_sense()
199 /*sense_key*/ sense_src->flags & SSD_KEY, in ctl_sense_to_desc()
346 /*sense_key*/ sense_src->sense_key & SSD_KEY, in ctl_sense_to_fixed()
383 /*sense_key*/ SSD_KEY_UNIT_ATTENTIO in ctl_set_ua()
[all...]
H A Dctl_tpc.c1514 int error_code, sense_key, asc, ascq; in tpc_checkcond_parse() local
1524 &sense_key, in tpc_checkcond_parse()
1537 switch (sense_key) { in tpc_checkcond_parse()
/freebsd/sys/cam/scsi/
H A Dscsi_all.c109 static void fetchtableentries(int sense_key, int asc, int ascq,
3347 int sense_key; in senseentrycomp() local
3350 sense_key = *((const int *)key); in senseentrycomp()
3353 if (sense_key >= table_entry->sense_key) { in senseentrycomp()
3354 if (sense_key == table_entry->sense_key) in senseentrycomp()
3362 fetchtableentries(int sense_key, int asc, int ascq, in fetchtableentries() argument
3430 found_entry = bsearch(&sense_key, sense_tables[i], in fetchtableentries()
3444 scsi_sense_desc(int sense_key, int asc, int ascq, in scsi_sense_desc() argument
3451 fetchtableentries(sense_key, asc, ascq, in scsi_sense_desc()
3482 int error_code, sense_key, asc, ascq; in scsi_error_action() local
[all …]
H A Dscsi_all.h3359 uint8_t sense_key; member
3634 uint8_t sense_key; member
3762 uint8_t sense_key; member
3817 void scsi_sense_desc(int sense_key, int asc, int ascq,
3833 int sense_key, int asc, int ascq, ...) ;
3836 int sense_key, int asc, int ascq, ...) ;
3839 int current_error, int sense_key, int asc, int ascq, va_list ap);
3856 int scsi_sks_sbuf(struct sbuf *sb, int sense_key, uint8_t *sks);
4392 int *sense_key, int *asc, int *ascq);
4393 int scsi_extract_sense_ccb(union ccb *ccb, int *error_code, int *sense_key,
[all …]
H A Dscsi_cd.c457 int error_code, sense_key, asc, ascq; in cdasync() local
468 &error_code, &sense_key, &asc, &ascq)) { in cdasync()
1240 int sense_key, error_code; in cddone() local
1263 &error_code, &sense_key, &asc, &ascq)) in cddone()
1280 scsi_sense_desc(sense_key, asc, ascq, in cddone()
2873 int error, error_code, sense_key, asc, ascq; in cderror() local
2889 &error_code, &sense_key, &asc, &ascq)) { in cderror()
2890 if (sense_key == SSD_KEY_ILLEGAL_REQUEST) in cderror()
2892 else if (sense_key == SSD_KEY_UNIT_ATTENTION && in cderror()
2895 else if (sense_key == SSD_KEY_NOT_READY && in cderror()
H A Dscsi_da.c2183 int error_code, sense_key, asc, ascq; in daasync() local
2194 &error_code, &sense_key, &asc, &ascq)) { in daasync()
4914 int sense_key, error_code; in dadone_proberc() local
4935 &error_code, &sense_key, &asc, &ascq)) in dadone_proberc()
4951 (sense_key == SSD_KEY_ILLEGAL_REQUEST)))) { in dadone_proberc()
4983 scsi_sense_desc(sense_key, asc, ascq, in dadone_proberc()
5980 int error, error_code, sense_key, asc, ascq; in daerror() local
6000 &error_code, &sense_key, &asc, &ascq)) { in daerror()
6001 if (sense_key == SSD_KEY_ILLEGAL_REQUEST) in daerror()
6007 else if (sense_key == SSD_KEY_UNIT_ATTENTION && in daerror()
[all …]
H A Dscsi_sa.c3678 int error_code, sense_key, asc, ascq, error, aqvalid, stream_valid; in saerror() local
3687 scsi_extract_sense_len(sense, sense_len, &error_code, &sense_key, in saerror()
3738 sense_key, asc, ascq, status, in saerror()
3764 || (aqvalid == 0 && sense_key == SSD_KEY_NO_SENSE)) { in saerror()
3795 if (sense_key == SSD_KEY_VOLUME_OVERFLOW) { in saerror()
3810 if (sense_key == SSD_KEY_BLANK_CHECK) { in saerror()
/freebsd/sys/powerpc/ps3/
H A Dps3cdrom.c143 u_int8_t *sense_key, u_int8_t *asc, u_int8_t *ascq);
472 u_int8_t *cdb, sense_key, asc, ascq; in ps3cdrom_intr() local
505 if (!ps3cdrom_decode_lv1_status(status, &sense_key, in ps3cdrom_intr()
509 sense_key, asc, ascq)); in ps3cdrom_intr()
514 sense_key, in ps3cdrom_intr()
679 ps3cdrom_decode_lv1_status(uint64_t status, u_int8_t *sense_key, u_int8_t *asc, in ps3cdrom_decode_lv1_status() argument
685 *sense_key = (status >> 16) & 0xff; in ps3cdrom_decode_lv1_status()
/freebsd/usr.sbin/bhyve/
H A Dpci_ahci.c150 uint8_t sense_key; member
1208 p->sense_key = ATA_SENSE_ILLEGAL_REQUEST; in atapi_inquiry()
1210 tfd = (p->sense_key << 12) | ATA_S_READY | ATA_S_ERROR; in atapi_inquiry()
1274 p->sense_key = ATA_SENSE_ILLEGAL_REQUEST; in atapi_read_toc()
1276 tfd = (p->sense_key << 12) | ATA_S_READY | ATA_S_ERROR; in atapi_read_toc()
1423 p->sense_key = ATA_SENSE_ILLEGAL_REQUEST; in atapi_read_toc()
1425 tfd = (p->sense_key << 12) | ATA_S_READY | ATA_S_ERROR; in atapi_read_toc()
1512 buf[2] = p->sense_key; in atapi_request_sense()
1536 p->sense_key = ATA_SENSE_ILLEGAL_REQUEST; in atapi_start_stop_unit()
1538 tfd = (p->sense_key << 12) | ATA_S_READY | ATA_S_ERROR; in atapi_start_stop_unit()
[all …]
/freebsd/sbin/camcontrol/
H A Depc.c435 int error_code, sense_key, asc, ascq; in epc_getmode()
438 &sense_key, &asc, &ascq); in epc_getmode()
445 if ((sense_key == SSD_KEY_RECOVERED_ERROR) in epc_getmode()
436 int error_code, sense_key, asc, ascq; epc_getmode() local
H A Dcamcontrol.c4147 int error_code, sense_key, asc, ascq; in readdefects()
4151 ccb->csio.sense_resid, &error_code, &sense_key, in readdefects()
4160 if ((sense_key == SSD_KEY_RECOVERED_ERROR) in readdefects()
4168 } else if ((sense_key == SSD_KEY_RECOVERED_ERROR) in readdefects()
4183 } else if ((sense_key == SSD_KEY_ILLEGAL_REQUEST) in readdefects()
4261 int error_code, sense_key, asc, ascq; in readdefects()
4265 ccb->csio.sense_resid, &error_code, &sense_key, &asc, in readdefects()
4276 if ((sense_key == SSD_KEY_RECOVERED_ERROR) in readdefects()
4491 int error_code, sense_key, asc, ascq;
4541 (scsi_extract_sense_ccb(ccb, &error_code, &sense_key, in mode_sense()
4157 int error_code, sense_key, asc, ascq; readdefects() local
4271 int error_code, sense_key, asc, ascq; readdefects() local
4501 int error_code, sense_key, asc, ascq; mode_sense() local
5727 int error_code = 0, sense_key = 0, asc = 0, ascq = 0; get_ata_status() local
6626 int error_code, sense_key, asc, ascq; scsiformat() local
6838 int error_code, sense_key, asc, ascq; sanitize_wait_scsi() local
7213 int error_code, sense_key, asc, ascq; sanitize() local
[all...]
/freebsd/sys/dev/isci/
H A Disci_io_request.c125 int error_code, sense_key, asc, ascq; in isci_io_request_complete() local
142 scsi_extract_sense( &csio->sense_data, &error_code, &sense_key, in isci_io_request_complete()
148 csio->scsi_status, sense_key, asc, ascq); in isci_io_request_complete()
/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_response.c126 *key = fixed->sense_key; in pqisrc_extract_sense_data()
135 *key = desc->sense_key; in pqisrc_extract_sense_data()
H A Dsmartpqi_structures.h469 uint8_t sense_key : 4; /* Byte 2, bit 0-3 (Key) */ member
507 uint8_t sense_key : 4; /* Byte 1, bit 0-3 (Key) */ member
922 uint8_t sense_key; member
/freebsd/sys/dev/mfi/
H A Dmfivar.h574 int *error_code, int *sense_key, int *asc, int *ascq) in mfi_extract_sense() argument
578 *sense_key = sense->flags & SSD_KEY; in mfi_extract_sense()
/freebsd/sys/dev/firewire/
H A Dsbp_targ.c697 int error_code, sense_key, asc, ascq; in sbp_targ_send_status() local
729 &sense_key, &asc, &ascq, /*show_errors*/ 0); in sbp_targ_send_status()
752 sbp_cmd_status->s_key = sense_key; in sbp_targ_send_status()
/freebsd/sys/cam/
H A Dcam_periph.c1377 int error = 0, error_code, sense_key, asc, ascq; in camperiphdone() local
1386 &error_code, &sense_key, &asc, &ascq)) { in camperiphdone()