Searched refs:newval (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/include/zephyr/arch/xtensa/ |
D | atomic_xtensa.h | 52 atomic_val_t newval) in xtensa_cas() argument 55 : "+r"(newval), "+r"(oldval) : "r"(addr) : "memory"); in xtensa_cas() 57 return newval; /* got swapped with the old memory by s32c1i */ in xtensa_cas() 62 bool atomic_cas(atomic_t *target, atomic_val_t oldval, atomic_val_t newval) in atomic_cas() argument 64 return oldval == xtensa_cas(target, oldval, newval); in atomic_cas() 69 bool atomic_ptr_cas(atomic_ptr_t *target, void *oldval, void *newval) in atomic_ptr_cas() argument 73 (atomic_val_t) newval); in atomic_ptr_cas()
|
/Zephyr-latest/include/zephyr/arch/riscv/ |
D | atomic.h | 21 static ALWAYS_INLINE atomic_val_t atomic_swap(const atomic_t *target, atomic_val_t newval) in atomic_swap() argument 27 : "r"(newval), "A"(*target) in atomic_swap() 83 static ALWAYS_INLINE atomic_val_t atomic_swap(const atomic_t *target, atomic_val_t newval) 89 : "r"(newval), "A"(*target)
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_tco.c | 68 uint16_t val, newval; in set_no_reboot() local 79 newval = sys_in16(TCO1_CNT(dev)); in set_no_reboot() 81 if (val != newval) { in set_no_reboot()
|