Home
last modified time | relevance | path

Searched refs:addend (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/firmware/os/cpu/cortexm4/
Datomic.c19 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/
Datomic.c19 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/
Datomic.h34 uint32_t atomicAddByte(volatile uint8_t *byte, uint32_t addend);
35 uint32_t atomicAdd32bits(volatile uint32_t *word, uint32_t addend);