Lines Matching refs:sshdr
110 struct scsi_sense_hdr *sshdr) in spi_execute() argument
116 if (!sshdr) in spi_execute()
117 sshdr = &sshdr_tmp; in spi_execute()
125 sshdr, DV_TIMEOUT, /* retries */ 1, in spi_execute()
130 if (result < 0 || !scsi_sense_valid(sshdr) || in spi_execute()
131 sshdr->sense_key != UNIT_ATTENTION) in spi_execute()
633 struct scsi_sense_hdr sshdr; in spi_dv_device_echo_buffer() local
679 buffer, len, &sshdr); in spi_dv_device_echo_buffer()
683 if (scsi_sense_valid(&sshdr) in spi_dv_device_echo_buffer()
684 && sshdr.sense_key == ILLEGAL_REQUEST in spi_dv_device_echo_buffer()
686 && sshdr.asc == 0x24 && sshdr.ascq == 0x00) in spi_dv_device_echo_buffer()