Lines Matching refs:sshdr
57 struct scsi_sense_hdr *sshdr) in tur_done() argument
61 switch (sshdr->sense_key) { in tur_done()
66 if (sshdr->asc == 0x04 && sshdr->ascq == 2) { in tur_done()
80 HP_SW_NAME, sshdr->sense_key, sshdr->asc, in tur_done()
81 sshdr->ascq); in tur_done()
97 struct scsi_sense_hdr sshdr; in hp_sw_tur() local
103 res = scsi_execute(sdev, cmd, DMA_NONE, NULL, 0, NULL, &sshdr, in hp_sw_tur()
106 if (scsi_sense_valid(&sshdr)) in hp_sw_tur()
107 ret = tur_done(sdev, h, &sshdr); in hp_sw_tur()
133 struct scsi_sense_hdr sshdr; in hp_sw_start_stop() local
141 res = scsi_execute(sdev, cmd, DMA_NONE, NULL, 0, NULL, &sshdr, in hp_sw_start_stop()
144 if (!scsi_sense_valid(&sshdr)) { in hp_sw_start_stop()
150 switch (sshdr.sense_key) { in hp_sw_start_stop()
152 if (sshdr.asc == 0x04 && sshdr.ascq == 3) { in hp_sw_start_stop()
168 sshdr.sense_key, sshdr.asc, sshdr.ascq); in hp_sw_start_stop()