Lines Matching refs:value

29  * Atomic add one to the value at addr.
32 * @param addr Address of value to increment
34 * @return old value
39 * Atomic add one to the value at addr.
42 * @param addr Address of value to increment
44 * @return old value
50 * Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr, 1)
52 * @param addr Address of value to decrement
54 * @return old value
59 * Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr, 1)
61 * @param addr Address of value to decrement
63 * @return old value
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
74 * @return old value
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
84 * @return old value
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
95 * @return old value
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
105 * @return old value
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
116 * @return old value
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
126 * @return old value
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
137 * @return old value
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
147 * @return old value
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
158 * @return old value
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
168 * @return old value
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
178 * @param value comparison value
180 * @return old value
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
189 * @param value comparison value
191 * @return old value
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
201 * @param value comparison value
203 * @return old value
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
212 * @param value comparison value
214 * @return old value
217 rsAtomicMax(volatile int32_t* addr, int32_t value);
222 * If the value at addr matches compareValue then newValue is written.
225 * @param compareValue The value to test addr[0] against.
226 * @param newValue The value to write if the test passes.
228 * @return old value
236 * If the value at addr matches compareValue then newValue is written.
239 * @param compareValue The value to test addr[0] against.
240 * @param newValue The value to write if the test passes.
242 * @return old value