Lines Matching refs:addr

29  * Atomic add one to the value at addr.
30 * Equal to rsAtomicAdd(addr, 1)
32 * @param addr Address of value to increment
37 rsAtomicInc(volatile int32_t* addr);
39 * Atomic add one to the value at addr.
40 * Equal to rsAtomicAdd(addr, 1)
42 * @param addr Address of value to increment
47 rsAtomicInc(volatile uint32_t* addr);
50 * Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr, 1)
52 * @param addr Address of value to decrement
57 rsAtomicDec(volatile int32_t* addr);
59 * Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr, 1)
61 * @param addr Address of value to decrement
66 rsAtomicDec(volatile uint32_t* addr);
69 * Atomic add a value to the value at addr. addr[0] += value
71 * @param addr Address of value to modify
72 * @param value Amount to add to the value at addr
77 rsAtomicAdd(volatile int32_t* addr, int32_t value);
79 * Atomic add a value to the value at addr. addr[0] += value
81 * @param addr Address of value to modify
82 * @param value Amount to add to the value at addr
87 rsAtomicAdd(volatile uint32_t* addr, uint32_t value);
90 * Atomic Subtract a value from the value at addr. addr[0] -= value
92 * @param addr Address of value to modify
93 * @param value Amount to subtract from the value at addr
98 rsAtomicSub(volatile int32_t* addr, int32_t value);
100 * Atomic Subtract a value from the value at addr. addr[0] -= value
102 * @param addr Address of value to modify
103 * @param value Amount to subtract from the value at addr
108 rsAtomicSub(volatile uint32_t* addr, uint32_t value);
111 * Atomic Bitwise and a value from the value at addr. addr[0] &= value
113 * @param addr Address of value to modify
114 * @param value Amount to and with the value at addr
119 rsAtomicAnd(volatile int32_t* addr, int32_t value);
121 * Atomic Bitwise and a value from the value at addr. addr[0] &= value
123 * @param addr Address of value to modify
124 * @param value Amount to and with the value at addr
129 rsAtomicAnd(volatile uint32_t* addr, uint32_t value);
132 * Atomic Bitwise or a value from the value at addr. addr[0] |= value
134 * @param addr Address of value to modify
135 * @param value Amount to or with the value at addr
140 rsAtomicOr(volatile int32_t* addr, int32_t value);
142 * Atomic Bitwise or a value from the value at addr. addr[0] |= value
144 * @param addr Address of value to modify
145 * @param value Amount to or with the value at addr
150 rsAtomicOr(volatile uint32_t* addr, uint32_t value);
153 * Atomic Bitwise xor a value from the value at addr. addr[0] ^= value
155 * @param addr Address of value to modify
156 * @param value Amount to xor with the value at addr
161 rsAtomicXor(volatile uint32_t* addr, uint32_t value);
163 * Atomic Bitwise xor a value from the value at addr. addr[0] ^= value
165 * @param addr Address of value to modify
166 * @param value Amount to xor with the value at addr
171 rsAtomicXor(volatile int32_t* addr, int32_t value);
174 * Atomic Set the value at addr to the min of addr and value
175 * addr[0] = rsMin(addr[0], value)
177 * @param addr Address of value to modify
183 rsAtomicMin(volatile uint32_t* addr, uint32_t value);
185 * Atomic Set the value at addr to the min of addr and value
186 * addr[0] = rsMin(addr[0], value)
188 * @param addr Address of value to modify
194 rsAtomicMin(volatile int32_t* addr, int32_t value);
197 * Atomic Set the value at addr to the max of addr and value
198 * addr[0] = rsMax(addr[0], value)
200 * @param addr Address of value to modify
206 rsAtomicMax(volatile uint32_t* addr, uint32_t value);
208 * Atomic Set the value at addr to the max of addr and value
209 * addr[0] = rsMin(addr[0], value)
211 * @param addr Address of value to modify
217 rsAtomicMax(volatile int32_t* addr, int32_t value);
222 * If the value at addr matches compareValue then newValue is written.
224 * @param addr The address to compare and replace if the compare passes.
225 * @param compareValue The value to test addr[0] against.
231 rsAtomicCas(volatile int32_t* addr, int32_t compareValue, int32_t newValue);
236 * If the value at addr matches compareValue then newValue is written.
238 * @param addr The address to compare and replace if the compare passes.
239 * @param compareValue The value to test addr[0] against.
245 rsAtomicCas(volatile uint32_t* addr, uint32_t compareValue, uint32_t newValue);