| /linux/drivers/scsi/mpt3sas/mpi/ |
| H A D | mpi2_image.h | 33 U32 Signature; /*0x00 */ 34 U32 Signature0; /*0x04 */ 35 U32 Signature1; /*0x08 */ 36 U32 Signature2; /*0x0C */ 45 U32 IOCCapabilities; /*0x28 */ 46 U32 ImageSize; /*0x2C */ 47 U32 NextImageHeaderOffset; /*0x30 */ 48 U32 Checksum; /*0x34 */ 49 U32 Reserved38; /*0x38 */ 50 U32 Reserved3C; /*0x3C */ [all …]
|
| H A D | mpi2_cnfg.h | 277 U32 Word32; 300 U32 Word32[2]; 486 U32 Reserved3; /*0x10 */ 488 U32 PageAddress; /*0x18 */ 520 U32 IOCLogInfo; /*0x10 */ 654 U32 HwSettings[]; /*0x08 */ 673 U32 Info[]; /*0x08 */ 702 U32 Reserved1; /*0x04 */ 703 U32 Flags; /*0x08 */ 708 U32 RAID0VolumeSettings; /*0x48 */ [all …]
|
| H A D | mpi2.h | 209 U32 Doorbell; /*0x00 */ 210 U32 WriteSequence; /*0x04 */ 211 U32 HostDiagnostic; /*0x08 */ 212 U32 Reserved1; /*0x0C */ 213 U32 DiagRWData; /*0x10 */ 214 U32 DiagRWAddressLow; /*0x14 */ 215 U32 DiagRWAddressHigh; /*0x18 */ 216 U32 Reserved2[5]; /*0x1C */ 217 U32 HostInterruptStatus; /*0x30 */ 218 U32 HostInterruptMask; /*0x34 */ [all …]
|
| H A D | mpi2_ioc.h | 213 U32 Reserved5; /*0x10 */ 221 U32 SenseBufferAddressHigh; /*0x20 */ 222 U32 SystemReplyAddressHigh; /*0x24 */ 264 U32 Reserved1; /* 0x08 */ 265 U32 Reserved2; /* 0x0C */ 285 U32 IOCLogInfo; /*0x10 */ 320 U32 IOCLogInfo; /*0x10 */ 327 U32 IOCCapabilities; /*0x1C */ 442 U32 IOCLogInfo; /*0x10 */ 493 U32 IOCLogInfo; /*0x10 */ [all …]
|
| H A D | mpi2_init.h | 81 U32 TransferLength; /*0x1C */ 104 U32 SenseBufferLowAddress; /*0x0C */ 112 U32 SkipCount; /*0x18 */ 113 U32 DataLength; /*0x1C */ 114 U32 BidirectionalDataLength; /*0x20 */ 117 U32 EEDPBlockSize; /*0x28 */ 118 U32 SecondaryReferenceTag; /*0x2C */ 122 U32 Control; /*0x3C */ 254 U32 SenseBufferLowAddress; /*0x0C */ 263 U32 SkipCount; /*0x18 */ [all …]
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_compress_internal.h | 84 U32 offBase; /* offBase == Offset + ZSTD_REP_NUM, or repcode 1,2,3 */ 112 …U32 longLengthPos; /* Index of the sequence to apply long length modification t… 116 U32 litLength; 117 U32 matchLength; 129 if (seqStore->longLengthPos == (U32)(seq - seqStore->sequencesStart)) { in ZSTD_getSequenceLength() 193 U32 off; /* Offset sumtype code for the match, using ZSTD_storeSeq() format */ 194 U32 len; /* Raw length of match */ 198 U32 offset; /* Offset of sequence */ 199 U32 litLength; /* Length of literals prior to match */ 200 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 …]
|
| H A D | zstd_compress_literals.c | 43 U32 const flSize = 1 + (srcSize>31) + (srcSize>4095); in ZSTD_noCompressLiterals() 52 ostart[0] = (BYTE)((U32)set_basic + (srcSize<<3)); in ZSTD_noCompressLiterals() 55 MEM_writeLE16(ostart, (U16)((U32)set_basic + (1<<2) + (srcSize<<4))); in ZSTD_noCompressLiterals() 58 MEM_writeLE32(ostart, (U32)((U32)set_basic + (3<<2) + (srcSize<<4))); in ZSTD_noCompressLiterals() 65 DEBUGLOG(5, "Raw (uncompressed) literals: %u -> %u", (U32)srcSize, (U32)(srcSize + flSize)); in ZSTD_noCompressLiterals() 85 U32 const flSize = 1 + (srcSize>31) + (srcSize>4095); in ZSTD_compressRleLiteralsBlock() 93 ostart[0] = (BYTE)((U32)set_rle + (srcSize<<3)); in ZSTD_compressRleLiteralsBlock() 96 MEM_writeLE16(ostart, (U16)((U32)set_rle + (1<<2) + (srcSize<<4))); in ZSTD_compressRleLiteralsBlock() 99 MEM_writeLE32(ostart, (U32)((U32)set_rle + (3<<2) + (srcSize<<4))); in ZSTD_compressRleLiteralsBlock() 106 …teral (%02X: %u times) -> %u bytes encoded", ((const BYTE*)src)[0], (U32)srcSize, (U32)flSize + 1); in ZSTD_compressRleLiteralsBlock() [all …]
|
| H A D | zstd_lazy.h | 31 U32 ZSTD_insertAndFindFirstIndex(ZSTD_MatchState_t* ms, const BYTE* ip); 36 void ZSTD_preserveUnsortedMark (U32* const table, U32 const size, U32 const reducerValue); /*! use… 41 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 44 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 47 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 50 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 53 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 56 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 59 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 62 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], [all …]
|
| H A D | fse_compress.c | 73 U32 const tableSize = 1 << tableLog; in FSE_buildCTable_wksp() 74 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp() 77 void* const FSCT = ((U32*)ptr) + 1 /* header */ + (tableLog ? tableSize>>1 : 1) ; in FSE_buildCTable_wksp() 79 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildCTable_wksp() 80 U32 const maxSV1 = maxSymbolValue+1; in FSE_buildCTable_wksp() 85 U32 highThreshold = tableSize-1; in FSE_buildCTable_wksp() 102 { U32 u; in FSE_buildCTable_wksp() 125 U32 s; in FSE_buildCTable_wksp() 156 U32 position = 0; in FSE_buildCTable_wksp() 157 U32 symbol; in FSE_buildCTable_wksp() [all …]
|
| /linux/drivers/message/fusion/lsi/ |
| H A D | mpi_cnfg.h | 353 U32 Word32; 512 U32 MsgContext; /* 08h */ 515 U32 PageAddress; /* 18h */ 543 U32 MsgContext; /* 08h */ 546 U32 IOCLogInfo; /* 10h */ 637 U32 HwSettings[MPI_MAN_PAGE_2_HW_SETTINGS_WORDS];/* 08h */ 656 U32 Info[MPI_MAN_PAGE_3_INFO_WORDS];/* 08h */ 666 U32 Reserved1; /* 04h */ 675 U32 ISVolumeSettings; /* 48h */ 676 U32 IMEVolumeSettings; /* 4Ch */ [all …]
|
| H A D | mpi_fc.h | 69 U32 MsgContext; /* 08h */ 79 U32 PortNameHigh; /* 00h */ 80 U32 PortNameLow; /* 04h */ 81 U32 NodeNameHigh; /* 08h */ 82 U32 NodeNameLow; /* 0Ch */ 96 U32 MsgContext; /* 08h */ 99 U32 IOCLogInfo; /* 10h */ 100 U32 TransferLength; /* 14h */ 101 U32 TransactionContext; /* 18h */ 102 U32 Rctl_Did; /* 1Ch */ [all …]
|
| H A D | mpi_targ.h | 78 U32 PhysicalAddress32; 99 U32 MsgContext; /* 08h */ 124 U32 MsgContext; /* 08h */ 127 U32 IOCLogInfo; /* 10h */ 140 U32 MsgContext; /* 08h */ 144 U32 IOCLogInfo; /* 10h */ 145 U32 ReplyWord; /* 14h */ 158 U32 MsgContext; /* 08h */ 162 U32 IOCLogInfo; /* 10h */ 163 U32 ReplyWord; /* 14h */ [all …]
|
| H A D | mpi_init.h | 87 U32 MsgContext; /* 08h */ 89 U32 Control; /* 14h */ 91 U32 DataLength; /* 28h */ 92 U32 SenseBufferLowAddr; /* 2Ch */ 159 U32 MsgContext; /* 08h */ 163 U32 IOCLogInfo; /* 10h */ 164 U32 TransferCount; /* 14h */ 165 U32 SenseCount; /* 18h */ 166 U32 ResponseInfo; /* 1Ch */ 221 U32 PrimaryReferenceTag; /* 14h */ [all …]
|
| H A D | mpi_ioc.h | 154 U32 MsgContext; /* 08h */ 157 U32 HostMfaHighAddr; /* 10h */ 158 U32 SenseBufferHighAddr; /* 14h */ 159 U32 ReplyFifoHostSignalingAddr; /* 18h */ 202 U32 MsgContext; /* 08h */ 205 U32 IOCLogInfo; /* 10h */ 222 U32 MsgContext; /* 08h */ 237 U32 Word; 249 U32 MsgContext; /* 08h */ 252 U32 IOCLogInfo; /* 10h */ [all …]
|
| H A D | mpi_raid.h | 69 U32 MsgContext; /* 08h */ 70 U32 Reserved2; /* 0Ch */ 71 U32 ActionDataWord; /* 10h */ 143 U32 MsgContext; /* 08h */ 146 U32 IOCLogInfo; /* 10h */ 147 U32 VolumeStatus; /* 14h */ 148 U32 ActionData; /* 18h */ 185 U32 MsgContext; /* 08h */ 187 U32 Control; /* 14h */ 189 U32 DataLength; /* 28h */ [all …]
|
| H A D | mpi_sas.h | 110 U32 MsgContext; /* 08h */ 111 U32 Reserved1; /* 0Ch */ 113 U32 Reserved2; /* 18h */ 114 U32 Reserved3; /* 1Ch */ 138 U32 MsgContext; /* 08h */ 142 U32 IOCLogInfo; /* 10h */ 143 U32 Reserved3; /* 14h */ 164 U32 MsgContext; /* 08h */ 165 U32 Reserved1; /* 0Ch */ 166 U32 Reserved2; /* 10h */ [all …]
|
| H A D | mpi_tool.h | 56 U32 MsgContext; /* 08h */ 59 U32 IOCLogInfo; /* 10h */ 77 U32 MsgContext; /* 08h */ 78 U32 Flags; /* 0Ch */ 106 U32 MsgContext; /* 08h */ 125 U32 MsgContext; /* 08h */ 126 U32 Flags; /* 0Ch */ 127 U32 Reserved3; /* 10h */ 134 U32 DiagDataLength; /* 00h */ 160 U32 MsgContext; /* 08h */ [all …]
|
| /linux/lib/zstd/common/ |
| H A D | bits.h | 17 MEM_STATIC unsigned ZSTD_countTrailingZeros32_fallback(U32 val) in ZSTD_countTrailingZeros32_fallback() 21 static const U32 DeBruijnBytePos[32] = {0, 1, 28, 2, 29, 14, 24, 3, in ZSTD_countTrailingZeros32_fallback() 25 return DeBruijnBytePos[((U32) ((val & -(S32) val) * 0x077CB531U)) >> 27]; in ZSTD_countTrailingZeros32_fallback() 29 MEM_STATIC unsigned ZSTD_countTrailingZeros32(U32 val) in ZSTD_countTrailingZeros32() 39 MEM_STATIC unsigned ZSTD_countLeadingZeros32_fallback(U32 val) in ZSTD_countLeadingZeros32_fallback() 43 static const U32 DeBruijnClz[32] = {0, 9, 1, 10, 13, 21, 2, 29, in ZSTD_countLeadingZeros32_fallback() 56 MEM_STATIC unsigned ZSTD_countLeadingZeros32(U32 val) in ZSTD_countLeadingZeros32() 73 U32 mostSignificantWord = (U32)(val >> 32); in ZSTD_countTrailingZeros64() 74 U32 leastSignificantWord = (U32)val; in ZSTD_countTrailingZeros64() 91 U32 mostSignificantWord = (U32)(val >> 32); in ZSTD_countLeadingZeros64() [all …]
|
| H A D | mem.h | 38 typedef uint32_t U32; typedef 53 MEM_STATIC U32 MEM_read32(const void* memPtr); 58 MEM_STATIC void MEM_write32(void* memPtr, U32 value); 63 MEM_STATIC U32 MEM_readLE24(const void* memPtr); 64 MEM_STATIC U32 MEM_readLE32(const void* memPtr); 69 MEM_STATIC void MEM_writeLE24(void* memPtr, U32 val); 70 MEM_STATIC void MEM_writeLE32(void* memPtr, U32 val32); 75 MEM_STATIC U32 MEM_readBE32(const void* memPtr); 79 MEM_STATIC void MEM_writeBE32(void* memPtr, U32 val32); 84 MEM_STATIC U32 MEM_swap32(U32 in); [all …]
|
| H A D | entropy_common.c | 52 U32 bitStream; in FSE_readNCount_body() 136 if ((bitStream & (threshold-1)) < (U32)max) { in FSE_readNCount_body() 235 size_t HUF_readStats(BYTE* huffWeight, size_t hwSize, U32* rankStats, in HUF_readStats() 236 U32* nbSymbolsPtr, U32* tableLogPtr, in HUF_readStats() 239 U32 wksp[HUF_READ_STATS_WORKSPACE_SIZE_U32]; in HUF_readStats() 244 HUF_readStats_body(BYTE* huffWeight, size_t hwSize, U32* rankStats, in HUF_readStats_body() 245 U32* nbSymbolsPtr, U32* tableLogPtr, in HUF_readStats_body() 250 U32 weightTotal; in HUF_readStats_body() 265 { U32 n; in HUF_readStats_body() 278 ZSTD_memset(rankStats, 0, (HUF_TABLELOG_MAX + 1) * sizeof(U32)); in HUF_readStats_body() [all …]
|
| /linux/lib/zstd/decompress/ |
| H A D | zstd_decompress_internal.h | 31 static UNUSED_ATTR const U32 LL_base[MaxLL+1] = { 38 static UNUSED_ATTR const U32 OF_base[MaxOff+1] = { 50 static UNUSED_ATTR const U32 ML_base[MaxML+1] = { 64 U32 fastMode; 65 U32 tableLog; 72 U32 baseValue; 78 …TD_BUILD_FSE_TABLE_WKSP_SIZE_U32 ((ZSTD_BUILD_FSE_TABLE_WKSP_SIZE + sizeof(U32) - 1) / sizeof(U32)) 86 U32 rep[ZSTD_REP_NUM]; 87 U32 workspace[ZSTD_BUILD_FSE_TABLE_WKSP_SIZE_U32]; 134 …U32 workspace[HUF_DECOMPRESS_WORKSPACE_SIZE_U32]; /* space needed when building huffman tables */ [all …]
|