Searched refs:bitPosition (Results 1 - 5 of 5) sorted by relevance

/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_rfgain.c95 uint32_t bitPosition, bitsShifted; local
103 bitPosition = (firstBit - 1) % 8;
107 lastBit = (bitPosition + bitsLeft > 8) ?
108 (8) : (bitPosition + bitsLeft);
109 mask = (((1 << lastBit) - 1) ^ ((1 << bitPosition) - 1)) <<
112 bitPosition) << bitsShifted;
113 bitsShifted += lastBit - bitPosition;
114 bitsLeft -= (8 - bitPosition);
115 bitPosition = 0;
H A Dar5212_reset.c2679 int32_t bitPosition, bitsLeft; local
2687 bitPosition = (firstBit - 1) % 8;
2690 lastBit = (bitPosition + bitsLeft > 8) ?
2691 8 : bitPosition + bitsLeft;
2692 mask = (((1 << lastBit) - 1) ^ ((1 << bitPosition) - 1)) <<
2695 rfBuf[arrayEntry] |= ((tmp32 << bitPosition) <<
2697 bitsLeft -= 8 - bitPosition;
2698 tmp32 = tmp32 >> (8 - bitPosition);
2699 bitPosition = 0;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h119 static unsigned whichWord(unsigned bitPosition) { argument
120 return bitPosition / APINT_BITS_PER_WORD;
127 static unsigned whichBit(unsigned bitPosition) { argument
128 return bitPosition % APINT_BITS_PER_WORD;
133 /// \returns a uint64_t with only bit at "whichBit(bitPosition)" set
137 static uint64_t maskBit(unsigned bitPosition) { argument
138 return 1ULL << whichBit(bitPosition);
162 uint64_t getWord(unsigned bitPosition) const {
163 return isSingleWord() ? U.VAL : U.pVal[whichWord(bitPosition)];
1136 /// \returns the bit value at bitPosition
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp337 /// as "bitPosition".
339 void APInt::flipBit(unsigned bitPosition) { argument
340 assert(bitPosition < BitWidth && "Out of the bit-width range!");
341 if ((*this)[bitPosition]) clearBit(bitPosition);
342 else setBit(bitPosition);
345 void APInt::insertBits(const APInt &subBits, unsigned bitPosition) {
347 assert(0 < subBitWidth && (subBitWidth + bitPosition) <= BitWidth &&
359 U.VAL &= ~(mask << bitPosition);
360 U.VAL |= (subBits.U.VAL << bitPosition);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIARawSymbol.cpp238 RAW_METHOD_DUMP(OS, bitPosition);

Completed in 202 milliseconds