| /freebsd/sys/dev/isci/scil/ |
| H A D | scu_task_context.h | 221 ((U32)(type) << SCU_CONTEXT_COMMAND_REQUEST_TYPE_SHIFT) 238 ((type) | (((U32)(command)) << SCU_CONTEXT_COMMAND_REQUEST_SUBTYPE_SHIFT)) 307 U32 reserved00 : 24; 308 U32 frame_type : 8; 311 U32 reserved01; 314 U32 fill_bytes : 2; 315 U32 reserved02 : 6; 316 U32 changing_data_pointer : 1; 317 U32 retransmit : 1; 318 U32 retry_data_frame : 1; [all …]
|
| H A D | intel_sata.h | 95 U32 fis_type :8; // word 0 96 U32 pm_port :4; 97 U32 reserved :1; 98 U32 direction_flag :1; // direction 99 U32 interrupt_flag :1; 100 U32 command_flag :1; // command, auto_activate, or notification 101 U32 status :8; 102 U32 error :8; 113 U32 fis_type :8; // word 0 114 U32 pm_port :4; [all …]
|
| H A D | intel_sas.h | 77 U32 high; 82 U32 low; 138 U32 phy_identifier : 8; 139 U32 break_reply_capable : 1; 140 U32 requested_in_zpsds : 1; 141 U32 in_zpsds_persistent : 1; 142 U32 reserved5 : 21; 144 U32 reserved6[4]; 167 U32 start : 1; 168 U32 tx_ssc_type : 1; [all …]
|
| H A D | scu_registers.h | 74 (((U32)(value) << name ## _SHIFT) & (name ## _MASK)) 79 SCU_GEN_VALUE(name, ((U32)1)) 244 ((U32)((value) & SMU_DEVICE_CONTEXT_CAPACITY_MAX_PEG_MASK)) \ 250 ((U32)((value) & SMU_DEVICE_CONTEXT_CAPACITY_MAX_LP_MASK)) \ 256 ((U32)((value) & SMU_DEVICE_CONTEXT_CAPACITY_MAX_TC_MASK)) \ 262 ((U32)((value) & SMU_DEVICE_CONTEXT_CAPACITY_MAX_RNC_MASK)) \ 967 U32 post_context_port; 969 U32 address_modifier; 970 U32 reserved_08; 971 U32 reserved_0C; [all …]
|
| H A D | scu_completion_codes.h | 75 ((U32)(type) << SCU_COMPLETION_TYPE_SHIFT) 128 ((U32)(completion_code) << SCU_COMPLETION_TL_STATUS_SHIFT) 136 ((U32)((completion_code) & SCU_COMPLETION_TL_STATUS_MASK)) \ 162 (((U32)((completion_code) & SCU_COMPLETION_PE_MASK)) >> SCU_COMPLETION_PE_SHIFT) 180 ((U32)((completion_code) & SCU_UNSOLICITED_FRAME_MASK)) \ 200 #define SCU_TASK_DONE_GOOD ((U32)0x00) 201 #define SCU_TASK_DONE_CRC_ERR ((U32)0x14) 202 #define SCU_TASK_DONE_CHECK_RESPONSE ((U32)0x14) 203 #define SCU_TASK_DONE_GEN_RESPONSE ((U32)0x15) 204 #define SCU_TASK_DONE_NAK_CMD_ERR ((U32)0x16) [all …]
|
| H A D | scu_remote_node_context.h | 86 U32 remote_node_index :12; 87 U32 reserved0_1 : 4; 93 U32 remote_node_port_width : 4; 99 U32 logical_port_index : 3; 100 U32 reserved0_2 : 5; 105 U32 nexus_loss_timer_enable : 1; 110 U32 check_bit : 1; 117 U32 is_valid : 1; 122 U32 is_remote_node_context : 1; 129 U32 remote_sas_address_lo; [all …]
|
| H A D | scic_sds_remote_node_table.c | 79 U32 scic_sds_remote_node_table_get_group_index( in scic_sds_remote_node_table_get_group_index() 81 U32 group_table_index in scic_sds_remote_node_table_get_group_index() 84 U32 dword_index; in scic_sds_remote_node_table_get_group_index() 85 U32 * group_table; in scic_sds_remote_node_table_get_group_index() 86 U32 bit_index; in scic_sds_remote_node_table_get_group_index() 122 U32 group_table_index, in scic_sds_remote_node_table_clear_group_index() 123 U32 group_index in scic_sds_remote_node_table_clear_group_index() 126 U32 dword_index; in scic_sds_remote_node_table_clear_group_index() 127 U32 bit_index; in scic_sds_remote_node_table_clear_group_index() 128 U32 * group_table; in scic_sds_remote_node_table_clear_group_index() [all …]
|
| /freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_compress_internal.h | 87 U32 offBase; /* offBase == Offset + ZSTD_REP_NUM, or repcode 1,2,3 */ 115 …U32 longLengthPos; /* Index of the sequence to apply long length modification t… 119 U32 litLength; 120 U32 matchLength; 132 if (seqStore->longLengthPos == (U32)(seq - seqStore->sequencesStart)) { in ZSTD_getSequenceLength() 196 U32 off; /* Offset sumtype code for the match, using ZSTD_storeSeq() format */ 197 U32 len; /* Raw length of match */ 201 U32 offset; /* Offset of sequence */ 202 U32 litLength; /* Length of literals prior to match */ 203 U32 matchLength; /* Raw length of match */ [all …]
|
| H A D | zstd_lazy.c | 32 U32 mls) in ZSTD_updateDUBT() 35 U32* const hashTable = ms->hashTable; in ZSTD_updateDUBT() 36 U32 const hashLog = cParams->hashLog; in ZSTD_updateDUBT() 38 U32* const bt = ms->chainTable; in ZSTD_updateDUBT() 39 U32 const btLog = cParams->chainLog - 1; in ZSTD_updateDUBT() 40 U32 const btMask = (1 << btLog) - 1; in ZSTD_updateDUBT() 43 U32 const target = (U32)(ip - base); in ZSTD_updateDUBT() 44 U32 idx = ms->nextToUpdate; in ZSTD_updateDUBT() 55 U32 const matchIndex = hashTable[h]; in ZSTD_updateDUBT() 57 U32* const nextCandidatePtr = bt + 2*(idx&btMask); in ZSTD_updateDUBT() [all …]
|
| H A D | zstd_opt.c | 46 MEM_STATIC U32 ZSTD_bitWeight(U32 stat) in ZSTD_bitWeight() 54 MEM_STATIC U32 ZSTD_fracWeight(U32 rawStat) in ZSTD_fracWeight() 56 U32 const stat = rawStat + 1; in ZSTD_fracWeight() 57 U32 const hb = ZSTD_highbit32(stat); in ZSTD_fracWeight() 58 U32 const BWeight = hb * BITCOST_MULTIPLIER; in ZSTD_fracWeight() 62 U32 const FWeight = (stat << BITCOST_ACCURACY) >> hb; in ZSTD_fracWeight() 63 U32 const weight = BWeight + FWeight; in ZSTD_fracWeight() 93 static U32 sum_u32(const unsigned table[], size_t nbElts) in sum_u32() 96 U32 total = 0; in sum_u32() 105 static U32 [all …]
|
| H A D | zstd_fast.c | 22 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTableForCDict() 23 U32 const hBits = cParams->hashLog + ZSTD_SHORT_CACHE_TAG_BITS; in ZSTD_fillHashTableForCDict() 24 U32 const mls = cParams->minMatch; in ZSTD_fillHashTableForCDict() 28 const U32 fastHashFillStep = 3; in ZSTD_fillHashTableForCDict() 38 U32 const curr = (U32)(ip - base); in ZSTD_fillHashTableForCDict() 44 { U32 p; in ZSTD_fillHashTableForCDict() 59 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTableForCCtx() 60 U32 const hBits = cParams->hashLog; in ZSTD_fillHashTableForCCtx() 61 U32 const mls = cParams->minMatch; in ZSTD_fillHashTableForCCtx() 65 const U32 fastHashFillStep = 3; in ZSTD_fillHashTableForCCtx() [all …]
|
| H A D | zstd_double_fast.c | 23 U32* const hashLarge = ms->hashTable; in ZSTD_fillDoubleHashTableForCDict() 24 U32 const hBitsL = cParams->hashLog + ZSTD_SHORT_CACHE_TAG_BITS; in ZSTD_fillDoubleHashTableForCDict() 25 U32 const mls = cParams->minMatch; in ZSTD_fillDoubleHashTableForCDict() 26 U32* const hashSmall = ms->chainTable; in ZSTD_fillDoubleHashTableForCDict() 27 U32 const hBitsS = cParams->chainLog + ZSTD_SHORT_CACHE_TAG_BITS; in ZSTD_fillDoubleHashTableForCDict() 31 const U32 fastHashFillStep = 3; in ZSTD_fillDoubleHashTableForCDict() 38 U32 const curr = (U32)(ip - base); in ZSTD_fillDoubleHashTableForCDict() 39 U32 i; in ZSTD_fillDoubleHashTableForCDict() 61 U32* const hashLarge = ms->hashTable; in ZSTD_fillDoubleHashTableForCCtx() 62 U32 const hBitsL = cParams->hashLog; in ZSTD_fillDoubleHashTableForCCtx() [all …]
|
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_compress_internal.h | 86 U32 offBase; /* offBase == Offset + ZSTD_REP_NUM, or repcode 1,2,3 */ 114 …U32 longLengthPos; /* Index of the sequence to apply long length modification t… 118 U32 litLength; 119 U32 matchLength; 131 if (seqStore->longLengthPos == (U32)(seq - seqStore->sequencesStart)) { in ZSTD_getSequenceLength() 195 U32 off; /* Offset sumtype code for the match, using ZSTD_storeSeq() format */ 196 U32 len; /* Raw length of match */ 200 U32 offset; /* Offset of sequence */ 201 U32 litLength; /* Length of literals prior to match */ 202 U32 matchLength; /* Raw length of match */ [all …]
|
| H A D | zstd_lazy.c | 31 U32 mls) in ZSTD_updateDUBT() 34 U32* const hashTable = ms->hashTable; in ZSTD_updateDUBT() 35 U32 const hashLog = cParams->hashLog; in ZSTD_updateDUBT() 37 U32* const bt = ms->chainTable; in ZSTD_updateDUBT() 38 U32 const btLog = cParams->chainLog - 1; in ZSTD_updateDUBT() 39 U32 const btMask = (1 << btLog) - 1; in ZSTD_updateDUBT() 42 U32 const target = (U32)(ip - base); in ZSTD_updateDUBT() 43 U32 idx = ms->nextToUpdate; in ZSTD_updateDUBT() 54 U32 const matchIndex = hashTable[h]; in ZSTD_updateDUBT() 56 U32* const nextCandidatePtr = bt + 2*(idx&btMask); in ZSTD_updateDUBT() [all …]
|
| H A D | zstd_opt.c | 45 MEM_STATIC U32 ZSTD_bitWeight(U32 stat) in ZSTD_bitWeight() 53 MEM_STATIC U32 ZSTD_fracWeight(U32 rawStat) in ZSTD_fracWeight() 55 U32 const stat = rawStat + 1; in ZSTD_fracWeight() 56 U32 const hb = ZSTD_highbit32(stat); in ZSTD_fracWeight() 57 U32 const BWeight = hb * BITCOST_MULTIPLIER; in ZSTD_fracWeight() 61 U32 const FWeight = (stat << BITCOST_ACCURACY) >> hb; in ZSTD_fracWeight() 62 U32 const weight = BWeight + FWeight; in ZSTD_fracWeight() 92 static U32 sum_u32(const unsigned table[], size_t nbElts) in sum_u32() 95 U32 total = 0; in sum_u32() 104 static U32 [all …]
|
| H A D | zstd_fast.c | 21 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTableForCDict() 22 U32 const hBits = cParams->hashLog + ZSTD_SHORT_CACHE_TAG_BITS; in ZSTD_fillHashTableForCDict() 23 U32 const mls = cParams->minMatch; in ZSTD_fillHashTableForCDict() 27 const U32 fastHashFillStep = 3; in ZSTD_fillHashTableForCDict() 37 U32 const curr = (U32)(ip - base); in ZSTD_fillHashTableForCDict() 43 { U32 p; in ZSTD_fillHashTableForCDict() 58 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTableForCCtx() 59 U32 const hBits = cParams->hashLog; in ZSTD_fillHashTableForCCtx() 60 U32 const mls = cParams->minMatch; in ZSTD_fillHashTableForCCtx() 64 const U32 fastHashFillStep = 3; in ZSTD_fillHashTableForCCtx() [all …]
|
| H A D | zstd_double_fast.c | 22 U32* const hashLarge = ms->hashTable; in ZSTD_fillDoubleHashTableForCDict() 23 U32 const hBitsL = cParams->hashLog + ZSTD_SHORT_CACHE_TAG_BITS; in ZSTD_fillDoubleHashTableForCDict() 24 U32 const mls = cParams->minMatch; in ZSTD_fillDoubleHashTableForCDict() 25 U32* const hashSmall = ms->chainTable; in ZSTD_fillDoubleHashTableForCDict() 26 U32 const hBitsS = cParams->chainLog + ZSTD_SHORT_CACHE_TAG_BITS; in ZSTD_fillDoubleHashTableForCDict() 30 const U32 fastHashFillStep = 3; in ZSTD_fillDoubleHashTableForCDict() 37 U32 const curr = (U32)(ip - base); in ZSTD_fillDoubleHashTableForCDict() 38 U32 i; in ZSTD_fillDoubleHashTableForCDict() 60 U32* const hashLarge = ms->hashTable; in ZSTD_fillDoubleHashTableForCCtx() 61 U32 const hBitsL = cParams->hashLog; in ZSTD_fillDoubleHashTableForCCtx() [all …]
|
| /freebsd/sys/dev/mpt/mpilib/ |
| H A D | mpi_cnfg.h | 387 U32 Word32; 540 U32 MsgContext; /* 08h */ 543 U32 PageAddress; /* 18h */ 569 U32 MsgContext; /* 08h */ 572 U32 IOCLogInfo; /* 10h */ 656 U32 HwSettings[MPI_MAN_PAGE_2_HW_SETTINGS_WORDS];/* 08h */ 674 U32 Info[MPI_MAN_PAGE_3_INFO_WORDS];/* 08h */ 683 U32 Reserved1; /* 04h */ 692 U32 ISVolumeSettings; /* 48h */ 693 U32 IMEVolumeSettings; /* 4Ch */ [all …]
|
| H A D | mpi_targ.h | 104 U32 PhysicalAddress32; 124 U32 MsgContext; /* 08h */ 148 U32 MsgContext; /* 08h */ 151 U32 IOCLogInfo; /* 10h */ 164 U32 MsgContext; /* 08h */ 168 U32 IOCLogInfo; /* 10h */ 169 U32 ReplyWord; /* 14h */ 181 U32 MsgContext; /* 08h */ 185 U32 IOCLogInfo; /* 10h */ 186 U32 ReplyWord; /* 14h */ [all …]
|
| H A D | mpi_fc.h | 96 U32 MsgContext; /* 08h */ 106 U32 PortNameHigh; /* 00h */ 107 U32 PortNameLow; /* 04h */ 108 U32 NodeNameHigh; /* 08h */ 109 U32 NodeNameLow; /* 0Ch */ 123 U32 MsgContext; /* 08h */ 126 U32 IOCLogInfo; /* 10h */ 127 U32 TransferLength; /* 14h */ 128 U32 TransactionContext; /* 18h */ 129 U32 Rctl_Did; /* 1Ch */ [all …]
|
| H A D | mpi_init.h | 113 U32 MsgContext; /* 08h */ 115 U32 Control; /* 14h */ 117 U32 DataLength; /* 28h */ 118 U32 SenseBufferLowAddr; /* 2Ch */ 183 U32 MsgContext; /* 08h */ 187 U32 IOCLogInfo; /* 10h */ 188 U32 TransferCount; /* 14h */ 189 U32 SenseCount; /* 18h */ 190 U32 ResponseInfo; /* 1Ch */ 242 U32 PrimaryReferenceTag; /* 14h */ [all …]
|
| /freebsd/sys/dev/mpi3mr/mpi/ |
| H A D | mpi30_image.h | 60 U32 Offset; /* 0x00 */ 61 U32 Size; /* 0x04 */ 70 U32 Signature0; /* 0x00 */ 71 U32 LoadAddress; /* 0x04 */ 72 U32 DataSize; /* 0x08 */ 73 U32 StartOffset; /* 0x0C */ 74 U32 Signature1; /* 0x10 */ 75 U32 FlashOffset; /* 0x14 */ 76 U32 ImageSize; /* 0x18 */ 77 U32 VersionStringOffset; /* 0x1C */ [all …]
|
| /freebsd/sys/dev/mps/mpi/ |
| H A D | mpi2_ioc.h | 170 U32 Reserved5; /* 0x10 */ 178 U32 SenseBufferAddressHigh; /* 0x20 */ 179 U32 SystemReplyAddressHigh; /* 0x24 */ 225 U32 IOCLogInfo; /* 0x10 */ 262 U32 IOCLogInfo; /* 0x10 */ 269 U32 IOCCapabilities; /* 0x1C */ 372 U32 IOCLogInfo; /* 0x10 */ 423 U32 IOCLogInfo; /* 0x10 */ 445 U32 Reserved5; /* 0x0C */ 446 U32 Reserved6; /* 0x10 */ [all …]
|
| H A D | mpi2_cnfg.h | 194 U32 Word32; 218 U32 Word32[2]; 350 U32 Reserved2; /* 0x0C */ 351 U32 Reserved3; /* 0x10 */ 353 U32 PageAddress; /* 0x18 */ 385 U32 IOCLogInfo; /* 0x10 */ 473 U32 HwSettings[MPI2_MAN_PAGE_2_HW_SETTINGS_WORDS];/* 0x08 */ 494 U32 Info[MPI2_MAN_PAGE_3_INFO_WORDS];/* 0x08 */ 522 U32 Reserved1; /* 0x04 */ 523 U32 Flags; /* 0x08 */ [all …]
|
| /freebsd/sys/dev/mpr/mpi/ |
| H A D | mpi2_targ.h | 98 U32 Reserved3; /* 0x0C */ 102 U32 BaseAddressLow; /* 0x14 */ 103 U32 BaseAddressHigh; /* 0x18 */ 134 U32 Reserved3; /* 0x0C */ 159 U32 IOCLogInfo; /* 0x10 */ 162 U32 Reserved6; /* 0x18 */ 180 U32 HashedSourceSASAddress; /* 0x04 */ 183 U32 Reserved3; /* 0x0C */ 186 U32 DataOffset; /* 0x14 */ 203 U32 HashedSourceSASAddress; /* 0x04 */ [all …]
|