Lines Matching refs:sequence
90 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_move_set_ata_command() argument
98 if (sequence->data_direction == SATI_DATA_DIRECTION_OUT) in sati_move_set_ata_command()
122 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_move_small_udma_translate_command() argument
132 sati_move_set_ata_command(sequence, ata_io, write_opcode, read_opcode); in sati_move_small_udma_translate_command()
135 if (sequence->data_direction == SATI_DATA_DIRECTION_IN) in sati_move_small_udma_translate_command()
136 sequence->protocol = SAT_PROTOCOL_UDMA_DATA_IN; in sati_move_small_udma_translate_command()
138 sequence->protocol = SAT_PROTOCOL_UDMA_DATA_OUT; in sati_move_small_udma_translate_command()
161 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_move_large_udma_translate_command() argument
169 sati_move_set_ata_command(sequence, ata_io, write_opcode, read_opcode); in sati_move_large_udma_translate_command()
171 if (sequence->data_direction == SATI_DATA_DIRECTION_IN) in sati_move_large_udma_translate_command()
172 sequence->protocol = SAT_PROTOCOL_UDMA_DATA_IN; in sati_move_large_udma_translate_command()
174 sequence->protocol = SAT_PROTOCOL_UDMA_DATA_OUT; in sati_move_large_udma_translate_command()
177 sequence, scsi_io, ata_io, sector_count, FALSE in sati_move_large_udma_translate_command()
230 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_move_set_sector_count() argument
240 if (sequence->device->capabilities & SATI_DEVICE_CAP_48BIT_ENABLE) in sati_move_set_sector_count()
257 sequence->command_specific_data.move_sector_count = in sati_move_set_sector_count()
289 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_move_translate_32_bit_lba() argument
319 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_move_translate_64_bit_lba() argument
342 sequence, in sati_move_translate_64_bit_lba()
365 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_move_6_translate_command() argument
379 sati_move_translate_command(sequence, scsi_io, ata_io, 0); in sati_move_6_translate_command()
399 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_move_32_bit_lba_translate_command() argument
405 sati_move_translate_32_bit_lba(sequence, scsi_io, ata_io); in sati_move_32_bit_lba_translate_command()
406 sati_move_translate_command(sequence, scsi_io, ata_io, device_head); in sati_move_32_bit_lba_translate_command()
429 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_move_small_translate_command() argument
436 if (sequence->device->capabilities & SATI_DEVICE_CAP_NCQ_SUPPORTED_ENABLE) in sati_move_small_translate_command()
439 sequence, ata_io, ATA_WRITE_FPDMA, ATA_READ_FPDMA in sati_move_small_translate_command()
442 sequence->protocol = SAT_PROTOCOL_FPDMA; in sati_move_small_translate_command()
444 else if (sequence->device->capabilities & SATI_DEVICE_CAP_48BIT_ENABLE) in sati_move_small_translate_command()
449 sequence, scsi_io, ata_io, ATA_WRITE_DMA_EXT, ATA_READ_DMA_EXT in sati_move_small_translate_command()
461 else if (sequence->device->capabilities & SATI_DEVICE_CAP_UDMA_ENABLE) in sati_move_small_translate_command()
464 sequence, scsi_io, ata_io, ATA_WRITE_DMA, ATA_READ_DMA in sati_move_small_translate_command()
474 sequence, in sati_move_small_translate_command()
484 return sati_move_6_translate_command(sequence, scsi_io, ata_io); in sati_move_small_translate_command()
504 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_move_large_translate_command() argument
516 if (sequence->device->capabilities & SATI_DEVICE_CAP_NCQ_SUPPORTED_ENABLE) in sati_move_large_translate_command()
519 if((sequence->device->capabilities & SATI_DEVICE_CAP_IGNORE_FUA)==0) in sati_move_large_translate_command()
527 sequence, ata_io, ATA_WRITE_FPDMA, ATA_READ_FPDMA in sati_move_large_translate_command()
530 sequence, scsi_io, ata_io, sector_count, TRUE in sati_move_large_translate_command()
532 sequence->protocol = SAT_PROTOCOL_FPDMA; in sati_move_large_translate_command()
534 else if (sequence->device->capabilities & SATI_DEVICE_CAP_48BIT_ENABLE) in sati_move_large_translate_command()
541 sequence, in sati_move_large_translate_command()
552 sequence, in sati_move_large_translate_command()
560 else if (sequence->device->capabilities & SATI_DEVICE_CAP_UDMA_ENABLE) in sati_move_large_translate_command()
563 sequence, in sati_move_large_translate_command()
578 sequence, in sati_move_large_translate_command()
604 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_move_translate_command() argument