/freebsd/sys/dev/isci/scil/ |
H A D | sati_inquiry.c | 84 * @param[in] sequence This parameter specifies the translator sequence 95 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_inquiry_construct_product_revision() argument 113 sequence, in sati_inquiry_construct_product_revision() 127 sequence, in sati_inquiry_construct_product_revision() 147 * @param[in] sequence This parameter specifies the translator sequence 157 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_inquiry_standard_translate_data() argument 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() [all …]
|
H A D | sati_log_sense.c | 81 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_supported_log_page_construct() argument 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() 99 if(sequence->device->capabilities & SATI_DEVICE_CAP_SMART_SUPPORT) in sati_supported_log_page_construct() 102 sequence, in sati_supported_log_page_construct() 110 if(sequence->device->capabilities & SATI_DEVICE_CAP_SMART_SELF_TEST_SUPPORT) in sati_supported_log_page_construct() 113 sequence, in sati_supported_log_page_construct() 129 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_set_parameters_to_zero() argument [all …]
|
H A D | sati.c | 112 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_translate_error() argument 120 sequence, in sati_translate_error() 131 sequence, in sati_translate_error() 142 sequence, in sati_translate_error() 153 sequence, in sati_translate_error() 163 //Mark the Sequence state as a read error so more sense data in sati_translate_error() 165 sequence->state = SATI_SEQUENCE_STATE_READ_ERROR; in sati_translate_error() 167 sequence, in sati_translate_error() 175 else if ( (sequence->data_direction == SATI_DATA_DIRECTION_OUT) in sati_translate_error() 179 sequence, in sati_translate_error() [all …]
|
H A D | sati_start_stop_unit.c | 84 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_start_stop_unit_translate_command() argument 100 sati_ata_standby_immediate_construct(ata_io, sequence); in sati_start_stop_unit_translate_command() 101 sequence->command_specific_data.translated_command = ATA_STANDBY_IMMED; in sati_start_stop_unit_translate_command() 105 if ( sequence->state != SATI_SEQUENCE_STATE_INCOMPLETE ) in sati_start_stop_unit_translate_command() 108 sati_ata_flush_cache_construct(ata_io, sequence); in sati_start_stop_unit_translate_command() 109 sequence->command_specific_data.translated_command = ATA_FLUSH_CACHE; in sati_start_stop_unit_translate_command() 112 sequence->state = SATI_SEQUENCE_STATE_INCOMPLETE; in sati_start_stop_unit_translate_command() 118 sati_ata_standby_immediate_construct(ata_io, sequence); in sati_start_stop_unit_translate_command() 119 sequence->command_specific_data.translated_command = ATA_STANDBY_IMMED; in sati_start_stop_unit_translate_command() 128 if (sequence->device->capabilities & SATI_DEVICE_CAP_REMOVABLE_MEDIA) in sati_start_stop_unit_translate_command() [all …]
|
H A D | sati_write_and_verify.c | 76 * happens by passing the SCSI IO, ATA IO, and Sequence pointers 85 * @retval SATI_FAILURE is returned if there the sequence is out of 90 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_write_and_verify_10_translate_command() argument 97 if(sequence->state == SATI_SEQUENCE_STATE_INITIAL) in sati_write_and_verify_10_translate_command() 99 status = sati_write_10_translate_command(sequence, scsi_io, ata_io); in sati_write_and_verify_10_translate_command() 100 sequence->state = SATI_SEQUENCE_STATE_INCOMPLETE; in sati_write_and_verify_10_translate_command() 101 sequence->is_translate_response_required = TRUE; in sati_write_and_verify_10_translate_command() 103 else if(sequence->state == SATI_SEQUENCE_STATE_INCOMPLETE) in sati_write_and_verify_10_translate_command() 105 status = sati_verify_10_translate_command(sequence, scsi_io, ata_io); in sati_write_and_verify_10_translate_command() 106 sequence->state = SATI_SEQUENCE_STATE_AWAIT_RESPONSE; in sati_write_and_verify_10_translate_command() [all …]
|
H A D | sati_request_sense.c | 92 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_request_sense_translate_command() argument 100 switch(sequence->device->state) in sati_request_sense_translate_command() 104 sequence, in sati_request_sense_translate_command() 116 sequence, in sati_request_sense_translate_command() 120 sequence->device->unit_attention_asc, in sati_request_sense_translate_command() 121 sequence->device->unit_attention_ascq in sati_request_sense_translate_command() 128 sequence, in sati_request_sense_translate_command() 140 sequence, in sati_request_sense_translate_command() 152 sequence, in sati_request_sense_translate_command() 166 sequence->allocation_length = sati_get_cdb_byte(cdb, 4); in sati_request_sense_translate_command() [all …]
|
H A D | sati_mode_select.c | 188 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_mode_select_initialize_mode_sel_processing_state() argument 195 sequence->command_specific_data.process_state.ata_command_sent_for_cmp = 0; in sati_mode_select_initialize_mode_sel_processing_state() 196 sequence->command_specific_data.process_state.mode_page_offset=mode_page_offset; in sati_mode_select_initialize_mode_sel_processing_state() 197 …sequence->command_specific_data.process_state.mode_pages_size = data_transfer_length - mode_page… in sati_mode_select_initialize_mode_sel_processing_state() 198 sequence->command_specific_data.process_state.size_of_data_processed = 0; in sati_mode_select_initialize_mode_sel_processing_state() 199 sequence->command_specific_data.process_state.current_mode_page_processed = FALSE; in sati_mode_select_initialize_mode_sel_processing_state() 262 SATI_TRANSLATOR_SEQUENCE_T* sequence, in sati_mode_select_process_mode_page_read_write_error_recovery() argument 272 mode_page_offset = sequence->command_specific_data.process_state.mode_page_offset; in sati_mode_select_process_mode_page_read_write_error_recovery() 278 sati_get_data_byte(sequence, scsi_io, mode_page_offset, ¤t_mode_page[0]); in sati_mode_select_process_mode_page_read_write_error_recovery() 279 sati_get_data_byte(sequence, scsi_io, mode_page_offset+1, ¤t_mode_page[1]); in sati_mode_select_process_mode_page_read_write_error_recovery() [all …]
|
H A D | sati_util.c | 80 * @param[in] sequence This parameter specifies the translator 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() 103 * @param[in] sequence This parameter specifies the translator sequence 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() [all …]
|
H A D | sati_mode_sense.c | 97 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_mode_sense_is_page_control_supported() argument 114 sequence, in sati_mode_sense_is_page_control_supported() 144 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_mode_sense_is_page_code_supported() argument 155 sequence->type = SATI_SEQUENCE_MODE_SENSE_6_CACHING; in sati_mode_sense_is_page_code_supported() 157 sequence->type = SATI_SEQUENCE_MODE_SENSE_10_CACHING; in sati_mode_sense_is_page_code_supported() 162 sequence->type = SATI_SEQUENCE_MODE_SENSE_6_ALL_PAGES; in sati_mode_sense_is_page_code_supported() 164 sequence->type = SATI_SEQUENCE_MODE_SENSE_10_ALL_PAGES; in sati_mode_sense_is_page_code_supported() 169 sequence->type = SATI_SEQUENCE_MODE_SENSE_6_READ_WRITE_ERROR; in sati_mode_sense_is_page_code_supported() 171 sequence->type = SATI_SEQUENCE_MODE_SENSE_10_READ_WRITE_ERROR; in sati_mode_sense_is_page_code_supported() 176 sequence->type = SATI_SEQUENCE_MODE_SENSE_6_DISCONNECT_RECONNECT; in sati_mode_sense_is_page_code_supported() [all …]
|
H A D | sati_mode_sense_10.c | 93 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_mode_sense_10_build_header() argument 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() 113 if (sequence->device->capabilities & SATI_DEVICE_CAP_DMA_FUA_ENABLE) 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() [all …]
|
H A D | sati_reassign_blocks.c | 129 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_reassign_blocks_verify_command() argument 136 sati_ata_non_data_command(ata_io, sequence); in sati_reassign_blocks_verify_command() 139 if (sequence->device->capabilities & SATI_DEVICE_CAP_48BIT_ENABLE) in sati_reassign_blocks_verify_command() 162 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_reassign_blocks_write_command() argument 169 sati_ata_non_data_command(ata_io, sequence); in sati_reassign_blocks_write_command() 170 sequence->data_direction = SATI_DATA_DIRECTION_OUT; in sati_reassign_blocks_write_command() 173 // status=sati_move_set_sector_count(sequence,scsi_io,ata_io,1,0); in sati_reassign_blocks_write_command() 176 if (sequence->device->capabilities & SATI_DEVICE_CAP_48BIT_ENABLE) in sati_reassign_blocks_write_command() 181 return SATI_SUCCESS; //sati_move_set_sector_count(sequence,scsi_io,ata_io,1,0); in sati_reassign_blocks_write_command() 192 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_reassign_blocks_verify_condition() argument [all …]
|
H A D | sati_read_capacity.c | 83 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_read_capacity_10_translate_command() argument 107 sequence, in sati_read_capacity_10_translate_command() 118 sequence->allocation_length = SCSI_READ_CAPACITY_10_DATA_LENGTH; in sati_read_capacity_10_translate_command() 119 sequence->type = SATI_SEQUENCE_READ_CAPACITY_10; in sati_read_capacity_10_translate_command() 121 sati_ata_identify_device_construct(ata_io, sequence); in sati_read_capacity_10_translate_command() 140 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_read_capacity_16_translate_command() argument 168 sequence, in sati_read_capacity_16_translate_command() 179 sequence->allocation_length = (sati_get_cdb_byte(cdb, 10) << 24) | in sati_read_capacity_16_translate_command() 184 sequence->type = SATI_SEQUENCE_READ_CAPACITY_16; in sati_read_capacity_16_translate_command() 186 sati_ata_identify_device_construct(ata_io, sequence); in sati_read_capacity_16_translate_command() [all …]
|
H A D | sati_unmap.c | 83 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_unmap_calculate_dsm_blocks() argument 87 U32 blocks = (dsm_descriptor_count * sizeof(TRIM_PAIR))/sequence->device->logical_block_size; in sati_unmap_calculate_dsm_blocks() 88 if ((dsm_descriptor_count * sizeof(TRIM_PAIR)) % sequence->device->logical_block_size) in sati_unmap_calculate_dsm_blocks() 109 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_unmap_construct() argument 128 sequence->data_direction = SATI_DATA_DIRECTION_OUT; in sati_unmap_construct() 129 sequence->protocol = SAT_PROTOCOL_UDMA_DATA_OUT; in sati_unmap_construct() 133 sequence->is_translate_response_required = TRUE; in sati_unmap_construct() 141 * @brief This method updates the unmap sequence state to the next 148 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_unmap_load_next_descriptor() argument 156 unmap_process_state = &sequence->command_specific_data.unmap_process_state; in sati_unmap_load_next_descriptor() [all …]
|
H A D | sati_util.h | 151 SATI_TRANSLATOR_SEQUENCE_T * sequence 156 SATI_TRANSLATOR_SEQUENCE_T * sequence 161 SATI_TRANSLATOR_SEQUENCE_T * sequence 165 SATI_TRANSLATOR_SEQUENCE_T * sequence, 175 SATI_TRANSLATOR_SEQUENCE_T * sequence, 191 SATI_TRANSLATOR_SEQUENCE_T * sequence 195 SATI_TRANSLATOR_SEQUENCE_T * sequence, 207 SATI_TRANSLATOR_SEQUENCE_T * sequence, 216 SATI_TRANSLATOR_SEQUENCE_T * sequence, 226 SATI_TRANSLATOR_SEQUENCE_T * sequence, [all …]
|
H A D | sati_passthrough.c | 146 * @param[in] sequence This parameter specifies the translation 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() 242 * It will additionally set the direction on the sequence. 244 * @param[in,out] sequence This parameter specifies the translation sequence 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() [all …]
|
H A D | sati_write_buffer.c | 84 SATI_TRANSLATOR_SEQUENCE_T * sequence, in sati_write_buffer_translate_command() argument 103 sequence->allocation_length = allocation_length; in sati_write_buffer_translate_command() 113 sati_ata_write_buffer_construct(ata_io, sequence); in sati_write_buffer_translate_command() 114 sequence->type = SATI_SEQUENCE_WRITE_BUFFER; in sati_write_buffer_translate_command() 115 sequence->state = SATI_SEQUENCE_STATE_AWAIT_RESPONSE; in sati_write_buffer_translate_command() 121 sequence, in sati_write_buffer_translate_command() 129 sequence->state = SATI_SEQUENCE_STATE_FINAL; in sati_write_buffer_translate_command() 138 sequence, in sati_write_buffer_translate_command() 144 sequence->type = SATI_SEQUENCE_WRITE_BUFFER_MICROCODE; in sati_write_buffer_translate_command() 145 sequence->state = SATI_SEQUENCE_STATE_AWAIT_RESPONSE; in sati_write_buffer_translate_command() [all …]
|
H A D | sati_move.c | 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() [all …]
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | test.asn1 | 13 TESTLargeTag ::= SEQUENCE { 18 TESTSeq ::= SEQUENCE { 41 TESTImplicit ::= SEQUENCE { 43 ti2[1] IMPLICIT SEQUENCE { 49 TESTImplicit2 ::= SEQUENCE { 55 TESTAllocInner ::= SEQUENCE { 59 TESTAlloc ::= SEQUENCE { 65 TESTOptional ::= SEQUENCE { 96 TESTSeqOf ::= SEQUENCE OF TESTInteger 98 TESTSeqSizeOf1 ::= SEQUENCE SIZ [all...] |
H A D | krb5.asn1 | 263 PrincipalName ::= SEQUENCE { 265 name-string[1] SEQUENCE OF GeneralString 269 Principal ::= SEQUENCE { 274 Principals ::= SEQUENCE OF Principal 276 HostAddress ::= SEQUENCE { 283 -- HostAddresses ::= SEQUENCE OF SEQUENCE { 289 HostAddresses ::= SEQUENCE OF HostAddress 294 AuthorizationDataElement ::= SEQUENCE { 299 AuthorizationData ::= SEQUENCE OF AuthorizationDataElement 356 LastReq ::= SEQUENCE OF SEQUENCE { [all …]
|
H A D | pkinit.asn1 | 48 KDFAlgorithmId ::= SEQUENCE { 53 TrustedCA ::= SEQUENCE { 60 ExternalPrincipalIdentifier ::= SEQUENCE { 67 ExternalPrincipalIdentifiers ::= SEQUENCE OF ExternalPrincipalIdentifier 69 PA-PK-AS-REQ ::= SEQUENCE { 76 PKAuthenticator ::= SEQUENCE { 84 AuthPack ::= SEQUENCE { 87 supportedCMSTypes [2] SEQUENCE OF AlgorithmIdentifier OPTIONAL, 90 supportedKDFs [4] SEQUENCE OF KDFAlgorithmId OPTIONAL, 97 KRB5PrincipalName ::= SEQUENCE { [all …]
|
H A D | setchgpw2.asn1 | 19 Key ::= SEQUENCE { 27 LangTaggedText ::= SEQUENCE { 40 Req-change-pw ::= SEQUENCE { 43 etypes[2] SEQUENCE OF ENCTYPE OPTIONAL, 47 Rep-change-pw ::= SEQUENCE { 50 etypes[2] SEQUENCE OF ENCTYPE OPTIONAL 53 Err-change-pw ::= SEQUENCE { 68 Req-set-keys ::= SEQUENCE { 69 etypes[0] SEQUENCE OF ENCTYPE, 74 Rep-set-keys ::= SEQUENCE { [all …]
|
/freebsd/sys/kern/ |
H A D | subr_smr.c | 58 * The basic approach is to maintain a monotonic write sequence 60 * Readers record the most recent write sequence number they have 61 * observed. A shared read sequence number records the lowest 62 * sequence number observed by any reader as of the last poll. Any 65 * readers by storing an invalid sequence number in the per-cpu 69 * The write and read sequence numbers can be thought of as a two 72 * that was visible at the time they loaded their copy of the sequence 73 * number. Periodically the read sequence or hand is polled and 74 * advanced as far towards the write sequence as active readers allow. 75 * Memory which was freed between the old and new global read sequence [all …]
|
/freebsd/crypto/heimdal/lib/hdb/ |
H A D | hdb.asn1 | 14 Salt ::= SEQUENCE { 20 Key ::= SEQUENCE { 26 Event ::= SEQUENCE { 53 GENERATION ::= SEQUENCE { 59 HDB-Ext-PKINIT-acl ::= SEQUENCE OF SEQUENCE { 65 HDB-Ext-PKINIT-hash ::= SEQUENCE OF SEQUENCE { 70 HDB-Ext-PKINIT-cert ::= SEQUENCE OF SEQUENCE { 74 HDB-Ext-Constrained-delegation-acl ::= SEQUENCE OF Principal 80 HDB-Ext-Password ::= SEQUENCE { 85 HDB-Ext-Aliases ::= SEQUENCE { [all …]
|
/freebsd/contrib/mandoc/ |
H A D | mandoc_escape.3 | 35 escape sequence. 37 An escape sequence consists of 43 a single ASCII character called the escape sequence identifier, 48 Arguments can be given in the following forms; some escape sequence 57 and the escape sequence ends with the final 74 and the escape sequence ends with that second 84 is expected to point to the escape sequence identifier. 116 recursively by itself, because some escape sequence arguments can 154 is set to the character after the end of the escape sequence, 164 is set to the character after the end of the sequence and [all …]
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | crmf.asn1 | 18 CRMFRDNSequence ::= SEQUENCE OF RelativeDistinguishedName 20 Controls ::= SEQUENCE -- SIZE(1..MAX) -- OF AttributeTypeAndValue 23 POPOSigningKey ::= SEQUENCE { 28 PKMACValue ::= SEQUENCE { 34 POPOSigningKeyInput ::= SEQUENCE { 43 PBMParameter ::= SEQUENCE { 72 CertTemplate ::= SEQUENCE { 75 signingAlg [2] SEQUENCE { 82 validity [4] SEQUENCE { 89 publicKey [6] IMPLICIT SEQUENCE { [all …]
|