/linux-4.4.14/drivers/target/ |
H A D | target_core_ua.c | 90 u8 asc, core_scsi3_ua_allocate() 102 ua->ua_asc = asc; core_scsi3_ua_allocate() 110 if ((ua_p->ua_asc == asc) && (ua_p->ua_ascq == ascq)) { core_scsi3_ua_allocate() 135 if ((asc == 0x29) && (ascq > ua_p->ua_ascq)) core_scsi3_ua_allocate() 146 if ((asc == 0x29) || (ascq > ua_p->ua_asc)) core_scsi3_ua_allocate() 165 asc, ascq); core_scsi3_ua_allocate() 172 u32 unpacked_lun, u8 asc, u8 ascq) target_ua_allocate_lun() 186 core_scsi3_ua_allocate(deve, asc, ascq); target_ua_allocate_lun() 207 u8 *asc, core_scsi3_ua_for_check_condition() 247 *asc = ua->ua_asc; core_scsi3_ua_for_check_condition() 257 *asc = ua->ua_asc; core_scsi3_ua_for_check_condition() 275 cmd->orig_fe_lun, cmd->t_task_cdb[0], *asc, *ascq); core_scsi3_ua_for_check_condition() 280 u8 *asc, core_scsi3_ua_clear_for_request_sense() 319 *asc = ua->ua_asc; core_scsi3_ua_clear_for_request_sense() 334 cmd->orig_fe_lun, *asc, *ascq); core_scsi3_ua_clear_for_request_sense() 88 core_scsi3_ua_allocate( struct se_dev_entry *deve, u8 asc, u8 ascq) core_scsi3_ua_allocate() argument 171 target_ua_allocate_lun(struct se_node_acl *nacl, u32 unpacked_lun, u8 asc, u8 ascq) target_ua_allocate_lun() argument 205 core_scsi3_ua_for_check_condition( struct se_cmd *cmd, u8 *asc, u8 *ascq) core_scsi3_ua_for_check_condition() argument 278 core_scsi3_ua_clear_for_request_sense( struct se_cmd *cmd, u8 *asc, u8 *ascq) core_scsi3_ua_clear_for_request_sense() argument
|
H A D | target_core_transport.c | 2729 u8 asc; member in struct:sense_info 2740 .asc = 0x25 /* LOGICAL UNIT NOT SUPPORTED */ 2744 .asc = 0x20, /* INVALID COMMAND OPERATION CODE */ 2748 .asc = 0x20, /* INVALID COMMAND OPERATION CODE */ 2752 .asc = 0x24, /* INVALID FIELD IN CDB */ 2756 .asc = 0x29, /* BUS DEVICE RESET FUNCTION OCCURRED */ 2761 .asc = 0x0c, /* WRITE ERROR */ 2766 .asc = 0x24, /* INVALID FIELD IN CDB */ 2770 .asc = 0x26, /* INVALID FIELD IN PARAMETER LIST */ 2774 .asc = 0x1a, /* PARAMETER LIST LENGTH ERROR */ 2778 .asc = 0x0c, /* WRITE ERROR */ 2783 .asc = 0x47, /* PROTOCOL SERVICE CRC ERROR */ 2788 .asc = 0x11, /* READ ERROR */ 2793 .asc = 0x27, /* WRITE PROTECTED */ 2797 .asc = 0x21, /* LOGICAL BLOCK ADDRESS OUT OF RANGE */ 2807 .asc = 0x1d, /* MISCOMPARE DURING VERIFY OPERATION */ 2812 .asc = 0x10, 2818 .asc = 0x10, 2824 .asc = 0x10, 2836 .asc = 0x08, /* LOGICAL UNIT COMMUNICATION FAILURE */ 2845 u8 asc, ascq; translate_sense_reason() local 2855 core_scsi3_ua_for_check_condition(cmd, &asc, &ascq); translate_sense_reason() 2856 WARN_ON_ONCE(asc == 0); translate_sense_reason() 2857 } else if (si->asc == 0) { translate_sense_reason() 2859 asc = cmd->scsi_asc; translate_sense_reason() 2862 asc = si->asc; translate_sense_reason() 2866 scsi_build_sense_buffer(desc_format, buffer, si->key, asc, ascq); translate_sense_reason()
|
/linux-4.4.14/drivers/hid/ |
H A D | hid-apple.c | 183 struct apple_sc *asc = hid_get_drvdata(hid); hidinput_apple_event() local 187 asc->fn_on = !!value; hidinput_apple_event() 206 if (test_bit(usage->code, asc->pressed_fn)) hidinput_apple_event() 209 do_translate = (fnmode == 2 && asc->fn_on) || hidinput_apple_event() 210 (fnmode == 1 && !asc->fn_on); hidinput_apple_event() 212 do_translate = asc->fn_on; hidinput_apple_event() 216 set_bit(usage->code, asc->pressed_fn); hidinput_apple_event() 218 clear_bit(usage->code, asc->pressed_fn); hidinput_apple_event() 227 if (asc->quirks & APPLE_NUMLOCK_EMULATION && hidinput_apple_event() 228 (test_bit(usage->code, asc->pressed_numlock) || hidinput_apple_event() 236 asc->pressed_numlock); hidinput_apple_event() 239 asc->pressed_numlock); hidinput_apple_event() 250 if (asc->quirks & APPLE_ISO_KEYBOARD) { hidinput_apple_event() 273 struct apple_sc *asc = hid_get_drvdata(hdev); apple_event() local 279 if ((asc->quirks & APPLE_INVERT_HWHEEL) && apple_event() 286 if ((asc->quirks & APPLE_HAS_FN) && apple_event() 301 struct apple_sc *asc = hid_get_drvdata(hdev); apple_report_fixup() local 303 if ((asc->quirks & APPLE_RDESC_JIS) && *rsize >= 60 && apple_report_fixup() 352 struct apple_sc *asc = hid_get_drvdata(hdev); apple_input_mapped() local 354 if (asc->quirks & APPLE_MIGHTYMOUSE) { apple_input_mapped() 370 struct apple_sc *asc; apple_probe() local 374 asc = devm_kzalloc(&hdev->dev, sizeof(*asc), GFP_KERNEL); apple_probe() 375 if (asc == NULL) { apple_probe() 380 asc->quirks = quirks; apple_probe() 382 hid_set_drvdata(hdev, asc); apple_probe()
|
/linux-4.4.14/drivers/ide/ |
H A D | ide-gd.h | 27 u8 sense_key, asc, ascq; member in struct:ide_disk_obj
|
H A D | ide-cd_verbose.c | 23 (sense->sense_key == NOT_READY && (sense->asc == 4 || ide_cd_log_error() 24 sense->asc == 0x3a))) ide_cd_log_error() 28 "asc: 0x%02x ascq: 0x%02x\n", ide_cd_log_error() 30 sense->asc, sense->ascq); ide_cd_log_error() 275 if (sense->asc == 0x40) { ide_cd_log_error() 283 key |= (sense->asc << 8); ide_cd_log_error() 302 if (sense->asc > 0x80) ide_cd_log_error() 308 printk(KERN_ERR " %s -- (asc=0x%02x, ascq=0x%02x)\n", ide_cd_log_error() 309 s, sense->asc, sense->ascq); ide_cd_log_error()
|
H A D | ide-cd_ioctl.c | 64 if (sense.sense_key == NOT_READY && sense.asc == 0x04 ide_cdrom_drive_status() 74 if (sense.asc == 0x3a && sense.ascq == 1) ide_cdrom_drive_status() 164 (sense->asc == 0x24 || sense->asc == 0x20)) { ide_cd_lockdoor() 172 if (stat != 0 && sense->sense_key == NOT_READY && sense->asc == 0x3a) ide_cd_lockdoor()
|
H A D | ide-floppy.c | 83 floppy->asc = buf[12]; ide_floppy_callback() 92 ide_debug_log(IDE_DBG_SENSE, "sense key = %x, asc = %x," ide_floppy_callback() 94 floppy->asc, floppy->ascq); ide_floppy_callback() 111 floppy->asc == 0x3a && ide_floppy_report_error() 116 "asc = %2x, ascq = %2x\n", ide_floppy_report_error() 118 floppy->asc, floppy->ascq); ide_floppy_report_error()
|
H A D | ide-tape.c | 174 u8 sense_key, asc, ascq; member in struct:ide_tape_obj 276 tape->asc = sense[12]; idetape_analyze_error() 280 "cmd: 0x%x, sense key = %x, asc = %x, ascq = %x", idetape_analyze_error() 281 rq->cmd[0], tape->sense_key, tape->asc, tape->ascq); idetape_analyze_error() 289 * with sense key=5, asc=0x22, ascq=0, let it slide. Some drives idetape_analyze_error() 308 && tape->asc == 0x0 && tape->ascq == 0x2)) { idetape_analyze_error() 462 tape->sense_key == 2 && tape->asc == 4 && ide_tape_issue_pc() 466 "asc = %2x, ascq = %2x\n", ide_tape_issue_pc() 468 tape->sense_key, tape->asc, ide_tape_issue_pc() 693 if ((tape->sense_key == 2 && tape->asc == 4 && tape->ascq == 2) idetape_wait_ready() 694 || (tape->asc == 0x3A)) { idetape_wait_ready() 701 } else if (!(tape->sense_key == 2 && tape->asc == 4 && idetape_wait_ready()
|
H A D | ide-floppy_ioctl.c | 212 floppy->asc == 4 && ide_floppy_get_format_progress()
|
H A D | ide-cd.c | 115 if (sense->asc == 0x3a || sense->asc == 0x04) cdrom_log_sense() 124 if (rq->cmd[0] == GPCMD_START_STOP_UNIT && sense->asc == 0x24) cdrom_log_sense() 167 if (sense->sense_key == 0x05 && sense->asc == 0x24) cdrom_analyze_sense_data() 482 reqbuf->asc == 4 && reqbuf->ascq != 4) { ide_cd_queue_pc()
|
/linux-4.4.14/include/scsi/ |
H A D | scsi_common.h | 45 u8 asc; member in struct:scsi_sense_hdr 64 extern void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq);
|
H A D | scsi_dbg.h | 66 scsi_extd_sense_format(unsigned char asc, unsigned char ascq, const char **fmt) scsi_extd_sense_format() argument
|
/linux-4.4.14/drivers/scsi/ |
H A D | scsi_common.c | 129 * asc, ascq and additional_length (only for descriptor format). 157 sshdr->asc = sense_buffer[2]; scsi_normalize_sense() 172 sshdr->asc = sense_buffer[12]; scsi_normalize_sense() 227 * @asc: Additional sense code 231 void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq) scsi_build_sense_buffer() argument 236 buf[2] = asc; scsi_build_sense_buffer() 243 buf[12] = asc; scsi_build_sense_buffer()
|
H A D | ch.c | 125 unsigned char asc; member in struct:__anon9282 133 .asc = 0x21, 138 .asc = 0x28, 143 .asc = 0x3B, 148 .asc = 0x3B, 153 .asc = 0x20, 169 sshdr->asc != 0) { ch_find_errno() 172 ch_err[i].asc == sshdr->asc && ch_find_errno() 552 VPRINTK(KERN_INFO, "element 0x%x: asc=0x%x, ascq=0x%x\n", ch_gstatus()
|
H A D | ps3rom.c | 263 unsigned char *asc, unsigned char *ascq) decode_lv1_status() 269 *asc = (status >> 8) & 0xff; decode_lv1_status() 282 unsigned char sense_key, asc, ascq; ps3rom_interrupt() local 329 if (decode_lv1_status(status, &sense_key, &asc, &ascq)) { ps3rom_interrupt() 334 scsi_build_sense_buffer(0, cmd->sense_buffer, sense_key, asc, ascq); ps3rom_interrupt() 262 decode_lv1_status(u64 status, unsigned char *sense_key, unsigned char *asc, unsigned char *ascq) decode_lv1_status() argument
|
H A D | scsi_logging.c | 288 unsigned char asc, unsigned char ascq) scsi_format_extd_sense() 292 const char *extd_sense_str = scsi_extd_sense_format(asc, ascq, scsi_format_extd_sense() 302 if (asc >= 0x80) scsi_format_extd_sense() 305 "ASC=0x%x ", asc); scsi_format_extd_sense() 384 sshdr->asc, sshdr->ascq); scsi_log_print_sense_hdr() 287 scsi_format_extd_sense(char *buffer, size_t buf_len, unsigned char asc, unsigned char ascq) scsi_format_extd_sense() argument
|
H A D | sr_ioctl.c | 228 if (sshdr.asc == 0x04 && sr_do_ioctl() 252 if (sshdr.asc == 0x20 && sr_do_ioctl() 309 && sshdr.asc == 0x04 && sshdr.ascq == 0x01) sr_drive_status() 327 && sshdr.asc == 0x04 && sshdr.ascq == 0x02) sr_drive_status() 333 if (sshdr.sense_key == NOT_READY && sshdr.asc == 0x04) sr_drive_status() 343 sshdr.asc == 0x3a) sr_drive_status()
|
H A D | scsi_error.c | 394 if (sshdr->asc == 0x3f && sshdr->ascq == 0x03) { scsi_report_sense() 398 } else if (sshdr->asc == 0x3f && sshdr->ascq == 0x0e) { scsi_report_sense() 406 } else if (sshdr->asc == 0x3f) scsi_report_sense() 413 if (sshdr->asc == 0x38 && sshdr->ascq == 0x07) { scsi_report_sense() 421 if (sshdr->asc == 0x2a && sshdr->ascq == 0x01) { scsi_report_sense() 425 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x06) { scsi_report_sense() 429 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x09) { scsi_report_sense() 433 } else if (sshdr->asc == 0x2a) scsi_report_sense() 512 if (sshdr.asc == 0x10) /* DIF */ scsi_check_sense() 531 if (sshdr.asc != 0x28 || sshdr.ascq != 0x00) { scsi_check_sense() 542 sshdr.asc == 0x3f && sshdr.ascq == 0x0e) scsi_check_sense() 548 if ((sshdr.asc == 0x04) && (sshdr.ascq == 0x01)) scsi_check_sense() 555 (sshdr.asc == 0x04) && (sshdr.ascq == 0x02)) scsi_check_sense() 565 if (sshdr.asc == 0x27 && sshdr.ascq == 0x07) { scsi_check_sense() 578 if (sshdr.asc == 0x11 || /* UNRECOVERED READ ERR */ scsi_check_sense() 579 sshdr.asc == 0x13 || /* AMNF DATA FIELD */ scsi_check_sense() 580 sshdr.asc == 0x14) { /* RECORD NOT FOUND */ scsi_check_sense() 593 if (sshdr.asc == 0x20 || /* Invalid command operation code */ scsi_check_sense() 594 sshdr.asc == 0x21 || /* Logical block address out of range */ scsi_check_sense() 595 sshdr.asc == 0x24 || /* Invalid field in cdb */ scsi_check_sense() 596 sshdr.asc == 0x26) { /* Parameter value invalid */ scsi_check_sense()
|
H A D | scsi_ioctl.c | 113 "asc=0x%x ascq=0x%x\n", ioctl_internal_command() 114 sshdr.asc, sshdr.ascq); ioctl_internal_command()
|
H A D | sd.c | 1382 if (sshdr->asc == 0x3A) { media_not_present() 1498 (sshdr.asc == 0x3a || /* medium not present */ sd_sync_cache() 1499 sshdr.asc == 0x20)) /* invalid command */ sd_sync_cache() 1810 if (sshdr.asc == 0x10) /* DIF: Target detected corruption */ sd_done() 1814 if (sshdr.asc == 0x10) /* DIX: Host detected corruption */ sd_done() 1817 if (sshdr.asc == 0x20 || sshdr.asc == 0x24) { sd_done() 1913 if (sshdr.asc == 4 && sshdr.ascq == 3) sd_spinup_disk() 1915 if (sshdr.asc == 4 && sshdr.ascq == 0xb) sd_spinup_disk() 1917 if (sshdr.asc == 4 && sshdr.ascq == 0xc) sd_spinup_disk() 1948 sshdr.asc == 0x28) { sd_spinup_disk() 2082 (sshdr.asc == 0x20 || sshdr.asc == 0x24) && read_capacity_16() 2090 sshdr.asc == 0x29 && sshdr.ascq == 0x00) read_capacity_16() 2172 sshdr.asc == 0x29 && sshdr.ascq == 0x00) read_capacity_10() 2573 sshdr.asc == 0x24 && sshdr.ascq == 0x0) sd_read_cache_type() 3217 sshdr.asc == 0x3a) sd_start_stop_device()
|
H A D | scsi_lib.c | 903 if ((sshdr.asc == 0x0) && (sshdr.ascq == 0x1d)) scsi_io_completion() 973 sshdr.asc == 0x20 && sshdr.ascq == 0x00) && scsi_io_completion() 979 } else if (sshdr.asc == 0x10) /* DIX */ { scsi_io_completion() 983 } else if (sshdr.asc == 0x20 || sshdr.asc == 0x24) { scsi_io_completion() 991 if (sshdr.asc == 0x10) /* DIF */ scsi_io_completion() 998 if (sshdr.asc == 0x04) { scsi_io_completion() 2474 (sshdr->asc == 0x20) && (sshdr->ascq == 0)) { scsi_mode_sense()
|
H A D | hpsa.c | 319 /* extract sense key, asc, and ascq from sense data. -1 means invalid. */ decode_sense_data() 321 u8 *sense_key, u8 *asc, u8 *ascq) decode_sense_data() 327 *asc = -1; decode_sense_data() 336 *asc = sshdr.asc; decode_sense_data() 344 u8 sense_key, asc, ascq; check_for_unit_attention() local 353 &sense_key, &asc, &ascq); check_for_unit_attention() 354 if (sense_key != UNIT_ATTENTION || asc == 0xff) check_for_unit_attention() 357 switch (asc) { check_for_unit_attention() 2384 u8 asc; /* additional sense code */ complete_scsi_command() local 2473 &sense_key, &asc, &ascq); complete_scsi_command() 2489 sense_key, asc, ascq, complete_scsi_command() 2720 u8 sense_key, asc, ascq; hpsa_scsi_interpret_error() local 2730 &sense_key, &asc, &ascq); hpsa_scsi_interpret_error() 2734 sense_key, asc, ascq); hpsa_scsi_interpret_error() 3474 u8 sense_key, asc, ascq; hpsa_volume_offline() local 3496 decode_sense_data(sense, sense_len, &sense_key, &asc, &ascq); hpsa_volume_offline() 3504 asc != ASC_LUN_NOT_READY) { hpsa_volume_offline() 320 decode_sense_data(const u8 *sense_data, int sense_data_len, u8 *sense_key, u8 *asc, u8 *ascq) decode_sense_data() argument
|
H A D | scsi_debug.c | 718 int sl, asc; mk_sense_invalid_fld() local 726 asc = c_d ? INVALID_FIELD_IN_CDB : INVALID_FIELD_IN_PARAM_LIST; mk_sense_invalid_fld() 729 asc, 0); mk_sense_invalid_fld() 748 sdev_printk(KERN_INFO, scp->device, "%s: [sense_key,asc,ascq" mk_sense_invalid_fld() 750 my_name, asc, c_d ? 'C' : 'D', in_byte, in_bit); mk_sense_invalid_fld() 753 static void mk_sense_buffer(struct scsi_cmnd *scp, int key, int asc, int asq) mk_sense_buffer() argument 765 scsi_build_sense_buffer(scsi_debug_dsense, sbuff, key, asc, asq); mk_sense_buffer() 769 "%s: [sense_key,asc,ascq]: [0x%x,0x%x,0x%x]\n", mk_sense_buffer() 770 my_name, key, asc, asq); mk_sense_buffer() 1471 arr[2] = sbuff[12]; /* asc */ resp_requests()
|
H A D | storvsc_drv.c | 858 u8 asc, u8 ascq) storvsc_handle_error() 894 (asc == 0x2a) && (ascq == 0x9)) { storvsc_handle_error() 951 storvsc_handle_error(vm_srb, scmnd, host, sense_hdr.asc, storvsc_command_completion() 855 storvsc_handle_error(struct vmscsi_request *vm_srb, struct scsi_cmnd *scmnd, struct Scsi_Host *host, u8 asc, u8 ascq) storvsc_handle_error() argument
|
H A D | scsi_scan.c | 604 * not-ready to ready transition [asc/ascq=0x28/0x0] scsi_probe_lun() 605 * or power-on, reset [asc/ascq=0x29/0x0], continue. scsi_probe_lun() 612 ((sshdr.asc == 0x28) || scsi_probe_lun() 613 (sshdr.asc == 0x29)) && scsi_probe_lun()
|
H A D | constants.c | 300 * http://www.t10.org/lists/asc-num.txt [most recent: 20141221] 1196 scsi_extd_sense_format(unsigned char asc, unsigned char ascq, const char **fmt) scsi_extd_sense_format() argument 1199 unsigned short code = ((asc << 8) | ascq); scsi_extd_sense_format() 1206 if (additional2[i].code1 == asc && scsi_extd_sense_format()
|
H A D | scsi.c | 891 (sshdr.asc == 0x20 || sshdr.asc == 0x24) && sshdr.ascq == 0x00) scsi_report_opcode()
|
H A D | virtio_scsi.c | 355 u8 asc = virtio32_to_cpu(vscsi->vdev, event->reason) & 255; virtscsi_handle_param_change() local 367 if (asc == 0x2a && (ascq == 0x00 || ascq == 0x01 || ascq == 0x09)) virtscsi_handle_param_change()
|
H A D | osst.h | 99 u8 asc; /* Additional Sense Code */ member in struct:__anon9925
|
H A D | sr.c | 280 (scsi_sense_valid(&sshdr) && sshdr.asc != 0x3a); sr_check_events()
|
H A D | scsi_transport_spi.c | 696 && sshdr.asc == 0x24 && sshdr.ascq == 0x00) spi_dv_device_echo_buffer()
|
H A D | st.c | 417 cmdstatp->sense_hdr.asc == 0 && cmdstatp->sense_hdr.ascq == 0x17) st_chk_result() 1017 cmdstatp->sense_hdr.asc == 0x3a) /* Check ASC */ test_ready()
|
H A D | advansys.c | 2226 unsigned int callback; /* # calls to asc/adv_isr_callback() */ 2228 unsigned int build_error; /* # asc/adv_build_req() ASC_ERROR returns. */
|
/linux-4.4.14/drivers/clk/zte/ |
H A D | clk.h | 24 const struct zx_pll_config *lookup_table; /* order by rate asc */
|
/linux-4.4.14/drivers/scsi/device_handler/ |
H A D | scsi_dh_alua.c | 249 sense_hdr.asc, sense_hdr.ascq); stpg_endio() 450 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0a) alua_check_sense() 455 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0b) alua_check_sense() 460 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0c) alua_check_sense() 465 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x12) alua_check_sense() 471 sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x02) alua_check_sense() 479 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) alua_check_sense() 484 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x04) alua_check_sense() 489 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01) alua_check_sense() 494 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x06) alua_check_sense() 499 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x07) alua_check_sense() 504 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x03) alua_check_sense() 509 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x0e) alua_check_sense() 566 sense_hdr.asc == 0x24 && sense_hdr.ascq == 0) { alua_rtpg() 577 sense_hdr.asc, sense_hdr.ascq); alua_rtpg()
|
H A D | scsi_dh_emc.c | 128 sshdr.asc, sshdr.ascq); trespass_endio() 130 if ((sshdr.sense_key == 0x05) && (sshdr.asc == 0x04) && trespass_endio() 140 } else if ((sshdr.sense_key == 0x02) && (sshdr.asc == 0x04) && trespass_endio() 400 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x03) clariion_check_sense() 417 if (sense_hdr->asc == 0x25 && sense_hdr->ascq == 0x01) clariion_check_sense() 431 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) clariion_check_sense() 470 sshdr.sense_key, sshdr.asc, sshdr.ascq); clariion_std_inquiry() 517 sshdr.sense_key, sshdr.asc, sshdr.ascq); clariion_send_inquiry()
|
H A D | scsi_dh_rdac.c | 554 if (sense_hdr.asc == 0x04 && sense_hdr.ascq == 0x01) mode_select_handle_sense() 561 if (sense_hdr.asc == 0x91 && sense_hdr.ascq == 0x36) mode_select_handle_sense() 574 sense_hdr.sense_key, sense_hdr.asc, sense_hdr.ascq); mode_select_handle_sense() 720 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); rdac_check_sense() 724 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) rdac_check_sense() 730 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x81) rdac_check_sense() 737 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0xA1) rdac_check_sense() 743 if (sense_hdr->asc == 0xA1 && sense_hdr->ascq == 0x02) rdac_check_sense() 751 if (sense_hdr->asc == 0x94 && sense_hdr->ascq == 0x01) { rdac_check_sense() 761 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) rdac_check_sense() 766 if (sense_hdr->asc == 0x8b && sense_hdr->ascq == 0x02) rdac_check_sense()
|
H A D | scsi_dh_hp_sw.c | 77 if ((sshdr.asc == 0x04) && (sshdr.ascq == 2)) { tur_done() 90 HP_SW_NAME, sshdr.sense_key, sshdr.asc, tur_done() 174 if ((sshdr.asc == 0x04) && (sshdr.ascq == 3)) { start_done() 187 HP_SW_NAME, sshdr.sense_key, sshdr.asc, start_done()
|
/linux-4.4.14/drivers/ata/ |
H A D | libata-zpodd.c | 92 unsigned int ret, asc, ascq, add_len; zpready() local 110 /* has asc and ascq */ zpready() 114 asc = sense_buf[12]; zpready() 119 return asc == 0x3a; zpready() 122 return asc == 0x3a && ascq == 0x01; zpready()
|
H A D | libata-scsi.c | 273 static void ata_scsi_set_sense(struct scsi_cmnd *cmd, u8 sk, u8 asc, u8 ascq) ata_scsi_set_sense() argument 277 scsi_build_sense_buffer(0, cmd->sense_buffer, sk, asc, ascq); ata_scsi_set_sense() 551 sshdr.asc == 0 && sshdr.ascq == 0x1d) ata_cmd_ioctl() 637 sshdr.asc == 0 && sshdr.ascq == 0x1d) ata_task_ioctl() 833 * @asc: the additional sense code we'll fill out 845 u8 *asc, u8 *ascq, int verbose) ata_to_sense_error() 922 *asc = sense_table[i][2]; ata_to_sense_error() 937 *asc = stat_table[i][2]; ata_to_sense_error() 948 *asc = 0x00; ata_to_sense_error() 955 id, drv_stat, drv_err, *sk, *asc, *ascq); ata_to_sense_error() 970 * asc,ascq = ATA PASS-THROUGH INFORMATION AVAILABLE 990 * onto sense key, asc & ascq. ata_gen_passthru_sense() 1067 * onto sense key, asc & ascq. ata_gen_ata_sense() 1782 * asc,ascq = ATA PASS-THROUGH INFORMATION AVAILABLE ata_scsi_qc_complete() 844 ata_to_sense_error(unsigned id, u8 drv_stat, u8 drv_err, u8 *sk, u8 *asc, u8 *ascq, int verbose) ata_to_sense_error() argument
|
/linux-4.4.14/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_trigger_diag.c | 292 * @asc: 297 mpt3sas_trigger_scsi(struct MPT3SAS_ADAPTER *ioc, u8 sense_key, u8 asc, mpt3sas_trigger_scsi() argument 323 "%s: enter - sense_key = 0x%02x, asc = 0x%02x, ascq = 0x%02x\n", mpt3sas_trigger_scsi() 324 ioc->name, __func__, sense_key, asc, ascq)); mpt3sas_trigger_scsi() 338 if (!(scsi_trigger->ASC == 0xFF || scsi_trigger->ASC == asc)) mpt3sas_trigger_scsi() 356 event_data.u.scsi.ASC = asc; mpt3sas_trigger_scsi()
|
H A D | mpt3sas_scsih.c | 159 * @asc: additional sense code 164 u8 asc; member in struct:sense_info 3974 * @data: normalized skey/asc/ascq 3984 data->asc = sense_buffer[2]; _scsih_normalize_sense() 3989 data->asc = sense_buffer[12]; _scsih_normalize_sense() 4196 "\t[sense_key,asc,ascq]: [0x%02x,0x%02x,0x%02x], count(%d)\n", _scsih_scsi_ioc_info() 4198 data.asc, data.ascq, le32_to_cpu(mpi_reply->SenseCount)); _scsih_scsi_ioc_info() 4502 if (data.asc == 0x5D) _scsih_io_done() 4505 mpt3sas_trigger_scsi(ioc, data.skey, data.asc, data.ascq); _scsih_io_done()
|
H A D | mpt3sas_base.h | 1405 u8 asc, u8 ascq);
|
/linux-4.4.14/drivers/nvme/host/ |
H A D | scsi.c | 303 u8 asc, u8 ascq) nvme_trans_completion() 323 resp[2] = asc; nvme_trans_completion() 343 u8 status, sense_key, asc, ascq; nvme_trans_status_code() local 356 asc = SCSI_ASC_NO_SENSE; nvme_trans_status_code() 362 asc = SCSI_ASC_ILLEGAL_COMMAND; nvme_trans_status_code() 368 asc = SCSI_ASC_INVALID_CDB; nvme_trans_status_code() 374 asc = SCSI_ASC_NO_SENSE; nvme_trans_status_code() 380 asc = SCSI_ASC_WARNING; nvme_trans_status_code() 386 asc = SCSI_ASC_INTERNAL_TARGET_FAILURE; nvme_trans_status_code() 392 asc = SCSI_ASC_NO_SENSE; nvme_trans_status_code() 398 asc = SCSI_ASC_NO_SENSE; nvme_trans_status_code() 404 asc = SCSI_ASC_NO_SENSE; nvme_trans_status_code() 410 asc = SCSI_ASC_NO_SENSE; nvme_trans_status_code() 416 asc = SCSI_ASC_ACCESS_DENIED_INVALID_LUN_ID; nvme_trans_status_code() 422 asc = SCSI_ASC_ILLEGAL_BLOCK; nvme_trans_status_code() 428 asc = SCSI_ASC_NO_SENSE; nvme_trans_status_code() 434 asc = SCSI_ASC_LUN_NOT_READY; nvme_trans_status_code() 442 asc = SCSI_ASC_FORMAT_COMMAND_FAILED; nvme_trans_status_code() 448 asc = SCSI_ASC_INVALID_CDB; nvme_trans_status_code() 456 asc = SCSI_ASC_PERIPHERAL_DEV_WRITE_FAULT; nvme_trans_status_code() 462 asc = SCSI_ASC_UNRECOVERED_READ_ERROR; nvme_trans_status_code() 468 asc = SCSI_ASC_LOG_BLOCK_GUARD_CHECK_FAILED; nvme_trans_status_code() 474 asc = SCSI_ASC_LOG_BLOCK_APPTAG_CHECK_FAILED; nvme_trans_status_code() 480 asc = SCSI_ASC_LOG_BLOCK_REFTAG_CHECK_FAILED; nvme_trans_status_code() 486 asc = SCSI_ASC_MISCOMPARE_DURING_VERIFY; nvme_trans_status_code() 492 asc = SCSI_ASC_ACCESS_DENIED_INVALID_LUN_ID; nvme_trans_status_code() 512 asc = SCSI_ASC_NO_SENSE; nvme_trans_status_code() 517 res = nvme_trans_completion(hdr, status, sense_key, asc, ascq); nvme_trans_status_code() 302 nvme_trans_completion(struct sg_io_hdr *hdr, u8 status, u8 sense_key, u8 asc, u8 ascq) nvme_trans_completion() argument
|
/linux-4.4.14/drivers/usb/storage/ |
H A D | debug.h | 52 unsigned char asc, unsigned char ascq);
|
H A D | cypress_atacb.c | 202 /* set sk, asc for a good command */ cypress_atacb_passthrough() 207 /* XXX we should generate sk, asc, ascq from status and error cypress_atacb_passthrough()
|
H A D | debug.c | 164 unsigned char asc, usb_stor_show_sense() 170 what = scsi_extd_sense_format(asc, ascq, &fmt); usb_stor_show_sense() 162 usb_stor_show_sense(const struct us_data *us, unsigned char key, unsigned char asc, unsigned char ascq) usb_stor_show_sense() argument
|
H A D | transport.c | 786 sshdr.asc, sshdr.ascq); usb_stor_invoke_transport() 788 usb_stor_show_sense(us, sshdr.sense_key, sshdr.asc, sshdr.ascq); usb_stor_invoke_transport() 802 if (sshdr.sense_key == 0 && sshdr.asc == 0 && sshdr.ascq == 0 && usb_stor_invoke_transport()
|
H A D | sddr55.c | 89 #define set_sense_info(sk, asc, ascq) \ 92 info->sense_data[12] = asc; \
|
/linux-4.4.14/arch/m68k/mac/ |
H A D | macboing.c | 8 * after the NetBSD asc.c console bell patch by Colin Wood/Frederick Bruck 280 * using the asc interrupt will give better results in the future mac_quadra_ring_bell()
|
/linux-4.4.14/drivers/staging/rts5208/ |
H A D | rtsx_scsi.h | 139 u8 sense_key, u32 info, u8 asc, u8 ascq,
|
H A D | rtsx_scsi.c | 400 u8 sense_key, u32 info, u8 asc, u8 ascq, u8 sns_key_info0, set_sense_data() 413 sense->asc = asc; set_sense_data() 399 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) set_sense_data() argument
|
H A D | rtsx_chip.h | 246 unsigned char asc; /* ASC */ member in struct:sense_data_t
|
/linux-4.4.14/drivers/scsi/lpfc/ |
H A D | lpfc_nl.h | 145 uint8_t asc; member in struct:lpfc_scsi_check_condition_event
|
H A D | lpfc_scsi.c | 3603 fast_path_evt->un.check_cond_evt.asc = cmnd->sense_buffer[12]; lpfc_send_scsi_error_event()
|
/linux-4.4.14/drivers/pinctrl/ |
H A D | pinctrl-xway.c | 347 GRP_MUX("asc", ASC, ase_pins_asc), 403 static const char * const ase_asc_grps[] = {"asc"}; 411 {"asc", ARRAY_AND_SIZE(xway_asc_grps)}, 424 {"asc", ARRAY_AND_SIZE(xway_asc_grps)}, 439 {"asc", ARRAY_AND_SIZE(ase_asc_grps)},
|
H A D | pinctrl-falcon.c | 223 {"asc", ARRAY_AND_SIZE(ltq_asc_grps)},
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | st-asc.c | 2 * st-asc.c: ST Asynchronous serial controller (ASC) driver 34 #define DRIVER_NAME "st-asc" 724 { .compatible = "st,asc", },
|
H A D | lantiq.c | 45 #define DRVNAME "lantiq,asc" 723 /* not all asc ports have clock gates, lets ignore the return code */ lqasc_probe()
|
H A D | stm32-usart.c | 6 * Inspired by st-asc.c from STMicroelectronics (c)
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-fsl-dspi.c | 451 unsigned char pasc = 0, asc = 0, fmsz = 0; dspi_setup() local 487 ns_delay_scale(&pasc, &asc, sck_cs_delay, clkrate); dspi_setup() 496 | SPI_CTAR_ASC(asc) dspi_setup()
|
/linux-4.4.14/drivers/scsi/mvsas/ |
H A D | mv_sas.c | 1612 int key, int asc, int ascq) mvs_set_sense() 1620 "fit sense %x:%x:%x", len, key, asc, ascq); mvs_set_sense() 1627 buffer[2] = asc; /* ASC */ mvs_set_sense() 1633 "fit sense %x:%x:%x", len, key, asc, ascq); mvs_set_sense() 1642 buffer[12] = asc; /* ASC */ mvs_set_sense() 1651 u8 key, u8 asc, u8 asc_q) mvs_fill_ssp_resp_iu() 1658 key, asc, asc_q); mvs_fill_ssp_resp_iu() 1611 mvs_set_sense(u8 *buffer, int len, int d_sense, int key, int asc, int ascq) mvs_set_sense() argument 1650 mvs_fill_ssp_resp_iu(struct ssp_response_iu *iu, u8 key, u8 asc, u8 asc_q) mvs_fill_ssp_resp_iu() argument
|
/linux-4.4.14/drivers/block/ |
H A D | cciss_scsi.c | 1618 unsigned char asc; wait_for_device_to_become_ready() local 1619 asc = c->err_info->SenseInfo[12]; wait_for_device_to_become_ready() 1621 if (asc == POWER_OR_RESET) wait_for_device_to_become_ready()
|
H A D | skd_main.c | 1993 pr_err("(%s): *** LOST_WRITE_DATA ERROR *** key/asc/" skd_log_check_status() 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", skd_check_status() 2353 if (skerr->code != sns->asc) skd_check_status() 2361 pr_err("(%s): SMART Alert: sense key/asc/ascq " skd_check_status()
|
H A D | pktcdvd.c | 757 sense->sense_key, sense->asc, sense->ascq, pkt_dump_sense()
|
/linux-4.4.14/drivers/scsi/cxlflash/ |
H A D | superpipe.c | 360 switch (sshdr.asc) { read_cap16() 1728 switch (sshdr.asc) { process_sense() 1755 dev_dbg(dev, "%s: sense_key %x asc %x ascq %x rc %d\n", __func__, process_sense() 1756 sshdr.sense_key, sshdr.asc, sshdr.ascq, rc); process_sense()
|
/linux-4.4.14/drivers/message/fusion/ |
H A D | mptscsih.c | 441 u8 skey, asc, ascq; mptscsih_info_scsiio() local 555 asc = sc->sense_buffer[12]; mptscsih_info_scsiio() 558 printk(MYIOC_s_DEBUG_FMT "\t[sense_key,asc,ascq]: " mptscsih_info_scsiio() 559 "[0x%02x,0x%02x,0x%02x]\n", ioc->name, skey, asc, ascq); mptscsih_info_scsiio() 2432 /* Log SMART data (asc = 0x5D, non-IM case only) if required. mptscsih_copy_sense_data()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | cdrom.h | 720 __u8 asc; member in struct:request_sense
|
/linux-4.4.14/include/linux/ |
H A D | ide.h | 963 /* sense key/asc handling */
|
/linux-4.4.14/drivers/cdrom/ |
H A D | cdrom.c | 350 cgc->sense->asc = 0x20; cdrom_dummy_generic_packet() 2966 sense.asc == 0x20 && mmc_ioctl_cdrom_read_data()
|