Lines Matching refs:sense_buffer
347 scsi_build_sense_buffer(d_sense, cmd->sense_buffer, sk, asc, ascq); in ata_scsi_set_sense()
363 scsi_set_sense_information(cmd->sense_buffer, in ata_scsi_set_sense_information()
372 scsi_set_sense_field_pointer(cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE, in ata_scsi_set_invalid_field()
381 scsi_set_sense_field_pointer(cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE, in ata_scsi_set_invalid_parameter()
1072 unsigned char *sb = cmd->sense_buffer; in ata_gen_passthru_sense()
1095 scsi_build_sense_buffer(1, cmd->sense_buffer, in ata_gen_passthru_sense()
1099 if ((cmd->sense_buffer[0] & 0x7f) >= 0x72) { in ata_gen_passthru_sense()
1171 unsigned char *sb = cmd->sense_buffer; in ata_gen_ata_sense()
2816 memset(cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); in atapi_request_sense()
2824 cmd->sense_buffer[0] = 0x70; in atapi_request_sense()
2825 cmd->sense_buffer[2] = qc->tf.feature >> 4; in atapi_request_sense()
2830 sg_init_one(&qc->sgent, cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE); in atapi_request_sense()