Lines Matching refs:sequence
81 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_atapi_translate_command() argument
96 sequence->is_sense_response_set = FALSE; in sati_atapi_translate_command()
98 sequence->is_translate_response_required = FALSE; in sati_atapi_translate_command()
100 sequence->number_data_bytes_set = 0; in sati_atapi_translate_command()
101 sequence->device = sati_device; in sati_atapi_translate_command()
102 sequence->command_specific_data.scratch = 0; in sati_atapi_translate_command()
108 sequence->protocol = SAT_PROTOCOL_PACKET_NON_DATA; in sati_atapi_translate_command()
110 sequence->protocol = SAT_PROTOCOL_PACKET_DMA_DATA_IN; in sati_atapi_translate_command()
112 sequence->protocol = SAT_PROTOCOL_PACKET_DMA_DATA_OUT; in sati_atapi_translate_command()
118 sequence, scsi_io, atapi_io in sati_atapi_translate_command()
124 sequence, in sati_atapi_translate_command()
135 if (sequence->state == SATI_SEQUENCE_STATE_INCOMPLETE) in sati_atapi_translate_command()
141 sequence->protocol = SAT_PROTOCOL_PACKET_DMA_DATA_IN; in sati_atapi_translate_command()
144 memcpy(sequence->command_specific_data.sati_atapi_data.request_sense_cdb, in sati_atapi_translate_command()
165 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_atapi_translate_command_response() argument
182 sequence, in sati_atapi_translate_command_response()
190 sequence->device->state = SATI_DEVICE_STATE_DEVICE_FAULT_OCCURRED; in sati_atapi_translate_command_response()
200 sequence->state = SATI_SEQUENCE_STATE_INCOMPLETE; in sati_atapi_translate_command_response()
208 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_atapi_translate_request_sense_response() argument
220 sati_scsi_get_sense_data_length(sequence, scsi_io), in sati_atapi_translate_request_sense_response()
224 sequence->is_sense_response_set = TRUE; in sati_atapi_translate_request_sense_response()
226 sequence->state = SATI_SEQUENCE_STATE_FINAL; in sati_atapi_translate_request_sense_response()
231 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_atapi_translate_number_of_bytes_transferred() argument