Home
last modified time | relevance | path

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

/lk-master/external/platform/nrfx/soc/
A Dnrfx_atomic.c54 return old_val; in nrfx_atomic_u32_fetch_store()
60 return old_val; in nrfx_atomic_u32_fetch_store()
73 (void) old_val; in nrfx_atomic_u32_store()
92 return old_val; in nrfx_atomic_u32_fetch_or()
98 return old_val; in nrfx_atomic_u32_fetch_or()
110 (void) old_val; in nrfx_atomic_u32_or()
130 return old_val; in nrfx_atomic_u32_fetch_and()
136 return old_val; in nrfx_atomic_u32_fetch_and()
148 (void) old_val; in nrfx_atomic_u32_and()
168 return old_val; in nrfx_atomic_u32_fetch_xor()
[all …]
A Dnrfx_atomic_internal.h245 #define NRFX_ATOMIC_OP(asm_op, old_val, new_val, ptr, value) \
255 [old_val] "=&r" (old_val), \
266 #define NRFX_ATOMIC_OP_orr(new_val, old_val, value) "orr %["#new_val"], %["#old_val"], %["#value"]\…
267 #define NRFX_ATOMIC_OP_and(new_val, old_val, value) "and %["#new_val"], %["#old_val"], %["#value"]\…
268 #define NRFX_ATOMIC_OP_eor(new_val, old_val, value) "eor %["#new_val"], %["#old_val"], %["#value"]\…
269 #define NRFX_ATOMIC_OP_add(new_val, old_val, value) "add %["#new_val"], %["#old_val"], %["#value"]\…
270 #define NRFX_ATOMIC_OP_sub(new_val, old_val, value) "sub %["#new_val"], %["#old_val"], %["#value"]\…
271 #define NRFX_ATOMIC_OP_sub_hs(new_val, old_val, value) \
272 "cmp %["#old_val"], %["#value"]\n " \
274 "subhs %["#new_val"], %["#old_val"], %["#value"]\n" \
[all …]
/lk-master/dev/interrupt/arm_gic/
A Darm_gic.c298 u_int old_val; in arm_gic_set_target_locked() local
304 old_val = GICREG(0, GICD_ITARGETSR(reg)); in arm_gic_set_target_locked()
308 irq, reg, old_val, new_val, GICREG(0, GICD_ITARGETSR(reg))); in arm_gic_set_target_locked()

Completed in 6 milliseconds