Lines Matching refs:lsb
95 * Gets bits within a range of [msb, lsb]
103 UINT_32 lsb) ///< Least signicant bit
107 if (msb >= lsb)
109 ret = (bits >> lsb) & (Mask(1 + msb - lsb));
119 * Removes bits within the range of [msb, lsb]
127 UINT_32 lsb) ///< Least signicant bit
131 if (msb >= lsb)
133 ret = GetBits(bits, lsb - 1, 0) // low bits
134 | (GetBits(bits, 8 * sizeof(bits) - 1, msb + 1) << lsb); //high bits
144 * Inserts new bits into the range of [msb, lsb]
153 UINT_32 lsb) ///< Least signicant bit
157 if (msb >= lsb)
159 ret = GetBits(bits, lsb - 1, 0) // old low bitss
160 | (GetBits(newBits, msb - lsb, 0) << lsb) //new bits
161 | (GetBits(bits, 8 * sizeof(bits) - 1, lsb) << (msb + 1)); //old high bits
2007 UINT_32 lsb = pipeBits + pipeInterleaveBits;
2008 UINT_32 msb = bankBits - 1 + lsb;
2010 UINT_64 bankDataBits = GetBits(offset, msb, lsb);
2015 lsb = pipeInterleaveBits;
2016 msb = pipeBits - 1 + lsb;
2018 UINT_64 pipeDataBits = GetBits(offset, msb, lsb);
2023 lsb = pipeInterleaveBits;
2026 UINT_64 offsetWithoutPipeBankBits = RemoveBits(offset, msb, lsb);
2036 lsb = 0;
2040 lsb = Log2(blocksInTile);
2042 msb = bankBits - 1 + lsb;
2044 UINT_64 blockInBankpipeWithBankBits = InsertBits(blockInBankpipe, bankDataBits, msb, lsb);
2053 lsb = pipeInterleaveBits + 1; ///<+1 due to Nibble address now gives interleave bits extra lsb.
2054 msb = pipeBits - 1 + lsb;
2055 UINT_64 metadataAddress = InsertBits(metaAddressInPipe, pipeDataBits, msb, lsb);