Lines Matching refs:sequence

167    SATI_TRANSLATOR_SEQUENCE_T * sequence,  in sati_passthrough_construct_sense()  argument
201 sequence, in sati_passthrough_construct_sense()
237 sequence->is_sense_response_set = TRUE; in sati_passthrough_construct_sense()
252 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_passthrough_check_direction() argument
256 if ((sequence->protocol == PASSTHROUGH_PIO_DATA_IN) || in sati_passthrough_check_direction()
257 (sequence->protocol == PASSTHROUGH_UDMA_DATA_IN)) in sati_passthrough_check_direction()
265 sequence->data_direction = SATI_DATA_DIRECTION_IN; in sati_passthrough_check_direction()
268 else if ((sequence->protocol == PASSTHROUGH_PIO_DATA_OUT) || in sati_passthrough_check_direction()
269 (sequence->protocol == PASSTHROUGH_UDMA_DATA_OUT)) in sati_passthrough_check_direction()
277 sequence->data_direction = SATI_DATA_DIRECTION_OUT; in sati_passthrough_check_direction()
282 sequence->data_direction = SATI_DATA_DIRECTION_NONE; in sati_passthrough_check_direction()
304 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_passthrough_12_translate_command() argument
315 sequence->type = SATI_SEQUENCE_ATA_PASSTHROUGH_12; in sati_passthrough_12_translate_command()
316 sequence->state = SATI_SEQUENCE_STATE_TRANSLATE_DATA; in sati_passthrough_12_translate_command()
319 sequence->protocol = PASSTHROUGH_CDB_PROTOCOL (cdb); in sati_passthrough_12_translate_command()
330 if (sequence->protocol == PASSTHROUGH_DMA) in sati_passthrough_12_translate_command()
334 sequence->protocol = PASSTHROUGH_UDMA_DATA_IN; in sati_passthrough_12_translate_command()
338 sequence->protocol = PASSTHROUGH_UDMA_DATA_OUT; in sati_passthrough_12_translate_command()
342 if (sati_passthrough_check_direction(sequence, cdb) != SATI_COMPLETE in sati_passthrough_12_translate_command()
348 sequence, in sati_passthrough_12_translate_command()
366 sequence->state = SATI_SEQUENCE_STATE_AWAIT_RESPONSE; in sati_passthrough_12_translate_command()
382 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_passthrough_16_translate_command() argument
393 sequence->type = SATI_SEQUENCE_ATA_PASSTHROUGH_16; in sati_passthrough_16_translate_command()
394 sequence->state = SATI_SEQUENCE_STATE_TRANSLATE_DATA; in sati_passthrough_16_translate_command()
397 sequence->protocol = PASSTHROUGH_CDB_PROTOCOL(cdb); in sati_passthrough_16_translate_command()
408 if (sequence->protocol == PASSTHROUGH_DMA) in sati_passthrough_16_translate_command()
412 sequence->protocol = PASSTHROUGH_UDMA_DATA_IN; in sati_passthrough_16_translate_command()
416 sequence->protocol = PASSTHROUGH_UDMA_DATA_OUT; in sati_passthrough_16_translate_command()
420 if (sati_passthrough_check_direction(sequence, cdb) != SATI_COMPLETE in sati_passthrough_16_translate_command()
426 sequence, in sati_passthrough_16_translate_command()
448 sequence->is_translate_response_required = TRUE; in sati_passthrough_16_translate_command()
459 sequence->state = SATI_SEQUENCE_STATE_AWAIT_RESPONSE; in sati_passthrough_16_translate_command()
475 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_passthrough_translate_response() argument
489 sati_translate_error(sequence, scsi_io, (U8)sati_get_ata_error(register_fis)); in sati_passthrough_translate_response()
493 sequence->state = SATI_SEQUENCE_STATE_FINAL; in sati_passthrough_translate_response()
500 sequence, in sati_passthrough_translate_response()