Home
last modified time | relevance | path

Searched refs:words (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/firmware/src/cpu/cortexm4f/
DatomicBitset.c26 memset(set->words, 0, sizeof(uint32_t) * ATOMIC_BITSET_NUM_WORDS(numBits)); in atomicBitsetInit()
28 set->words[numBits / 32] = ((uint32_t)((int32_t)-1LL)) << (numBits & 31); in atomicBitsetInit()
41 return !!((set->words[num / 32]) & (1UL << (num & 31))); in atomicBitsetGetBit()
47 uint32_t *wordPtr = set->words + idx; in atomicBitsetClearBit()
67 uint32_t *wordPtr = set->words + idx; in atomicBitsetSetBit()
88 uint32_t *wordPtr = set->words; in atomicBitsetFindClearAndSet()
125 … otherSet->words[idx] = atomicXchg32bits(&atomicallyAccessedSet->words[idx], otherSet->words[idx]); in atomicBitsetXchg()
138 dest[idx] = atomicRead32bits(&set->words[idx]); in atomicBitsetBulkRead()
/device/google/contexthub/firmware/src/cpu/x86/
DatomicBitset.c27 memset(set->words, 0, (numBits + 31) / 8); in atomicBitsetInit()
29 set->words[numBits / 32] = ((uint32_t)((int32_t)-1LL)) << (numBits & 31); in atomicBitsetInit()
42 return !!((set->words[num / 32]) & (1UL << (num & 31))); in atomicBitsetGetBit()
48 uint32_t *wordPtr = set->words + idx; in atomicBitsetClearBit()
64 uint32_t *wordPtr = set->words; in atomicBitsetFindClearAndSet()
/device/google/contexthub/firmware/src/platform/stm32f4xx/
Dcrc.c54 const uint32_t *words = (const uint32_t *)buf; in crc32() local
69 mCrcRegs->DR = words[i]; in crc32()
73 memcpy(&word, words + numWords, leftoverBytes); in crc32()
/device/google/contexthub/firmware/inc/cpu/cortexm4f/
DatomicBitset.h26 uint32_t words[]; member
/device/google/contexthub/firmware/inc/cpu/x86/
DatomicBitset.h25 uint32_t words[]; member