/freebsd/sys/dev/isci/scil/ |
H A D | sati_inquiry.c | 167 sati_set_data_byte(sequence, scsi_io, 0, 0x00); in sati_inquiry_standard_translate_data() 172 sati_set_data_byte(sequence, scsi_io, 1, 0x80); in sati_inquiry_standard_translate_data() 174 sati_set_data_byte(sequence, scsi_io, 1, 0x00); in sati_inquiry_standard_translate_data() 176 sati_set_data_byte(sequence, scsi_io, 2, 0x05); // Indicate SPC-3 support in sati_inquiry_standard_translate_data() 177 sati_set_data_byte(sequence, scsi_io, 3, 0x02); // Response Format SPC-3 in sati_inquiry_standard_translate_data() 179 sati_set_data_byte(sequence, scsi_io, 4, 62); // 62 Additional Data Bytes. in sati_inquiry_standard_translate_data() 182 sati_set_data_byte(sequence, scsi_io, 5, 0x00); in sati_inquiry_standard_translate_data() 183 sati_set_data_byte(sequence, scsi_io, 6, 0x00); in sati_inquiry_standard_translate_data() 184 sati_set_data_byte(sequence, scsi_io, 7, 0x02); // Enable Cmd Queueing in sati_inquiry_standard_translate_data() 187 sati_set_data_byte(sequence, scsi_io, 8, 0x41); in sati_inquiry_standard_translate_data() [all …]
|
H A D | sati_log_sense.c | 87 sati_set_data_byte(sequence, scsi_io, 0, 0x00); in sati_supported_log_page_construct() 90 sati_set_data_byte(sequence, scsi_io, 1, 0x00); in sati_supported_log_page_construct() 93 sati_set_data_byte(sequence, scsi_io, 2, 0x00); in sati_supported_log_page_construct() 94 sati_set_data_byte(sequence, scsi_io, 3, 0x02); in sati_supported_log_page_construct() 101 sati_set_data_byte( in sati_supported_log_page_construct() 112 sati_set_data_byte( in sati_supported_log_page_construct() 133 sati_set_data_byte(sequence, scsi_io, 8, 0x00); //log_parameter byte 4 in sati_set_parameters_to_zero() 134 sati_set_data_byte(sequence, scsi_io, 9, 0x00); //log_parameter byte 5 in sati_set_parameters_to_zero() 135 sati_set_data_byte(sequence, scsi_io, 10, 0x00); //log_parameter byte 6 in sati_set_parameters_to_zero() 136 sati_set_data_byte(sequence, scsi_io, 11, 0x00); //log_parameter byte 7 in sati_set_parameters_to_zero() [all …]
|
H A D | sati_read_capacity.c | 227 sati_set_data_byte(sequence, scsi_io, 0, 0xFF); in sati_read_capacity_10_translate_data() 228 sati_set_data_byte(sequence, scsi_io, 1, 0xFF); in sati_read_capacity_10_translate_data() 229 sati_set_data_byte(sequence, scsi_io, 2, 0xFF); in sati_read_capacity_10_translate_data() 230 sati_set_data_byte(sequence, scsi_io, 3, 0xFF); in sati_read_capacity_10_translate_data() 236 sati_set_data_byte(sequence, scsi_io, 0, (U8)((lba_low >> 24) & 0xFF)); in sati_read_capacity_10_translate_data() 237 sati_set_data_byte(sequence, scsi_io, 1, (U8)((lba_low >> 16) & 0xFF)); in sati_read_capacity_10_translate_data() 238 sati_set_data_byte(sequence, scsi_io, 2, (U8)((lba_low >> 8) & 0xFF)); in sati_read_capacity_10_translate_data() 239 sati_set_data_byte(sequence, scsi_io, 3, (U8)(lba_low & 0xFF)); in sati_read_capacity_10_translate_data() 242 sati_set_data_byte(sequence, scsi_io, 4, (U8)((sector_size >> 24) & 0xFF)); in sati_read_capacity_10_translate_data() 243 sati_set_data_byte(sequence, scsi_io, 5, (U8)((sector_size >> 16) & 0xFF)); in sati_read_capacity_10_translate_data() [all …]
|
H A D | sati_report_luns.c | 99 sati_set_data_byte(sequence, scsi_io, 0, 0); in sati_report_luns_translate_command() 100 sati_set_data_byte(sequence, scsi_io, 1, 0); in sati_report_luns_translate_command() 101 sati_set_data_byte(sequence, scsi_io, 2, 0); in sati_report_luns_translate_command() 102 sati_set_data_byte(sequence, scsi_io, 3, 8); in sati_report_luns_translate_command() 105 sati_set_data_byte(sequence, scsi_io, 4, 0); in sati_report_luns_translate_command() 106 sati_set_data_byte(sequence, scsi_io, 5, 0); in sati_report_luns_translate_command() 107 sati_set_data_byte(sequence, scsi_io, 6, 0); in sati_report_luns_translate_command() 108 sati_set_data_byte(sequence, scsi_io, 7, 0); in sati_report_luns_translate_command() 111 sati_set_data_byte(sequence, scsi_io, 8, 0); in sati_report_luns_translate_command() 112 sati_set_data_byte(sequence, scsi_io, 9, 0); in sati_report_luns_translate_command() [all …]
|
H A D | sati_mode_sense_10.c | 106 sati_set_data_byte(sequence, scsi_io, 0, (U8)(mode_data_length >> 8) & 0xFF); in sati_mode_sense_10_build_header() 107 sati_set_data_byte(sequence, scsi_io, 1, (U8)(mode_data_length & 0xFF)); in sati_mode_sense_10_build_header() 110 sati_set_data_byte(sequence, scsi_io, 2, SCSI_MODE_HEADER_MEDIUM_TYPE_SBC); in sati_mode_sense_10_build_header() 114 sati_set_data_byte(sequence,scsi_io,3,SCSI_MODE_SENSE_HEADER_FUA_ENABLE); in sati_mode_sense_10_build_header() 116 sati_set_data_byte(sequence, scsi_io, 3, 0); in sati_mode_sense_10_build_header() 120 sati_set_data_byte(sequence, scsi_io, 4, 0); in sati_mode_sense_10_build_header() 121 sati_set_data_byte(sequence, scsi_io, 5, 0); in sati_mode_sense_10_build_header() 125 sati_set_data_byte(sequence, scsi_io, 6, 0); in sati_mode_sense_10_build_header() 129 sati_set_data_byte(sequence, scsi_io, 7, 0); in sati_mode_sense_10_build_header() 136 sati_set_data_byte(sequence, scsi_io, 4, 1); in sati_mode_sense_10_build_header() [all …]
|
H A D | sati_request_sense.c | 326 sati_set_data_byte( in sati_request_sense_data_response_construct() 333 sati_set_data_byte(sequence, scsi_io, 1, 0); in sati_request_sense_data_response_construct() 334 sati_set_data_byte(sequence, scsi_io, 2, sense_key); in sati_request_sense_data_response_construct() 335 sati_set_data_byte(sequence, scsi_io, 3, 0); in sati_request_sense_data_response_construct() 336 sati_set_data_byte(sequence, scsi_io, 4, 0); in sati_request_sense_data_response_construct() 337 sati_set_data_byte(sequence, scsi_io, 5, 0); in sati_request_sense_data_response_construct() 338 sati_set_data_byte(sequence, scsi_io, 6, 0); in sati_request_sense_data_response_construct() 339 sati_set_data_byte(sequence, scsi_io, 7, 0); in sati_request_sense_data_response_construct() 340 sati_set_data_byte(sequence, scsi_io, 8, 0); in sati_request_sense_data_response_construct() 341 sati_set_data_byte(sequence, scsi_io, 9, 0); in sati_request_sense_data_response_construct() [all …]
|
H A D | sati_mode_sense.c | 368 sati_set_data_byte(sequence, scsi_io, offset, (U8)((lba_low>>24) & 0xFF)); in sati_mode_sense_build_std_block_descriptor() 369 sati_set_data_byte(sequence, scsi_io, offset+1, (U8)((lba_low>>16) & 0xFF)); in sati_mode_sense_build_std_block_descriptor() 370 sati_set_data_byte(sequence, scsi_io, offset+2, (U8)((lba_low>>8) & 0xFF)); in sati_mode_sense_build_std_block_descriptor() 371 sati_set_data_byte(sequence, scsi_io, offset+3, (U8)(lba_low & 0xFF)); in sati_mode_sense_build_std_block_descriptor() 374 sati_set_data_byte(sequence, scsi_io, offset+4, 0); in sati_mode_sense_build_std_block_descriptor() 377 sati_set_data_byte(sequence,scsi_io, offset+5, (U8)((sector_size>>16) & 0xFF)); in sati_mode_sense_build_std_block_descriptor() 378 sati_set_data_byte(sequence,scsi_io, offset+6, (U8)((sector_size>>8) & 0xFF)); in sati_mode_sense_build_std_block_descriptor() 379 sati_set_data_byte(sequence,scsi_io, offset+7, (U8)(sector_size & 0xFF)); in sati_mode_sense_build_std_block_descriptor() 565 sati_set_data_byte(sequence, scsi_io, offset+2, value); in sati_mode_sense_caching_translate_data() 579 sati_set_data_byte(sequence, scsi_io, offset+12, value); in sati_mode_sense_caching_translate_data() [all …]
|
H A D | sati_mode_sense_6.c | 103 sati_set_data_byte(sequence, scsi_io, 0, (U8)mode_data_length-1); in sati_mode_sense_6_build_header() 106 sati_set_data_byte(sequence, scsi_io, 1, SCSI_MODE_HEADER_MEDIUM_TYPE_SBC); in sati_mode_sense_6_build_header() 110 sati_set_data_byte(sequence,scsi_io,2,SCSI_MODE_SENSE_HEADER_FUA_ENABLE); in sati_mode_sense_6_build_header() 112 sati_set_data_byte(sequence, scsi_io, 2, 0); in sati_mode_sense_6_build_header() 116 sati_set_data_byte(sequence, scsi_io, 3, 0); in sati_mode_sense_6_build_header() 118 sati_set_data_byte( in sati_mode_sense_6_build_header()
|
H A D | sati_read_buffer.c | 149 sati_set_data_byte(sequence, scsi_io, 0, 0x09); //offset boundary in sati_read_buffer_translate_command() 150 sati_set_data_byte(sequence, scsi_io, 1, 0x00); in sati_read_buffer_translate_command() 151 sati_set_data_byte(sequence, scsi_io, 2, 0x02); //buffer capacity 0x200 in sati_read_buffer_translate_command() 152 sati_set_data_byte(sequence, scsi_io, 3, 0x00); in sati_read_buffer_translate_command()
|
H A D | sati_util.c | 184 sati_set_data_byte( in sati_set_ascii_data_byte() 276 sati_set_data_byte( in sati_copy_data() 1459 void sati_set_data_byte( in sati_set_data_byte() function 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()
|
H A D | sati_util.h | 268 void sati_set_data_byte(
|