Home
last modified time | relevance | path

Searched refs:sense_hdr (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/scsi/device_handler/
H A Dscsi_dh_rdac.c501 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in mode_select_handle_sense()
508 if (sense_hdr->asc == 0x91 && sense_hdr->ascq == 0x36) in mode_select_handle_sense()
521 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in mode_select_handle_sense()
669 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in rdac_check_sense()
673 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in rdac_check_sense()
679 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x81) in rdac_check_sense()
686 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0xA1) in rdac_check_sense()
692 if (sense_hdr->asc == 0xA1 && sense_hdr->ascq == 0x02) in rdac_check_sense()
700 if (sense_hdr->asc == 0x94 && sense_hdr->ascq == 0x01) { in rdac_check_sense()
710 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in rdac_check_sense()
[all …]
H A Dscsi_dh_alua.c423 switch (sense_hdr->sense_key) { in alua_check_sense()
425 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0a) { in alua_check_sense()
439 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) { in alua_check_sense()
448 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x04) in alua_check_sense()
453 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01) in alua_check_sense()
458 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x06) { in alua_check_sense()
465 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x07) { in alua_check_sense()
472 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x03) in alua_check_sense()
477 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x0e) in alua_check_sense()
506 sense_hdr.asc == 0x04 && sense_hdr.ascq == 0x0a) in alua_tur()
[all …]
H A Dscsi_dh_emc.c287 struct scsi_sense_hdr *sense_hdr) in clariion_check_sense() argument
289 switch (sense_hdr->sense_key) { in clariion_check_sense()
291 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x03) in clariion_check_sense()
308 if (sense_hdr->asc == 0x25 && sense_hdr->ascq == 0x01) in clariion_check_sense()
322 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in clariion_check_sense()
/openbmc/linux/drivers/scsi/
H A Dst.c328 SCSI_SENSE_BUFFERSIZE, &s->sense_hdr); in st_analyze_sense()
372 scode = STp->buffer->cmdstat.sense_hdr.sense_key; in st_chk_result()
415 cmdstatp->sense_hdr.asc == 0 && cmdstatp->sense_hdr.ascq == 0x17) in st_chk_result()
707 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in write_behind_check()
804 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_flush_write_buffer()
991 scode = cmdstatp->sense_hdr.sense_key; in test_ready()
1399 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_flush()
1797 scode = cmdstatp->sense_hdr.sense_key; in st_write()
1970 if (cmdstatp->sense_hdr.sense_key == BLANK_CHECK) in read_tape()
3021 if (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_int_ioctl()
[all …]
H A Dst.h14 struct scsi_sense_hdr sense_hdr; member
H A Dstorvsc_drv.c1077 struct scsi_sense_hdr sense_hdr; in storvsc_command_completion() local
1094 SCSI_SENSE_BUFFERSIZE, &sense_hdr); in storvsc_command_completion()
1098 &sense_hdr); in storvsc_command_completion()
1102 storvsc_handle_error(vm_srb, scmnd, host, sense_hdr.asc, in storvsc_command_completion()
1103 sense_hdr.ascq); in storvsc_command_completion()
H A Dscsi_ioctl.c867 struct scsi_sense_hdr sense_hdr; in scsi_ioctl() local
920 NORMAL_RETRIES, &sense_hdr); in scsi_ioctl()