Home
last modified time | relevance | path

Searched refs:ATOMIC_BITSET_NUM_WORDS (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/os/cpu/cortexm4/
DatomicBitset.c26 memset(set->words, 0, sizeof(uint32_t) * ATOMIC_BITSET_NUM_WORDS(numBits)); in atomicBitsetInit()
86 uint32_t idx, numWords = ATOMIC_BITSET_NUM_WORDS(set->numBits); in atomicBitsetFindClearAndSet()
119 uint32_t idx, numWords = ATOMIC_BITSET_NUM_WORDS(atomicallyAccessedSet->numBits); in atomicBitsetXchg()
132 uint32_t idx, numWords = ATOMIC_BITSET_NUM_WORDS(set->numBits); in atomicBitsetBulkRead()
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/
DatomicBitset.h29 #define ATOMIC_BITSET_NUM_WORDS(numbits) (((numbits) + 31) / 32) macro
30 …SET_SZ(numbits) (sizeof(struct AtomicBitset) + sizeof(uint32_t) * ATOMIC_BITSET_NUM_WORDS(numbits))