Searched refs:ascq (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-current/sys/cam/ctl/
H A Dctl_error.c69 int sense_key, int asc, int ascq, va_list ap)
83 if (asc == 0x29 || (asc == 0x2A && ascq == 0x01))
108 current_error, sense_key, asc, ascq, ap);
114 int sense_key, int asc, int ascq, ...)
118 va_start(ap, ascq);
120 current_error, sense_key, asc, ascq, ap);
126 int asc, int ascq, ...)
139 va_start(ap, ascq);
147 ascq,
201 /*ascq*/ sense_sr
67 ctl_set_sense_data_va(struct scsi_sense_data *sense_data, u_int *sense_len, void *lunptr, scsi_sense_data_type sense_format, int current_error, int sense_key, int asc, int ascq, va_list ap) argument
112 ctl_set_sense_data(struct scsi_sense_data *sense_data, u_int *sense_len, void *lunptr, scsi_sense_data_type sense_format, int current_error, int sense_key, int asc, int ascq, ...) argument
125 ctl_set_sense(struct ctl_scsiio *ctsio, int current_error, int sense_key, int asc, int ascq, ...) argument
379 ctl_set_ua(struct ctl_scsiio *ctsio, int asc, int ascq) argument
390 ctl_ua_to_ascq(struct ctl_lun *lun, ctl_ua_type ua_to_build, int *asc, int *ascq, ctl_ua_type *ua_to_clear, uint8_t **info) argument
500 int asc, ascq; local
536 int asc, ascq; local
[all...]
H A Dctl_error.h51 int sense_key, int asc, int ascq, va_list ap);
54 int sense_key, int asc, int ascq, ...);
56 int asc, int ascq, ...);
61 void ctl_set_ua(struct ctl_scsiio *ctsio, int asc, int ascq);
H A Dctl_tpc.c807 /*asc*/ 0x0d, /*ascq*/ 0x01,
857 /*asc*/ 0x08, /*ascq*/ 0x04,
888 /*asc*/ 0x26, /*ascq*/ 0x0A,
1005 /*asc*/ 0x08, /*ascq*/ 0x04,
1069 /*asc*/ 0x08, /*ascq*/ 0x04,
1454 /*asc*/ 0x26, /*ascq*/ 0x09,
1514 int error_code, sense_key, asc, ascq; local
1526 &ascq,
1546 if ((asc == 0x44) && (ascq == 0x00))
1554 if ((asc == 0x04) && (ascq
[all...]
/freebsd-current/sys/dev/smartpqi/
H A Dsmartpqi_response.c119 pqisrc_extract_sense_data(sense_data_u_t *sense_data, uint8_t *key, uint8_t *asc, uint8_t *ascq) argument
128 *ascq = fixed->sense_qual;
137 *ascq = desc->sense_qual;
143 *ascq = 0xFF;
169 uint8_t key, asc, ascq; local
170 pqisrc_extract_sense_data(sense_data, &key, &asc, &ascq);
174 opcode, path, key, asc, ascq);
245 uint8_t key, asc, ascq; local
255 pqisrc_extract_sense_data(&aio_err->sense_data, &key, &asc, &ascq);
H A Dsmartpqi_structures.h924 uint8_t ascq; member in struct:sense_header_scsi
/freebsd-current/share/examples/scsi_target/
H A Dscsi_target.h110 u_int8_t asc, u_int8_t ascq);
H A Dscsi_cmds.c238 u_int8_t asc, u_int8_t ascq)
253 sense->add_sense_code_qual = ascq;
792 /*asc*/0x24, /*ascq*/0);
237 tcmd_sense(u_int init_id, struct ccb_scsiio *ctio, u_int8_t flags, u_int8_t asc, u_int8_t ascq) argument
/freebsd-current/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; local
506 &asc, &ascq)) {
508 ("sense key 0x%02x asc 0x%02x ascq 0x%02x\n",
509 sense_key, asc, ascq));
516 ascq,
661 /*ascq*/ 0x00,
680 u_int8_t *ascq)
687 *ascq = status & 0xff;
679 ps3cdrom_decode_lv1_status(uint64_t status, u_int8_t *sense_key, u_int8_t *asc, u_int8_t *ascq) argument
/freebsd-current/sys/cam/scsi/
H A Dscsi_all.c109 static void fetchtableentries(int sense_key, int asc, int ascq,
715 #define SST(asc, ascq, action, desc) \
716 asc, ascq, action, desc
720 #define SST(asc, ascq, action, desc) \
721 asc, ascq, action, empty_string
3313 int ascq; member in struct:asc_key
3320 int ascq; local
3324 ascq = ((const struct asc_key *)key)->ascq;
3331 if (ascq <
3362 fetchtableentries(int sense_key, int asc, int ascq, struct scsi_inquiry_data *inq_data, const struct sense_key_table_entry **sense_entry, const struct asc_table_entry **asc_entry) argument
3444 scsi_sense_desc(int sense_key, int asc, int ascq, struct scsi_inquiry_data *inq_data, const char **sense_key_desc, const char **asc_desc) argument
3482 int error_code, sense_key, asc, ascq; local
3846 scsi_set_sense_data_desc_va(struct scsi_sense_data *sense_data, u_int *sense_len, scsi_sense_data_type sense_format, int current_error, int sense_key, int asc, int ascq, va_list ap) argument
3994 scsi_set_sense_data_fixed_va(struct scsi_sense_data *sense_data, u_int *sense_len, scsi_sense_data_type sense_format, int current_error, int sense_key, int asc, int ascq, va_list ap) argument
4098 scsi_set_sense_data_va(struct scsi_sense_data *sense_data, u_int *sense_len, scsi_sense_data_type sense_format, int current_error, int sense_key, int asc, int ascq, va_list ap) argument
4114 scsi_set_sense_data(struct scsi_sense_data *sense_data, scsi_sense_data_type sense_format, int current_error, int sense_key, int asc, int ascq, ...) argument
4128 scsi_set_sense_data_len(struct scsi_sense_data *sense_data, u_int *sense_len, scsi_sense_data_type sense_format, int current_error, int sense_key, int asc, int ascq, ...) argument
4634 int error_code, sense_key, asc, ascq; local
4777 int error_code, sense_key, asc, ascq; local
4946 int error_code, sense_key, asc, ascq; local
5286 scsi_extract_sense(struct scsi_sense_data *sense_data, int *error_code, int *sense_key, int *asc, int *ascq) argument
5297 scsi_extract_sense_ccb(union ccb *ccb, int *error_code, int *sense_key, int *asc, int *ascq) argument
5328 scsi_extract_sense_len(struct scsi_sense_data *sense_data, u_int sense_len, int *error_code, int *sense_key, int *asc, int *ascq, int show_errors) argument
5407 int error_code, sense_key, asc, ascq; local
5419 int error_code, sense_key, asc, ascq; local
5431 int error_code, sense_key, asc, ascq; local
[all...]
H A Dscsi_da.c2178 int error_code, sense_key, asc, ascq; local
2189 &error_code, &sense_key, &asc, &ascq)) {
2190 if (asc == 0x2A && ascq == 0x09) {
2196 } else if (asc == 0x28 && ascq == 0x00) {
2200 } else if (asc == 0x3F && ascq == 0x03) {
4904 int asc, ascq; local
4926 &error_code, &sense_key, &asc, &ascq))
4971 scsi_sense_desc(sense_key, asc, ascq,
5968 int error, error_code, sense_key, asc, ascq; local
5988 &error_code, &sense_key, &asc, &ascq)) {
[all...]
H A Dscsi_cd.c457 int error_code, sense_key, asc, ascq; local
468 &error_code, &sense_key, &asc, &ascq)) {
469 if (asc == 0x28 && ascq == 0x00)
1239 int asc, ascq; local
1263 &error_code, &sense_key, &asc, &ascq))
1280 scsi_sense_desc(sense_key, asc, ascq,
2873 int error, error_code, sense_key, asc, ascq; local
2889 &error_code, &sense_key, &asc, &ascq)) {
2893 asc == 0x28 && ascq == 0x00)
H A Dscsi_all.h3769 uint8_t ascq; member in struct:asc_table_entry
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);
4392 int *sense_key, int *asc, int *ascq);
4394 int *asc, int *ascq);
4397 int *asc, int *ascq, int show_errors);
H A Dscsi_sa.c3678 int error_code, sense_key, asc, ascq, error, aqvalid, stream_valid; local
3688 &asc, &ascq, /*show_errors*/ 1);
3689 if (asc != -1 && ascq != -1)
3738 sense_key, asc, ascq, status,
3762 if ((aqvalid && asc == 0 && ((ascq > 0 && ascq <= 5)
3763 || (ascq == 0x07)))
/freebsd-current/sys/dev/mfi/
H A Dmfivar.h574 int *error_code, int *sense_key, int *asc, int *ascq)
580 *ascq = (sense->extra_len >= 6) ? sense->add_sense_code_qual : 0;
586 int error, key, asc, ascq; local
589 &error, &key, &asc, &ascq);
591 "asc %d, ascq %d\n", error, key, asc, ascq);
573 mfi_extract_sense(struct scsi_sense_data_fixed *sense, int *error_code, int *sense_key, int *asc, int *ascq) argument
/freebsd-current/sys/dev/mpr/
H A Dmpr_sas.c2228 int skey, asc, ascq; local
2239 ascq = SCSI_ASCQ_CAUSE_NOT_REPORTABLE;
2248 ascq = SCSI_ASCQ_CAUSE_NOT_REPORTABLE;
2254 ascq = SCSI_ASCQ_CAUSE_NOT_REPORTABLE;
2260 ascq = SCSI_ASCQ_CAUSE_NOT_REPORTABLE;
2266 ascq = SCSI_ASCQ_CAUSE_NOT_REPORTABLE;
2272 ascq = SCSI_ASCQ_POWER_LOSS_EXPECTED;
2278 ascq = SCSI_ASCQ_CAUSE_NOT_REPORTABLE;
2287 ascq = SCSI_ASCQ_CAUSE_NOT_REPORTABLE;
2293 ascq
[all...]
/freebsd-current/sys/dev/isci/
H A Disci_io_request.c125 int error_code, sense_key, asc, ascq; local
143 &asc, &ascq );
145 "isci: bus=%x target=%x lun=%x cdb[0]=%x status=%x key=%x asc=%x ascq=%x\n",
148 csio->scsi_status, sense_key, asc, ascq);
/freebsd-current/sbin/camcontrol/
H A Depc.c435 int error_code, sense_key, asc, ascq; local
438 &sense_key, &asc, &ascq);
447 && (ascq == 0x1d)) {
H A Dcamcontrol.c4146 int error_code, sense_key, asc, ascq; local
4151 &asc, &ascq, /*show_errors*/ 1);
4160 && (asc == 0x1c) && (ascq == 0x00)
4168 && (asc == 0x1f) && (ascq == 0x00)
4183 && (asc == 0x24) && (ascq == 0x00)) {
4260 int error_code, sense_key, asc, ascq; local
4265 &ascq, /*show_errors*/ 1);
4490 int error_code, sense_key, asc, ascq; local
4540 (scsi_extract_sense_ccb(ccb, &error_code, &sense_key, &asc, &ascq)
5728 int error_code = 0, sense_key = 0, asc = 0, ascq local
6627 int error_code, sense_key, asc, ascq; local
6839 int error_code, sense_key, asc, ascq; local
7214 int error_code, sense_key, asc, ascq; local
[all...]
/freebsd-current/tools/tools/vhba/
H A Dvhba.c154 vhba_fill_sense(struct ccb_scsiio *csio, uint8_t key, uint8_t asc, uint8_t ascq) argument
162 csio->sense_data.add_sense_code_qual = ascq;
/freebsd-current/contrib/netbsd-tests/dev/scsipi/libscsitest/
H A Dscsitest.c92 sense->ascq = 0x00;
/freebsd-current/sys/cam/
H A Dcam_periph.c1391 int error = 0, error_code, sense_key, asc, ascq; local
1400 &error_code, &sense_key, &asc, &ascq)) {
1412 (asc == 0x24) && (ascq == 0x00)) {
2134 int serr, sk, asc, ascq; local
2168 if (scsi_extract_sense_ccb(ccb, &serr, &sk, &asc, &ascq))
2170 serr, sk, asc, ascq);
/freebsd-current/sys/dev/aacraid/
H A Daacraid_cam.c109 u_int8_t status, u_int8_t key, u_int8_t asc, u_int8_t ascq);
141 u_int8_t key, u_int8_t asc, u_int8_t ascq)
159 sense->add_sense_code_qual = ascq;
140 aac_set_scsi_error(struct aac_softc *sc, union ccb *ccb, u_int8_t status, u_int8_t key, u_int8_t asc, u_int8_t ascq) argument
/freebsd-current/sys/dev/usb/storage/
H A Dumass.c289 uint8_t ascq; member in struct:__anon4736::__anon4738
2002 sc->sbl.ufi.ascq);
2005 (sc->sbl.ufi.ascq == 0)) ?
2251 /*ascq*/ 0x00,
/freebsd-current/sys/dev/firewire/
H A Dsbp_targ.c697 int error_code, sense_key, asc, ascq; local
729 &sense_key, &asc, &ascq, /*show_errors*/ 0);
782 sbp_cmd_status->s_qlfr = ascq;
/freebsd-current/sys/sys/
H A Data.h630 u_int8_t ascq; /* additional sense code qual */ member in struct:atapi_sense

Completed in 516 milliseconds

12