Lines Matching refs:sshdr
44 struct scsi_sense_hdr *sshdr) in tur_done() argument
48 switch (sshdr->sense_key) { in tur_done()
50 if (sshdr->asc == 0x04 && sshdr->ascq == 2) { in tur_done()
64 HP_SW_NAME, sshdr->sense_key, sshdr->asc, in tur_done()
65 sshdr->ascq); in tur_done()
81 struct scsi_sense_hdr sshdr; in hp_sw_tur() local
99 .sshdr = &sshdr, in hp_sw_tur()
105 if (res > 0 && scsi_sense_valid(&sshdr)) { in hp_sw_tur()
106 ret = tur_done(sdev, h, &sshdr); in hp_sw_tur()
129 struct scsi_sense_hdr sshdr; in hp_sw_start_stop() local
153 .sshdr = &sshdr, in hp_sw_start_stop()
161 } else if (res < 0 || !scsi_sense_valid(&sshdr)) { in hp_sw_start_stop()
168 switch (sshdr.sense_key) { in hp_sw_start_stop()
170 if (sshdr.asc == 0x04 && sshdr.ascq == 3) { in hp_sw_start_stop()
179 sshdr.sense_key, sshdr.asc, sshdr.ascq); in hp_sw_start_stop()