Home
last modified time | relevance | path

Searched refs:have_sense (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Dst.h15 int have_sense; member
H A Dst.c327 s->have_sense = scsi_normalize_sense(SRpnt->sense, in st_analyze_sense()
331 if (s->have_sense) { in st_analyze_sense()
371 if (cmdstatp->have_sense) in st_chk_result()
382 if (cmdstatp->have_sense) in st_chk_result()
387 if (!cmdstatp->have_sense) in st_chk_result()
391 else if (cmdstatp->have_sense && in st_chk_result()
414 if (cmdstatp->have_sense && in st_chk_result()
417 if (cmdstatp->have_sense && scode == UNIT_ATTENTION && cmdstatp->sense_hdr.asc == 0x29) in st_chk_result()
422 if (cmdstatp->have_sense && in st_chk_result()
643 STp->buffer->cmdstat.have_sense = 0; in st_do_scsi()
[all …]
/openbmc/linux/drivers/ata/
H A Dlibata-scsi.c1706 bool have_sense = qc->flags & ATA_QCFLAG_SENSE_VALID; in ata_scsi_qc_complete() local
1720 if (is_ata_passthru && (is_ck_cond_request || is_error || have_sense)) { in ata_scsi_qc_complete()
1721 if (!have_sense) in ata_scsi_qc_complete()
1726 } else if (is_error && !have_sense) { in ata_scsi_qc_complete()