/drivers/usb/storage/ |
H A D | debug.c | 164 unsigned char asc, 170 what = scsi_extd_sense_format(asc, ascq); 162 usb_stor_show_sense(const struct us_data *us, unsigned char key, unsigned char asc, unsigned char ascq) argument
|
/drivers/target/ |
H A D | target_core_ua.c | 85 u8 asc, 104 ua->ua_asc = asc; 115 if ((ua_p->ua_asc == asc) && (ua_p->ua_ascq == ascq)) { 141 if ((asc == 0x29) && (ascq > ua_p->ua_ascq)) 152 if ((asc == 0x29) || (ascq > ua_p->ua_asc)) 174 asc, ascq); 197 u8 *asc, 233 *asc = ua->ua_asc; 243 *asc = ua->ua_asc; 261 cmd->orig_fe_lun, cmd->t_task_cdb[0], *asc, *asc 82 core_scsi3_ua_allocate( struct se_node_acl *nacl, u32 unpacked_lun, u8 asc, u8 ascq) argument 195 core_scsi3_ua_for_check_condition( struct se_cmd *cmd, u8 *asc, u8 *ascq) argument 264 core_scsi3_ua_clear_for_request_sense( struct se_cmd *cmd, u8 *asc, u8 *ascq) argument [all...] |
H A D | target_core_transport.c | 2570 u8 *asc, 2573 *asc = cmd->scsi_asc; 2598 u8 asc = 0, ascq = 0; local 2762 core_scsi3_ua_for_check_condition(cmd, &asc, &ascq); 2763 buffer[SPC_ASC_KEY_OFFSET] = asc; 2772 transport_get_sense_codes(cmd, &asc, &ascq); 2773 buffer[SPC_ASC_KEY_OFFSET] = asc; 2568 transport_get_sense_codes( struct se_cmd *cmd, u8 *asc, u8 *ascq) argument
|
/drivers/ide/ |
H A D | ide-gd.h | 27 u8 sense_key, asc, ascq; member in struct:ide_disk_obj
|
H A D | ide-tape.c | 174 u8 sense_key, asc, ascq; member in struct:ide_tape_obj 276 tape->asc = sense[12]; 280 "cmd: 0x%x, sense key = %x, asc = %x, ascq = %x", 281 rq->cmd[0], tape->sense_key, tape->asc, tape->ascq); 289 * with sense key=5, asc=0x22, ascq=0, let it slide. Some drives 308 && tape->asc == 0x0 && tape->ascq == 0x2)) { 462 tape->sense_key == 2 && tape->asc == 4 && 466 "asc = %2x, ascq = %2x\n", 468 tape->sense_key, tape->asc, 693 if ((tape->sense_key == 2 && tape->asc [all...] |
/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_trigger_diag.c | 291 * @asc: 296 mpt3sas_trigger_scsi(struct MPT3SAS_ADAPTER *ioc, u8 sense_key, u8 asc, argument 322 "%s: enter - sense_key = 0x%02x, asc = 0x%02x, ascq = 0x%02x\n", 323 ioc->name, __func__, sense_key, asc, ascq)); 337 if (!(scsi_trigger->ASC == 0xFF || scsi_trigger->ASC == asc)) 355 event_data.u.scsi.ASC = asc;
|
H A D | mpt3sas_scsih.c | 152 * @asc: additional sense code 157 u8 asc; member in struct:sense_info 3661 * @data: normalized skey/asc/ascq 3671 data->asc = sense_buffer[2]; 3676 data->asc = sense_buffer[12]; 3874 "\t[sense_key,asc,ascq]: [0x%02x,0x%02x,0x%02x], count(%d)\n", 3876 data.asc, data.ascq, le32_to_cpu(mpi_reply->SenseCount)); 4139 if (data.asc == 0x5D) 4142 mpt3sas_trigger_scsi(ioc, data.skey, data.asc, data.ascq);
|
/drivers/ata/ |
H A D | libata-zpodd.c | 92 unsigned int ret, asc, ascq, add_len; local 110 /* has asc and ascq */ 114 asc = sense_buf[12]; 119 return asc == 0x3a; 122 return asc == 0x3a && ascq == 0x01;
|
H A D | libata-scsi.c | 272 static void ata_scsi_set_sense(struct scsi_cmnd *cmd, u8 sk, u8 asc, u8 ascq) argument 276 scsi_build_sense_buffer(0, cmd->sense_buffer, sk, asc, ascq); 550 sshdr.asc == 0 && sshdr.ascq == 0x1d) 636 sshdr.asc == 0 && sshdr.ascq == 0x1d) 832 * @asc: the additional sense code we'll fill out 844 u8 *asc, u8 *ascq, int verbose) 902 *asc = sense_table[i][2]; 917 *asc = stat_table[i][2]; 928 *asc = 0x00; 935 id, drv_stat, drv_err, *sk, *asc, *asc 843 ata_to_sense_error(unsigned id, u8 drv_stat, u8 drv_err, u8 *sk, u8 *asc, u8 *ascq, int verbose) argument [all...] |
/drivers/hid/ |
H A D | hid-apple.c | 183 struct apple_sc *asc = hid_get_drvdata(hid); local 187 asc->fn_on = !!value; 206 if (test_bit(usage->code, asc->pressed_fn)) 209 do_translate = (fnmode == 2 && asc->fn_on) || 210 (fnmode == 1 && !asc->fn_on); 212 do_translate = asc->fn_on; 216 set_bit(usage->code, asc->pressed_fn); 218 clear_bit(usage->code, asc->pressed_fn); 227 if (asc->quirks & APPLE_NUMLOCK_EMULATION && 228 (test_bit(usage->code, asc 273 struct apple_sc *asc = hid_get_drvdata(hdev); local 301 struct apple_sc *asc = hid_get_drvdata(hdev); local 352 struct apple_sc *asc = hid_get_drvdata(hdev); local 370 struct apple_sc *asc; local [all...] |
/drivers/scsi/ |
H A D | ps3rom.c | 267 unsigned char *asc, unsigned char *ascq) 273 *asc = (status >> 8) & 0xff; 286 unsigned char sense_key, asc, ascq; local 333 if (decode_lv1_status(status, &sense_key, &asc, &ascq)) { 338 scsi_build_sense_buffer(0, cmd->sense_buffer, sense_key, asc, ascq); 266 decode_lv1_status(u64 status, unsigned char *sense_key, unsigned char *asc, unsigned char *ascq) argument
|
H A D | ch.c | 126 unsigned char asc; member in struct:__anon5283 134 .asc = 0x21, 139 .asc = 0x28, 144 .asc = 0x3B, 149 .asc = 0x3B, 154 .asc = 0x20, 170 sshdr->asc != 0) { 173 ch_err[i].asc == sshdr->asc && 558 VPRINTK(KERN_INFO, "element 0x%x: asc [all...] |
H A D | constants.c | 480 * http://www.t10.org/lists/asc-num.txt [most recent: 20130605] 1352 scsi_extd_sense_format(unsigned char asc, unsigned char ascq) { argument 1355 unsigned short code = ((asc << 8) | ascq); 1361 if (additional2[i].code1 == asc && 1372 scsi_show_extd_sense(unsigned char asc, unsigned char ascq) argument 1374 const char *extd_sense_fmt = scsi_extd_sense_format(asc, ascq); 1383 if (asc >= 0x80) 1384 printk("<<vendor>> ASC=0x%x ASCQ=0x%x", asc, 1387 printk("ASC=0x%x <<vendor>> ASCQ=0x%x", asc, 1390 printk("ASC=0x%x ASCQ=0x%x", asc, asc [all...] |
H A D | scsi_error.c | 397 if (sshdr->asc == 0x3f && sshdr->ascq == 0x03) { 401 } else if (sshdr->asc == 0x3f && sshdr->ascq == 0x0e) { 409 } else if (sshdr->asc == 0x3f) 416 if (sshdr->asc == 0x38 && sshdr->ascq == 0x07) { 424 if (sshdr->asc == 0x2a && sshdr->ascq == 0x01) { 428 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x09) { 432 } else if (sshdr->asc == 0x2a) 512 if (sshdr.asc == 0x10) /* DIF */ 531 if (sshdr.asc != 0x28 || sshdr.ascq != 0x00) { 542 sshdr.asc 2569 scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq) argument [all...] |
H A D | virtio_scsi.c | 352 u8 asc = event->reason & 255; local 364 if (asc == 0x2a && (ascq == 0x00 || ascq == 0x01 || ascq == 0x09))
|
H A D | storvsc_drv.c | 1004 u8 asc, u8 ascq) 1039 if ((asc == 0x2a) && (ascq == 0x9)) { 1104 storvsc_handle_error(vm_srb, scmnd, host, sense_hdr.asc, 1001 storvsc_handle_error(struct vmscsi_request *vm_srb, struct scsi_cmnd *scmnd, struct Scsi_Host *host, u8 asc, u8 ascq) argument
|
H A D | osst.h | 99 u8 asc; /* Additional Sense Code */ member in struct:__anon5942
|
/drivers/scsi/lpfc/ |
H A D | lpfc_nl.h | 145 uint8_t asc; member in struct:lpfc_scsi_check_condition_event
|
/drivers/block/ |
H A D | cciss_scsi.c | 1619 unsigned char asc; local 1620 asc = c->err_info->SenseInfo[12]; 1622 if (asc == POWER_OR_RESET)
|
H A D | nvme-scsi.c | 451 u8 asc, u8 ascq) 472 resp[2] = asc; 486 u8 status, sense_key, asc, ascq; local 501 asc = SCSI_ASC_NO_SENSE; 507 asc = SCSI_ASC_ILLEGAL_COMMAND; 513 asc = SCSI_ASC_INVALID_CDB; 519 asc = SCSI_ASC_NO_SENSE; 525 asc = SCSI_ASC_WARNING; 531 asc = SCSI_ASC_INTERNAL_TARGET_FAILURE; 537 asc 450 nvme_trans_completion(struct sg_io_hdr *hdr, u8 status, u8 sense_key, u8 asc, u8 ascq) argument [all...] |
H A D | skd_main.c | 1993 pr_err("(%s): *** LOST_WRITE_DATA ERROR *** key/asc/" 2280 u8 asc; member in struct:sns_info 2318 * type and stat, ignore key, asc, ascq. 2327 pr_err("(%s): key/asc/ascq/fruc %02x/%02x/%02x/%02x\n", 2353 if (skerr->code != sns->asc) 2361 pr_err("(%s): SMART Alert: sense key/asc/ascq "
|
/drivers/staging/rts5208/ |
H A D | rtsx_scsi.c | 403 u8 sense_key, u32 info, u8 asc, u8 ascq, u8 sns_key_info0, 416 sense->asc = asc; 402 set_sense_data(struct rtsx_chip *chip, unsigned int lun, u8 err_code, u8 sense_key, u32 info, u8 asc, u8 ascq, u8 sns_key_info0, u16 sns_key_info1) argument
|
/drivers/message/fusion/ |
H A D | mptscsih.c | 441 u8 skey, asc, ascq; local 555 asc = sc->sense_buffer[12]; 558 printk(MYIOC_s_DEBUG_FMT "\t[sense_key,asc,ascq]: " 559 "[0x%02x,0x%02x,0x%02x]\n", ioc->name, skey, asc, ascq); 2444 /* Log SMART data (asc = 0x5D, non-IM case only) if required.
|
/drivers/scsi/mvsas/ |
H A D | mv_sas.c | 1714 int key, int asc, int ascq) 1722 "fit sense %x:%x:%x", len, key, asc, ascq); 1729 buffer[2] = asc; /* ASC */ 1735 "fit sense %x:%x:%x", len, key, asc, ascq); 1744 buffer[12] = asc; /* ASC */ 1753 u8 key, u8 asc, u8 asc_q) 1760 key, asc, asc_q); 1713 mvs_set_sense(u8 *buffer, int len, int d_sense, int key, int asc, int ascq) argument 1752 mvs_fill_ssp_resp_iu(struct ssp_response_iu *iu, u8 key, u8 asc, u8 asc_q) argument
|
/drivers/scsi/mpt2sas/ |
H A D | mpt2sas_scsih.c | 140 * @asc: additional sense code 145 u8 asc; member in struct:sense_info 4049 * @data: normalized skey/asc/ascq 4059 data->asc = sense_buffer[2]; 4064 data->asc = sense_buffer[12]; 4260 printk(MPT2SAS_WARN_FMT "\t[sense_key,asc,ascq]: " 4262 data.asc, data.ascq, le32_to_cpu(mpi_reply->SenseCount)); 4553 if (data.asc == 0x5D)
|