Searched refs:wordPtr (Results 1 – 2 of 2) sorted by relevance
/device/google/contexthub/firmware/os/cpu/cortexm4/ |
D | atomicBitset.c | 47 uint32_t *wordPtr = set->words + idx; in atomicBitsetClearBit() local 57 :"=r"(tmp), "=r"(status), "=r"(wordPtr), "=r"(mask) in atomicBitsetClearBit() 58 :"2"(wordPtr), "3"(mask) in atomicBitsetClearBit() 67 uint32_t *wordPtr = set->words + idx; in atomicBitsetSetBit() local 77 :"=r"(tmp), "=r"(status), "=r"(wordPtr), "=r"(mask) in atomicBitsetSetBit() 78 :"2"(wordPtr), "3"(mask) in atomicBitsetSetBit() 88 uint32_t *wordPtr = set->words; in atomicBitsetFindClearAndSet() local 90 for (idx = 0; idx < numWords; idx++, wordPtr++) { in atomicBitsetFindClearAndSet() 105 :"=r"(scratch1), "=r"(bit), "=r"(scratch2), "=l"(scratch3), "=r"(wordPtr) in atomicBitsetFindClearAndSet() 106 :"1"(32), "2"(1), "4"(wordPtr) in atomicBitsetFindClearAndSet()
|
/device/google/contexthub/firmware/os/cpu/x86/ |
D | atomicBitset.c | 48 uint32_t *wordPtr = set->words + idx; in atomicBitsetClearBit() local 56 old = *wordPtr; in atomicBitsetClearBit() 58 } while (!atomicCmpXchg32bits(wordPtr, old, new)); in atomicBitsetClearBit() 64 uint32_t *wordPtr = set->words; in atomicBitsetFindClearAndSet() local 66 for (i = 0; i < numWords; i++, wordPtr++) { in atomicBitsetFindClearAndSet() 70 old = *wordPtr; in atomicBitsetFindClearAndSet() 77 if (atomicCmpXchg32bits(wordPtr, old, new)) in atomicBitsetFindClearAndSet()
|