Searched defs:prevVal (Results 1 – 3 of 3) sorted by relevance
/device/google/contexthub/firmware/os/cpu/cortexm4/ |
D | atomic.c | 21 uint32_t prevVal, storeFailed, tmp; in atomicAddByte() local 39 uint32_t prevVal, storeFailed, tmp; in atomicAdd32bits() local 57 uint32_t prevVal, storeFailed; in atomicXchgByte() local 74 uint32_t prevVal, storeFailed; in atomicXchg32bits() local 89 bool atomicCmpXchgByte(volatile uint8_t *byte, uint32_t prevVal, uint32_t newVal) in atomicCmpXchgByte() 115 bool atomicCmpXchg32bits(volatile uint32_t *word, uint32_t prevVal, uint32_t newVal) in atomicCmpXchg32bits()
|
/device/google/contexthub/firmware/os/cpu/x86/ |
D | atomic.c | 75 bool atomicCmpXchgByte(volatile uint8_t *byte, uint32_t prevVal, uint32_t newVal) in atomicCmpXchgByte() 92 bool atomicCmpXchg32bits(volatile uint32_t *word, uint32_t prevVal, uint32_t newVal) in atomicCmpXchg32bits()
|
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/ |
D | atomic.h | 20 static inline bool atomicCmpXchgPtr(volatile uintptr_t *word, uintptr_t prevVal, uintptr_t newVal) { in atomicCmpXchgPtr()
|