Lines Matching refs:sshdr
44 struct scsi_sense_hdr *sshdr) in tur_done() argument
48 switch (sshdr->sense_key) { in tur_done()
53 if (sshdr->asc == 0x04 && sshdr->ascq == 2) { in tur_done()
67 HP_SW_NAME, sshdr->sense_key, sshdr->asc, in tur_done()
68 sshdr->ascq); in tur_done()
84 struct scsi_sense_hdr sshdr; in hp_sw_tur() local
89 .sshdr = &sshdr, in hp_sw_tur()
96 if (scsi_sense_valid(&sshdr)) in hp_sw_tur()
97 ret = tur_done(sdev, h, &sshdr); in hp_sw_tur()
123 struct scsi_sense_hdr sshdr; in hp_sw_start_stop() local
130 .sshdr = &sshdr, in hp_sw_start_stop()
137 if (!scsi_sense_valid(&sshdr)) { in hp_sw_start_stop()
143 switch (sshdr.sense_key) { in hp_sw_start_stop()
145 if (sshdr.asc == 0x04 && sshdr.ascq == 3) { in hp_sw_start_stop()
161 sshdr.sense_key, sshdr.asc, sshdr.ascq); in hp_sw_start_stop()