Lines Matching refs:new_val
51 uint32_t new_val; in nrfx_atomic_u32_fetch_store()
52 NRFX_ATOMIC_OP(mov, old_val, new_val, p_data, value); in nrfx_atomic_u32_fetch_store()
53 (void) new_val; in nrfx_atomic_u32_fetch_store()
71 uint32_t new_val; in nrfx_atomic_u32_store()
72 NRFX_ATOMIC_OP(mov, old_val, new_val, p_data, value); in nrfx_atomic_u32_store()
74 return new_val; in nrfx_atomic_u32_store()
89 uint32_t new_val; in nrfx_atomic_u32_fetch_or()
90 NRFX_ATOMIC_OP(orr, old_val, new_val, p_data, value); in nrfx_atomic_u32_fetch_or()
91 (void) new_val; in nrfx_atomic_u32_fetch_or()
108 uint32_t new_val; in nrfx_atomic_u32_or()
109 NRFX_ATOMIC_OP(orr, old_val, new_val, p_data, value); in nrfx_atomic_u32_or()
111 return new_val; in nrfx_atomic_u32_or()
127 uint32_t new_val; in nrfx_atomic_u32_fetch_and()
128 NRFX_ATOMIC_OP(and, old_val, new_val, p_data, value); in nrfx_atomic_u32_fetch_and()
129 (void) new_val; in nrfx_atomic_u32_fetch_and()
146 uint32_t new_val; in nrfx_atomic_u32_and()
147 NRFX_ATOMIC_OP(and, old_val, new_val, p_data, value); in nrfx_atomic_u32_and()
149 return new_val; in nrfx_atomic_u32_and()
165 uint32_t new_val; in nrfx_atomic_u32_fetch_xor()
166 NRFX_ATOMIC_OP(eor, old_val, new_val, p_data, value); in nrfx_atomic_u32_fetch_xor()
167 (void) new_val; in nrfx_atomic_u32_fetch_xor()
184 uint32_t new_val; in nrfx_atomic_u32_xor()
185 NRFX_ATOMIC_OP(eor, old_val, new_val, p_data, value); in nrfx_atomic_u32_xor()
187 return new_val; in nrfx_atomic_u32_xor()
203 uint32_t new_val; in nrfx_atomic_u32_fetch_add()
204 NRFX_ATOMIC_OP(add, old_val, new_val, p_data, value); in nrfx_atomic_u32_fetch_add()
205 (void) new_val; in nrfx_atomic_u32_fetch_add()
222 uint32_t new_val; in nrfx_atomic_u32_add()
223 NRFX_ATOMIC_OP(add, old_val, new_val, p_data, value); in nrfx_atomic_u32_add()
225 return new_val; in nrfx_atomic_u32_add()
241 uint32_t new_val; in nrfx_atomic_u32_fetch_sub()
242 NRFX_ATOMIC_OP(sub, old_val, new_val, p_data, value); in nrfx_atomic_u32_fetch_sub()
243 (void) new_val; in nrfx_atomic_u32_fetch_sub()
260 uint32_t new_val; in nrfx_atomic_u32_sub()
261 NRFX_ATOMIC_OP(sub, old_val, new_val, p_data, value); in nrfx_atomic_u32_sub()
263 return new_val; in nrfx_atomic_u32_sub()
308 uint32_t new_val; in nrfx_atomic_u32_fetch_sub_hs() local
312 new_val = expected - value; in nrfx_atomic_u32_fetch_sub_hs()
316 new_val = expected; in nrfx_atomic_u32_fetch_sub_hs()
318 } while (!__atomic_compare_exchange(p_data, &expected, &new_val, in nrfx_atomic_u32_fetch_sub_hs()
323 uint32_t new_val; in nrfx_atomic_u32_fetch_sub_hs()
324 NRFX_ATOMIC_OP(sub_hs, old_val, new_val, p_data, value); in nrfx_atomic_u32_fetch_sub_hs()
325 (void) new_val; in nrfx_atomic_u32_fetch_sub_hs()
340 uint32_t new_val; in nrfx_atomic_u32_sub_hs() local
344 new_val = expected - value; in nrfx_atomic_u32_sub_hs()
348 new_val = expected; in nrfx_atomic_u32_sub_hs()
350 } while (!__atomic_compare_exchange(p_data, &expected, &new_val, in nrfx_atomic_u32_sub_hs()
352 return new_val; in nrfx_atomic_u32_sub_hs()
355 uint32_t new_val; in nrfx_atomic_u32_sub_hs()
356 NRFX_ATOMIC_OP(sub_hs, old_val, new_val, p_data, value); in nrfx_atomic_u32_sub_hs()
358 return new_val; in nrfx_atomic_u32_sub_hs()