Home
last modified time | relevance | path

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

/external/platform/nrfx/soc/
A Dnrfx_atomic.c51 uint32_t new_val; in nrfx_atomic_u32_fetch_store()
53 (void) new_val; in nrfx_atomic_u32_fetch_store()
74 return new_val; in nrfx_atomic_u32_store()
91 (void) new_val; in nrfx_atomic_u32_fetch_or()
111 return new_val; in nrfx_atomic_u32_or()
129 (void) new_val; in nrfx_atomic_u32_fetch_and()
149 return new_val; in nrfx_atomic_u32_and()
167 (void) new_val; in nrfx_atomic_u32_fetch_xor()
187 return new_val; in nrfx_atomic_u32_xor()
205 (void) new_val; in nrfx_atomic_u32_fetch_add()
[all …]
A Dnrfx_atomic_internal.h245 #define NRFX_ATOMIC_OP(asm_op, old_val, new_val, ptr, value) \
256 [new_val] "=&r" (new_val), \
265 #define NRFX_ATOMIC_OP_mov(new_val, old_val, value) "mov %["#new_val"], %["#value"]\n"
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) \
274 "subhs %["#new_val"], %["#old_val"], %["#value"]\n" \
[all …]
/external/platform/pico/rp2_common/pico_cyw43_driver/cybt_shared_bus/
A Dcybt_shared_bus_driver.c407 uint32_t reg_val, new_val; in cybt_toggle_bt_intr() local
418 new_val = reg_val ^ BTSDIO_REG_DATA_VALID_BITMASK; in cybt_toggle_bt_intr()
419 cybt_reg_write(HOST_CTRL_REG_ADDR, new_val); in cybt_toggle_bt_intr()
421 last_host_ctrl_reg = new_val; in cybt_toggle_bt_intr()
427 uint32_t reg_val, new_val; in cybt_set_bt_intr() local
431 new_val = reg_val | BTSDIO_REG_DATA_VALID_BITMASK; in cybt_set_bt_intr()
433 new_val = reg_val & ~BTSDIO_REG_DATA_VALID_BITMASK; in cybt_set_bt_intr()
435 cybt_reg_write(HOST_CTRL_REG_ADDR, new_val); in cybt_set_bt_intr()
437 last_host_ctrl_reg = new_val; in cybt_set_bt_intr()

Completed in 9 milliseconds