Lines Matching refs:sequence
87 SATI_TRANSLATOR_SEQUENCE_T * sequence in sati_ata_non_data_command() argument
90 sequence->data_direction = SATI_DATA_DIRECTION_NONE; in sati_ata_non_data_command()
91 sequence->protocol = SAT_PROTOCOL_NON_DATA; in sati_ata_non_data_command()
92 sequence->ata_transfer_length = 0; in sati_ata_non_data_command()
110 SATI_TRANSLATOR_SEQUENCE_T * sequence in sati_ata_identify_device_construct() argument
116 sequence->data_direction = SATI_DATA_DIRECTION_IN; in sati_ata_identify_device_construct()
117 sequence->protocol = SAT_PROTOCOL_PIO_DATA_IN; in sati_ata_identify_device_construct()
118 sequence->ata_transfer_length = sizeof(ATA_IDENTIFY_DEVICE_DATA_T); in sati_ata_identify_device_construct()
133 SATI_TRANSLATOR_SEQUENCE_T * sequence in sati_ata_execute_device_diagnostic_construct() argument
140 sequence->data_direction = SATI_DATA_DIRECTION_IN; in sati_ata_execute_device_diagnostic_construct()
141 sequence->protocol = SAT_PROTOCOL_DEVICE_DIAGNOSTIC; in sati_ata_execute_device_diagnostic_construct()
142 sequence->ata_transfer_length = 16; in sati_ata_execute_device_diagnostic_construct()
169 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_set_ascii_data_byte() argument
185 sequence, destination_scsi_io, destination_offset, source_value in sati_set_ascii_data_byte()
215 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_ata_identify_device_copy_data() argument
228 sequence, in sati_ata_identify_device_copy_data()
236 sequence, in sati_ata_identify_device_copy_data()
267 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_copy_data() argument
277 sequence, destination_scsi_io, destination_offset, *source_buffer in sati_copy_data()
373 SATI_TRANSLATOR_SEQUENCE_T * sequence in sati_ata_check_power_mode_construct() argument
379 sati_ata_non_data_command(ata_io, sequence); in sati_ata_check_power_mode_construct()
454 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_scsi_get_sense_data_buffer() argument
467 sati_scsi_get_sense_data_length(sequence, scsi_io), in sati_scsi_get_sense_data_buffer()
486 U8 sati_scsi_get_sense_data_response_code(SATI_TRANSLATOR_SEQUENCE_T * sequence) in sati_scsi_get_sense_data_response_code() argument
488 if (sequence->device->descriptor_sense_enable) in sati_scsi_get_sense_data_response_code()
504 U8 sati_scsi_get_descriptor_sense_data_length(SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_scsi_get_descriptor_sense_data_length() argument
561 U8 sati_scsi_get_sense_data_length(SATI_TRANSLATOR_SEQUENCE_T * sequence, void * scsi_io) in sati_scsi_get_sense_data_length() argument
565 response_code = sati_scsi_get_sense_data_response_code(sequence); in sati_scsi_get_sense_data_length()
575 return sati_scsi_get_descriptor_sense_data_length(sequence, scsi_io); in sati_scsi_get_sense_data_length()
605 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_scsi_sense_data_construct() argument
615 response_code = sati_scsi_get_sense_data_response_code(sequence); in sati_scsi_sense_data_construct()
621 sati_scsi_fixed_sense_data_construct(sequence, scsi_io, scsi_status, response_code, in sati_scsi_sense_data_construct()
626 sati_scsi_descriptor_sense_data_construct(sequence, scsi_io, scsi_status, response_code, in sati_scsi_sense_data_construct()
631 sequence->is_sense_response_set = TRUE; in sati_scsi_sense_data_construct()
849 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_scsi_descriptor_sense_data_construct() argument
861 sati_scsi_get_sense_data_buffer(sequence, scsi_io, scsi_status, &sense_data, &sense_len); in sati_scsi_descriptor_sense_data_construct()
879 …byte(sense_data, sense_len, 7, sati_scsi_get_descriptor_sense_data_length(sequence, scsi_io) - 8); in sati_scsi_descriptor_sense_data_construct()
905 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_scsi_fixed_sense_data_construct() argument
917 sati_scsi_get_sense_data_buffer(sequence, scsi_io, scsi_status, &sense_data, &sense_len); in sati_scsi_fixed_sense_data_construct()
1021 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_scsi_common_descriptor_sense_construct() argument
1040 …byte(sense_data, sense_len, 7, sati_scsi_get_descriptor_sense_data_length(sequence, scsi_io) - 8); in sati_scsi_common_descriptor_sense_construct()
1070 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_scsi_read_ncq_error_descriptor_sense_construct() argument
1087 sati_scsi_get_sense_data_buffer(sequence, scsi_io, scsi_status, &sense_data, &sense_len); in sati_scsi_read_ncq_error_descriptor_sense_construct()
1104 sequence, in sati_scsi_read_ncq_error_descriptor_sense_construct()
1141 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_scsi_read_ncq_error_fixed_sense_construct() argument
1157 sati_scsi_get_sense_data_buffer(sequence, scsi_io, scsi_status, &sense_data, &sense_len); in sati_scsi_read_ncq_error_fixed_sense_construct()
1186 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_scsi_read_ncq_error_sense_construct() argument
1197 response_code = sati_scsi_get_sense_data_response_code(sequence); in sati_scsi_read_ncq_error_sense_construct()
1203 … sati_scsi_read_ncq_error_fixed_sense_construct(sequence, scsi_io, ata_input_data, scsi_status, in sati_scsi_read_ncq_error_sense_construct()
1208 …sati_scsi_read_ncq_error_descriptor_sense_construct(sequence, scsi_io, ata_input_data, scsi_status, in sati_scsi_read_ncq_error_sense_construct()
1213 sequence->is_sense_response_set = TRUE; in sati_scsi_read_ncq_error_sense_construct()
1242 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_scsi_read_error_descriptor_sense_construct() argument
1258 sati_scsi_get_sense_data_buffer(sequence, scsi_io, scsi_status, &sense_data, &sense_len); in sati_scsi_read_error_descriptor_sense_construct()
1275 sequence, in sati_scsi_read_error_descriptor_sense_construct()
1312 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_scsi_read_error_fixed_sense_construct() argument
1328 sati_scsi_get_sense_data_buffer(sequence, scsi_io, scsi_status, &sense_data, &sense_len); in sati_scsi_read_error_fixed_sense_construct()
1358 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_scsi_read_error_sense_construct() argument
1369 response_code = sati_scsi_get_sense_data_response_code(sequence); in sati_scsi_read_error_sense_construct()
1375 sati_scsi_read_error_fixed_sense_construct(sequence, scsi_io, ata_input_data, scsi_status, in sati_scsi_read_error_sense_construct()
1380 … sati_scsi_read_error_descriptor_sense_construct(sequence, scsi_io, ata_input_data, scsi_status, in sati_scsi_read_error_sense_construct()
1385 sequence->is_sense_response_set = TRUE; in sati_scsi_read_error_sense_construct()
1400 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_scsi_response_data_construct() argument
1432 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_get_data_byte() argument
1438 if (byte_offset < sequence->allocation_length) in sati_get_data_byte()
1460 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_set_data_byte() argument
1466 if (byte_offset < sequence->allocation_length) in sati_set_data_byte()
1468 sequence->number_data_bytes_set++; in sati_set_data_byte()
1491 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_set_data_dword() argument
1499 sati_set_data_byte(sequence, scsi_io, byte_offset, (U8)value & 0xFF); in sati_set_data_dword()
1501 sati_set_data_byte(sequence, scsi_io, byte_offset, (U8)(value >> 8) & 0xFF); in sati_set_data_dword()
1503 sati_set_data_byte(sequence, scsi_io, byte_offset, (U8)(value >> 16) & 0xFF); in sati_set_data_dword()
1505 sati_set_data_byte(sequence, scsi_io, byte_offset, (U8)(value >> 24) & 0xFF); in sati_set_data_dword()
1523 SATI_TRANSLATOR_SEQUENCE_T * sequence in sati_ata_flush_cache_construct() argument
1529 sati_ata_non_data_command(ata_io, sequence); in sati_ata_flush_cache_construct()
1549 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_ata_standby_construct() argument
1558 sequence->device->ata_standby_timer = (U8) count; in sati_ata_standby_construct()
1560 sati_ata_non_data_command(ata_io, sequence); in sati_ata_standby_construct()
1578 SATI_TRANSLATOR_SEQUENCE_T * sequence in sati_ata_standby_immediate_construct() argument
1584 sati_ata_non_data_command(ata_io, sequence); in sati_ata_standby_immediate_construct()
1602 SATI_TRANSLATOR_SEQUENCE_T * sequence in sati_ata_idle_immediate_construct() argument
1613 sati_ata_non_data_command(ata_io, sequence); in sati_ata_idle_immediate_construct()
1632 SATI_TRANSLATOR_SEQUENCE_T * sequence in sati_ata_idle_immediate_unload_construct() argument
1643 sati_ata_non_data_command(ata_io, sequence); in sati_ata_idle_immediate_unload_construct()
1661 SATI_TRANSLATOR_SEQUENCE_T * sequence in sati_ata_idle_construct() argument
1670 sequence->device->ata_standby_timer = 0x00; in sati_ata_idle_construct()
1675 sati_ata_non_data_command(ata_io, sequence); in sati_ata_idle_construct()
1693 SATI_TRANSLATOR_SEQUENCE_T * sequence in sati_ata_media_eject_construct() argument
1699 sati_ata_non_data_command(ata_io, sequence); in sati_ata_media_eject_construct()
1718 SATI_TRANSLATOR_SEQUENCE_T * sequence in sati_ata_read_verify_sectors_construct() argument
1733 sati_ata_non_data_command(ata_io, sequence); in sati_ata_read_verify_sectors_construct()
1746 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_ata_smart_return_status_construct() argument
1759 sati_ata_non_data_command(ata_io, sequence); in sati_ata_smart_return_status_construct()
1772 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_ata_smart_read_log_construct() argument
1786 sequence->data_direction = SATI_DATA_DIRECTION_IN; in sati_ata_smart_read_log_construct()
1787 sequence->protocol = SAT_PROTOCOL_PIO_DATA_IN; in sati_ata_smart_read_log_construct()
1788 sequence->ata_transfer_length = transfer_length; in sati_ata_smart_read_log_construct()
1801 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_ata_write_uncorrectable_construct() argument
1810 sati_ata_non_data_command(ata_io, sequence); in sati_ata_write_uncorrectable_construct()
1822 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_ata_set_features_construct() argument
1830 sati_ata_non_data_command(ata_io, sequence); in sati_ata_set_features_construct()
1850 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_ata_read_log_ext_construct() argument
1865 sequence->data_direction = SATI_DATA_DIRECTION_IN; in sati_ata_read_log_ext_construct()
1866 sequence->protocol = SAT_PROTOCOL_PIO_DATA_IN; in sati_ata_read_log_ext_construct()
1867 sequence->ata_transfer_length = transfer_length; in sati_ata_read_log_ext_construct()
1882 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_device_state_stopped() argument
1886 if(sequence->device->state == SATI_DEVICE_STATE_STOPPED) in sati_device_state_stopped()
1889 sequence, in sati_device_state_stopped()
1914 SATI_TRANSLATOR_SEQUENCE_T * sequence in sati_ata_read_buffer_construct() argument
1920 sequence->data_direction = SATI_DATA_DIRECTION_IN; in sati_ata_read_buffer_construct()
1921 sequence->protocol = SAT_PROTOCOL_PIO_DATA_IN; in sati_ata_read_buffer_construct()
1922 sequence->ata_transfer_length = 512; in sati_ata_read_buffer_construct()
1939 SATI_TRANSLATOR_SEQUENCE_T * sequence in sati_ata_write_buffer_construct() argument
1946 sequence->data_direction = SATI_DATA_DIRECTION_OUT; in sati_ata_write_buffer_construct()
1947 sequence->protocol = SAT_PROTOCOL_PIO_DATA_OUT; in sati_ata_write_buffer_construct()
1948 sequence->ata_transfer_length = 512; in sati_ata_write_buffer_construct()
1972 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_ata_download_microcode_construct() argument
2000 sati_ata_non_data_command(ata_io, sequence); in sati_ata_download_microcode_construct()
2004 sequence->data_direction = SATI_DATA_DIRECTION_OUT; in sati_ata_download_microcode_construct()
2005 sequence->protocol = SAT_PROTOCOL_PIO_DATA_OUT; in sati_ata_download_microcode_construct()
2006 sequence->ata_transfer_length = allocation_length; in sati_ata_download_microcode_construct()