Home
last modified time | relevance | path

Searched refs:sati_get_cdb_byte (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/sys/dev/isci/scil/
H A Dsati_read_capacity.c97 (sati_get_cdb_byte(cdb, 2) != 0) in sati_read_capacity_10_translate_command()
98 || (sati_get_cdb_byte(cdb, 3) != 0) in sati_read_capacity_10_translate_command()
99 || (sati_get_cdb_byte(cdb, 4) != 0) in sati_read_capacity_10_translate_command()
100 || (sati_get_cdb_byte(cdb, 5) != 0) in sati_read_capacity_10_translate_command()
102 || ((sati_get_cdb_byte(cdb, 8) & SCSI_READ_CAPACITY_PMI_BIT_ENABLE) in sati_read_capacity_10_translate_command()
154 (sati_get_cdb_byte(cdb, 2) != 0) in sati_read_capacity_16_translate_command()
155 || (sati_get_cdb_byte(cdb, 3) != 0) in sati_read_capacity_16_translate_command()
156 || (sati_get_cdb_byte(cdb, 4) != 0) in sati_read_capacity_16_translate_command()
157 || (sati_get_cdb_byte(cdb, 5) != 0) in sati_read_capacity_16_translate_command()
158 || (sati_get_cdb_byte(cdb, 6) != 0) in sati_read_capacity_16_translate_command()
[all …]
H A Dsati_passthrough.c75 #define PASSTHROUGH_ISOLATE_BITS(cdb, index, mask, shift) (((sati_get_cdb_byte(cdb, index) & mask) …
82 #define PASSTHROUGH_CDB_MULTIPLE_COUNT(cdb) (sati_get_cdb_byte(cdb, 1) >> 5)
83 #define PASSTHROUGH_CDB_COMMAND(cdb, index) sati_get_cdb_byte(cdb, index)
114 if(sati_get_cdb_byte(cdb, 0 ) == SCSI_ATA_PASSTHRU_12) in sati_passthrough_multiple_count_error()
358 sati_set_ata_features(register_fis, sati_get_cdb_byte(cdb, 3)); in sati_passthrough_12_translate_command()
359 sati_set_ata_sector_count(register_fis, sati_get_cdb_byte(cdb, 4)); in sati_passthrough_12_translate_command()
360 sati_set_ata_lba_low(register_fis, sati_get_cdb_byte(cdb, 5)); in sati_passthrough_12_translate_command()
361 sati_set_ata_lba_mid(register_fis, sati_get_cdb_byte(cdb, 6)); in sati_passthrough_12_translate_command()
362 sati_set_ata_lba_high(register_fis, sati_get_cdb_byte(cdb, 7)); in sati_passthrough_12_translate_command()
363 sati_set_ata_device_head(register_fis, sati_get_cdb_byte(cdb, 8)); in sati_passthrough_12_translate_command()
[all …]
H A Dsati_move.c133 sati_set_ata_sector_count(register_fis, sati_get_cdb_byte(cdb, 4)); in sati_move_small_udma_translate_command()
199 sati_set_ata_features(register_fis, sati_get_cdb_byte(cdb, 4)); in sati_move_ncq_translate_8_bit_sector_count()
204 if (sati_get_cdb_byte(cdb, 4) == 0) in sati_move_ncq_translate_8_bit_sector_count()
297 sati_set_ata_lba_low(register_fis, sati_get_cdb_byte(cdb, 5)); in sati_move_translate_32_bit_lba()
298 sati_set_ata_lba_mid(register_fis, sati_get_cdb_byte(cdb, 4)); in sati_move_translate_32_bit_lba()
299 sati_set_ata_lba_high(register_fis, sati_get_cdb_byte(cdb, 3)); in sati_move_translate_32_bit_lba()
300 sati_set_ata_lba_low_exp(register_fis, sati_get_cdb_byte(cdb, 2)); in sati_move_translate_32_bit_lba()
329 if ( (sati_get_cdb_byte(cdb, 2) == 0) && (sati_get_cdb_byte(cdb, 3) == 0) ) in sati_move_translate_64_bit_lba()
331 sati_set_ata_lba_low(register_fis, sati_get_cdb_byte(cdb, 9)); in sati_move_translate_64_bit_lba()
332 sati_set_ata_lba_mid(register_fis, sati_get_cdb_byte(cdb, 8)); in sati_move_translate_64_bit_lba()
[all …]
H A Dsati_verify.c104 if ((sati_get_cdb_byte(cdb, 1) & SCSI_VERIFY_BYTCHK_ENABLED)) in sati_verify_translate_command()
157 U32 sector_count = (sati_get_cdb_byte(cdb, 7) << 8) | in sati_verify_10_translate_command()
158 (sati_get_cdb_byte(cdb, 8)); in sati_verify_10_translate_command()
200 U32 sector_count = (sati_get_cdb_byte(cdb, 6) << 24) | in sati_verify_12_translate_command()
201 (sati_get_cdb_byte(cdb, 7) << 16) | in sati_verify_12_translate_command()
202 (sati_get_cdb_byte(cdb, 8) << 8) | in sati_verify_12_translate_command()
203 (sati_get_cdb_byte(cdb, 9)); in sati_verify_12_translate_command()
245 U32 sector_count = (sati_get_cdb_byte(cdb, 10) << 24) | in sati_verify_16_translate_command()
246 (sati_get_cdb_byte(cdb, 11) << 16) | in sati_verify_16_translate_command()
247 (sati_get_cdb_byte(cdb, 12) << 8) | in sati_verify_16_translate_command()
[all …]
H A Dsati_read.c216 U32 sector_count = (sati_get_cdb_byte(cdb, 7) << 8) | in sati_read_10_translate_command()
217 (sati_get_cdb_byte(cdb, 8)); in sati_read_10_translate_command()
252 U32 sector_count = (sati_get_cdb_byte(cdb, 6) << 24) | in sati_read_12_translate_command()
253 (sati_get_cdb_byte(cdb, 7) << 16) | in sati_read_12_translate_command()
254 (sati_get_cdb_byte(cdb, 8) << 8) | in sati_read_12_translate_command()
255 (sati_get_cdb_byte(cdb, 9)); in sati_read_12_translate_command()
293 U32 sector_count = (sati_get_cdb_byte(cdb, 10) << 24) | in sati_read_16_translate_command()
294 (sati_get_cdb_byte(cdb, 11) << 16) | in sati_read_16_translate_command()
295 (sati_get_cdb_byte(cdb, 12) << 8) | in sati_read_16_translate_command()
296 (sati_get_cdb_byte(cdb, 13)); in sati_read_16_translate_command()
H A Dsati_write.c214 U32 sector_count = (sati_get_cdb_byte(cdb, 7) << 8) | in sati_write_10_translate_command()
215 (sati_get_cdb_byte(cdb, 8)); in sati_write_10_translate_command()
250 U32 sector_count = (sati_get_cdb_byte(cdb, 6) << 24) | in sati_write_12_translate_command()
251 (sati_get_cdb_byte(cdb, 7) << 16) | in sati_write_12_translate_command()
252 (sati_get_cdb_byte(cdb, 8) << 8) | in sati_write_12_translate_command()
253 (sati_get_cdb_byte(cdb, 9)); in sati_write_12_translate_command()
291 U32 sector_count = (sati_get_cdb_byte(cdb, 10) << 24) | in sati_write_16_translate_command()
292 (sati_get_cdb_byte(cdb, 11) << 16) | in sati_write_16_translate_command()
293 (sati_get_cdb_byte(cdb, 12) << 8) | in sati_write_16_translate_command()
294 (sati_get_cdb_byte(cdb, 13)); in sati_write_16_translate_command()
H A Dsati_mode_sense.c103 switch (sati_get_cdb_byte(cdb, 2) >> SCSI_MODE_SENSE_PC_SHIFT) in sati_mode_sense_is_page_control_supported()
151 switch (sati_get_cdb_byte(cdb, 2) & SCSI_MODE_SENSE_PAGE_CODE_ENABLE) in sati_mode_sense_is_page_code_supported()
154 if (sati_get_cdb_byte(cdb, 0) == SCSI_MODE_SENSE_6) in sati_mode_sense_is_page_code_supported()
161 if (sati_get_cdb_byte(cdb, 0) == SCSI_MODE_SENSE_6) in sati_mode_sense_is_page_code_supported()
168 if (sati_get_cdb_byte(cdb, 0) == SCSI_MODE_SENSE_6) in sati_mode_sense_is_page_code_supported()
175 if (sati_get_cdb_byte(cdb, 0) == SCSI_MODE_SENSE_6) in sati_mode_sense_is_page_code_supported()
182 if (sati_get_cdb_byte(cdb, 0) == SCSI_MODE_SENSE_6) in sati_mode_sense_is_page_code_supported()
189 if (sati_get_cdb_byte(cdb, 0) == SCSI_MODE_SENSE_6) in sati_mode_sense_is_page_code_supported()
203 if (sati_get_cdb_byte(cdb, 0) == SCSI_MODE_SENSE_6) in sati_mode_sense_is_page_code_supported()
229 if (sati_get_cdb_byte(cdb, 0) == SCSI_MODE_SENSE_6) in sati_mode_sense_is_page_code_supported()
[all …]
H A Dsati_read_buffer.c94 allocation_length = ((sati_get_cdb_byte(cdb, 6) << 16) | in sati_read_buffer_translate_command()
95 (sati_get_cdb_byte(cdb, 7) << 8) | in sati_read_buffer_translate_command()
96 (sati_get_cdb_byte(cdb, 8))); in sati_read_buffer_translate_command()
98 buffer_offset = ((sati_get_cdb_byte(cdb, 3) << 16) | in sati_read_buffer_translate_command()
99 (sati_get_cdb_byte(cdb, 4) << 8) | in sati_read_buffer_translate_command()
100 (sati_get_cdb_byte(cdb, 5))); in sati_read_buffer_translate_command()
104 switch(sati_get_cdb_byte(cdb, 1)) in sati_read_buffer_translate_command()
108 (sati_get_cdb_byte(cdb, 2) == 0)) in sati_read_buffer_translate_command()
H A Dsati_start_stop_unit.h68 (( sati_get_cdb_byte(cdb, 4) & SCSI_START_STOP_UNIT_POWER_CONDITION_MASK ) \
72 (( sati_get_cdb_byte(cdb, 4) & SCSI_START_STOP_UNIT_START_BIT_MASK ) \
76 (( sati_get_cdb_byte(cdb, 4) & SCSI_START_STOP_UNIT_LOEJ_BIT_MASK ) \
80 (( sati_get_cdb_byte(cdb, 4) & SCSI_START_STOP_UNIT_NO_FLUSH_MASK ) \
84 (( sati_get_cdb_byte(cdb, 1) & SCSI_START_STOP_UNIT_IMMED_MASK ) \
88 (( sati_get_cdb_byte(cdb, 3) & SCSI_START_STOP_UNIT_POWER_CONDITION_MODIFIER_MASK) \
H A Dsati_write_buffer.c95 allocation_length = ((sati_get_cdb_byte(cdb, 6) << 16) | in sati_write_buffer_translate_command()
96 (sati_get_cdb_byte(cdb, 7) << 8) | in sati_write_buffer_translate_command()
97 (sati_get_cdb_byte(cdb, 8))); in sati_write_buffer_translate_command()
99 buffer_offset = ((sati_get_cdb_byte(cdb, 3) << 16) | in sati_write_buffer_translate_command()
100 (sati_get_cdb_byte(cdb, 4) << 8) | in sati_write_buffer_translate_command()
101 (sati_get_cdb_byte(cdb, 5))); in sati_write_buffer_translate_command()
106 switch(sati_get_cdb_byte(cdb, 1)) in sati_write_buffer_translate_command()
111 (sati_get_cdb_byte(cdb, 2) == 0)) in sati_write_buffer_translate_command()
H A Dsati_write_long.c119 if(sati_get_cdb_byte(cdb, 0) == SCSI_WRITE_LONG_10) in sati_write_long_translate_command()
121 byte_transfer_length = (sati_get_cdb_byte(cdb, 7) << 8) | in sati_write_long_translate_command()
122 (sati_get_cdb_byte(cdb, 8)); in sati_write_long_translate_command()
128 byte_transfer_length = (sati_get_cdb_byte(cdb, 12) << 8) | in sati_write_long_translate_command()
129 (sati_get_cdb_byte(cdb, 13)); in sati_write_long_translate_command()
H A Dsati_report_luns.c90 sequence->allocation_length = (sati_get_cdb_byte(cdb, 6) << 24) | in sati_report_luns_translate_command()
91 (sati_get_cdb_byte(cdb, 7) << 16) | in sati_report_luns_translate_command()
92 (sati_get_cdb_byte(cdb, 8) << 8) | in sati_report_luns_translate_command()
93 (sati_get_cdb_byte(cdb, 9)); in sati_report_luns_translate_command()
H A Dsati_mode_sense_10.c128 if (sati_get_cdb_byte(cdb, 1) & SCSI_MODE_SENSE_DBD_ENABLE) in sati_mode_sense_10_build_header()
134 if (sati_get_cdb_byte(cdb, 1) & SCSI_MODE_SENSE_LLBAA_ENABLE) in sati_mode_sense_10_build_header()
227 if ((sati_get_cdb_byte(cdb, 1) & SCSI_MODE_SENSE_DBD_ENABLE) == 0) in sati_mode_sense_10_translate_data()
231 if (sati_get_cdb_byte(cdb, 1) & SCSI_MODE_SENSE_LLBAA_ENABLE) in sati_mode_sense_10_translate_data()
274 sequence->allocation_length = (sati_get_cdb_byte(cdb, 7) << 8) | in sati_mode_sense_10_translate_command()
275 (sati_get_cdb_byte(cdb, 8)); in sati_mode_sense_10_translate_command()
H A Dsati_log_sense.h68 (( sati_get_cdb_byte((cdb), 2) & SCSI_LOG_SENSE_PC_FIELD_MASK ) \
72 (( sati_get_cdb_byte((cdb), 2) & SCSI_LOG_SENSE_PAGE_CODE_FIELD_MASK ) \
H A Dsati_inquiry.c668 if ( ((sati_get_cdb_byte(cdb, 1) & SCSI_INQUIRY_EVPD_ENABLE) == 0) in sati_inquiry_translate_command()
669 && (sati_get_cdb_byte(cdb, 2) != 0) ) in sati_inquiry_translate_command()
683 sequence->allocation_length = (sati_get_cdb_byte(cdb, 3) << 8) | in sati_inquiry_translate_command()
684 (sati_get_cdb_byte(cdb, 4)); in sati_inquiry_translate_command()
688 if (sati_get_cdb_byte(cdb, 1) & SCSI_INQUIRY_EVPD_ENABLE) in sati_inquiry_translate_command()
691 switch (sati_get_cdb_byte(cdb, 2)) in sati_inquiry_translate_command()
H A Dsati_mode_sense_6.c115 if (sati_get_cdb_byte(cdb, 1) & SCSI_MODE_SENSE_DBD_ENABLE) in sati_mode_sense_6_build_header()
157 if ((sati_get_cdb_byte(cdb, 1) & SCSI_MODE_SENSE_DBD_ENABLE) == 0) in sati_mode_sense_6_translate_data()
193 sequence->allocation_length = sati_get_cdb_byte(cdb, 4); in sati_mode_sense_6_translate_command()
H A Dsati_mode_select.c855 data_transfer_length = sati_get_cdb_byte(cdb, 4); in sati_mode_select_translate_command()
860 data_transfer_length = (sati_get_cdb_byte(cdb, 7) << 8) + sati_get_cdb_byte(cdb, 8); in sati_mode_select_translate_command()
972 if ((sati_get_cdb_byte(cdb, 1) & SCSI_MODE_SELECT_PF_MASK) == !SCSI_MODE_SELECT_PF_BIT) in sati_mode_select_6_translate_command()
1032 if ((sati_get_cdb_byte(cdb, 1) & SCSI_MODE_SELECT_PF_MASK) == !SCSI_MODE_SELECT_PF_BIT) in sati_mode_select_10_translate_command()
H A Dsati_write_long.h67 (( sati_get_cdb_byte(cdb, 1) & 0xE0) \
H A Dsati_log_sense.c605 (sati_get_cdb_byte(cdb, 3) == 0)) in sati_log_sense_translate_command()
607 sequence->allocation_length = (sati_get_cdb_byte(cdb, 7) << 8) | in sati_log_sense_translate_command()
608 (sati_get_cdb_byte(cdb, 8)); in sati_log_sense_translate_command()
H A Dsati_synchronize_cache.c103 if (sati_get_cdb_byte(cdb, 1) & SCSI_SYNCHRONIZE_CACHE_IMMED_ENABLED) in sati_synchronize_cache_translate_command()
H A Dsati_unmap.c259 unmap_length = (sati_get_cdb_byte(cdb, 7) << 8) | sati_get_cdb_byte(cdb, 8); in sati_unmap_initial_processing()
H A Dsati_reassign_blocks.c283 if ((sati_get_cdb_byte(cdb, 1) & SCSI_REASSIGN_BLOCKS_LONGLBA_BIT) == 0) in sati_reassign_blocks_initial_processing()
295 if ((sati_get_cdb_byte(cdb, 1) & SCSI_REASSIGN_BLOCKS_LONGLIST_BIT) == 0) in sati_reassign_blocks_initial_processing()
H A Dsati.c419 if ( (sati_get_cdb_byte(cdb, sati_cb_get_cdb_length(scsi_io) - 1) in sati_translate_command()
466 switch (sati_get_cdb_byte(cdb, 0)) in sati_translate_command()
528 if ( (sati_get_cdb_byte(cdb, 1) & SCSI_SERVICE_ACTION_MASK) in sati_translate_command()
H A Dsati_atapi.c115 if (sati_get_cdb_byte(cdb, 0) == SCSI_REPORT_LUNS) in sati_atapi_translate_command()
H A Dsati_request_sense.c166 sequence->allocation_length = sati_get_cdb_byte(cdb, 4); in sati_request_sense_translate_command()

12