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
90 res = scsi_execute(sdev, cmd, DMA_NONE, NULL, 0, NULL, &sshdr, in hp_sw_tur()
93 if (scsi_sense_valid(&sshdr)) in hp_sw_tur()
94 ret = tur_done(sdev, h, &sshdr); in hp_sw_tur()
120 struct scsi_sense_hdr sshdr; in hp_sw_start_stop() local
128 res = scsi_execute(sdev, cmd, DMA_NONE, NULL, 0, NULL, &sshdr, in hp_sw_start_stop()
131 if (!scsi_sense_valid(&sshdr)) { in hp_sw_start_stop()
137 switch (sshdr.sense_key) { in hp_sw_start_stop()
139 if (sshdr.asc == 0x04 && sshdr.ascq == 3) { in hp_sw_start_stop()
155 sshdr.sense_key, sshdr.asc, sshdr.ascq); in hp_sw_start_stop()