Searched refs:addend (Results 1 – 3 of 3) sorted by relevance
/device/google/contexthub/firmware/os/cpu/cortexm4/ |
D | atomic.c | 19 uint32_t atomicAddByte(volatile uint8_t *byte, uint32_t addend) in atomicAddByte() argument 28 :"=r"(prevVal), "=r"(storeFailed), "=r"(tmp), "=r"(addend), "=r"(byte) in atomicAddByte() 29 :"3"(addend), "4"(byte) in atomicAddByte() 37 uint32_t atomicAdd32bits(volatile uint32_t *word, uint32_t addend) in atomicAdd32bits() argument 46 :"=r"(prevVal), "=r"(storeFailed), "=r"(tmp), "=r"(addend), "=r"(word) in atomicAdd32bits() 47 :"3"(addend), "4"(word) in atomicAdd32bits()
|
/device/google/contexthub/firmware/os/cpu/x86/ |
D | atomic.c | 19 uint32_t atomicAdd32bits(volatile uint32_t *val, uint32_t addend) in atomicAdd32bits() argument 25 } while (!atomicCmpXchg32bits(val, old, old + addend)); in atomicAdd32bits() 30 uint32_t atomicAddByte(volatile uint8_t *val, uint32_t addend) in atomicAddByte() argument 36 } while (!atomicCmpXchgByte(val, old, old + addend)); in atomicAddByte()
|
/device/google/contexthub/firmware/os/inc/ |
D | atomic.h | 34 uint32_t atomicAddByte(volatile uint8_t *byte, uint32_t addend); 35 uint32_t atomicAdd32bits(volatile uint32_t *word, uint32_t addend);
|