/Zephyr-Core-2.7.6/include/sys/ |
D | atomic_arch.h | 14 extern bool atomic_cas(atomic_t *target, atomic_val_t old_value, 15 atomic_val_t new_value); 20 extern atomic_val_t atomic_add(atomic_t *target, atomic_val_t value); 22 extern atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value); 24 extern atomic_val_t atomic_inc(atomic_t *target); 26 extern atomic_val_t atomic_dec(atomic_t *target); 28 extern atomic_val_t atomic_get(const atomic_t *target); 32 extern atomic_val_t atomic_set(atomic_t *target, atomic_val_t value); 36 extern atomic_val_t atomic_clear(atomic_t *target); 40 extern atomic_val_t atomic_or(atomic_t *target, atomic_val_t value); [all …]
|
D | atomic_c.h | 20 __syscall bool atomic_cas(atomic_t *target, atomic_val_t old_value, 21 atomic_val_t new_value); 26 __syscall atomic_val_t atomic_add(atomic_t *target, atomic_val_t value); 28 __syscall atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value); 30 static inline atomic_val_t atomic_inc(atomic_t *target) in atomic_inc() 36 static inline atomic_val_t atomic_dec(atomic_t *target) in atomic_dec() 42 extern atomic_val_t atomic_get(const atomic_t *target); 46 __syscall atomic_val_t atomic_set(atomic_t *target, atomic_val_t value); 50 static inline atomic_val_t atomic_clear(atomic_t *target) in atomic_clear() 62 __syscall atomic_val_t atomic_or(atomic_t *target, atomic_val_t value); [all …]
|
D | atomic_builtin.h | 37 static inline bool atomic_cas(atomic_t *target, atomic_val_t old_value, in atomic_cas() 38 atomic_val_t new_value) in atomic_cas() 77 static inline atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) in atomic_add() 93 static inline atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value) in atomic_sub() 108 static inline atomic_val_t atomic_inc(atomic_t *target) in atomic_inc() 123 static inline atomic_val_t atomic_dec(atomic_t *target) in atomic_dec() 138 static inline atomic_val_t atomic_get(const atomic_t *target) in atomic_get() 170 static inline atomic_val_t atomic_set(atomic_t *target, atomic_val_t value) in atomic_set() 207 static inline atomic_val_t atomic_clear(atomic_t *target) in atomic_clear() 240 static inline atomic_val_t atomic_or(atomic_t *target, atomic_val_t value) in atomic_or() [all …]
|
D | atomic.h | 22 typedef atomic_t atomic_val_t; typedef 78 #define ATOMIC_BITS (sizeof(atomic_val_t) * 8) 129 atomic_val_t val = atomic_get(ATOMIC_ELEM(target, bit)); in atomic_test_bit() 147 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_test_and_clear_bit() 148 atomic_val_t old; in atomic_test_and_clear_bit() 168 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_test_and_set_bit() 169 atomic_val_t old; in atomic_test_and_set_bit() 189 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_clear_bit() 207 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_set_bit() 226 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_set_bit_to()
|
/Zephyr-Core-2.7.6/include/arch/xtensa/ |
D | atomic_xtensa.h | 16 static ALWAYS_INLINE atomic_val_t atomic_get(const atomic_t *target) in atomic_get() 18 atomic_val_t ret; in atomic_get() 32 atomic_val_t xtensa_cas(atomic_t *addr, atomic_val_t oldval, in xtensa_cas() 33 atomic_val_t newval) in xtensa_cas() 42 bool atomic_cas(atomic_t *target, atomic_val_t oldval, atomic_val_t newval) in atomic_cas() 50 return (atomic_val_t) oldval in atomic_ptr_cas() 51 == xtensa_cas((atomic_t *) target, (atomic_val_t) oldval, in atomic_ptr_cas() 52 (atomic_val_t) newval); in atomic_ptr_cas() 62 atomic_val_t res, cur; \ 70 atomic_val_t atomic_set(atomic_t *target, atomic_val_t value) in atomic_set() [all …]
|
/Zephyr-Core-2.7.6/kernel/ |
D | atomic_c.c | 43 static inline atomic_val_t z_vrfy_##name(atomic_t *target) \ 50 static inline atomic_val_t z_vrfy_##name(atomic_t *target, \ 51 atomic_val_t value) \ 81 bool z_impl_atomic_cas(atomic_t *target, atomic_val_t old_value, in z_impl_atomic_cas() 82 atomic_val_t new_value) in z_impl_atomic_cas() 100 bool z_vrfy_atomic_cas(atomic_t *target, atomic_val_t old_value, in z_vrfy_atomic_cas() 101 atomic_val_t new_value) in z_vrfy_atomic_cas() 153 atomic_val_t z_impl_atomic_add(atomic_t *target, atomic_val_t value) in z_impl_atomic_add() 156 atomic_val_t ret; in z_impl_atomic_add() 183 atomic_val_t z_impl_atomic_sub(atomic_t *target, atomic_val_t value) in z_impl_atomic_sub() [all …]
|
D | futex.c | 77 if (atomic_get(&futex->val) != (atomic_val_t)expected) { in z_impl_k_futex_wait()
|
/Zephyr-Core-2.7.6/drivers/wifi/esp_at/ |
D | esp.h | 263 static inline atomic_val_t esp_socket_flags_update(struct esp_socket *sock, in esp_socket_flags_update() 264 atomic_val_t value, in esp_socket_flags_update() 265 atomic_val_t mask) in esp_socket_flags_update() 267 atomic_val_t flags; in esp_socket_flags_update() 277 atomic_val_t esp_socket_flags_clear_and_set(struct esp_socket *sock, in esp_socket_flags_clear_and_set() 278 atomic_val_t clear_flags, in esp_socket_flags_clear_and_set() 279 atomic_val_t set_flags) in esp_socket_flags_clear_and_set() 285 static inline atomic_val_t esp_socket_flags_set(struct esp_socket *sock, in esp_socket_flags_set() 286 atomic_val_t flags) in esp_socket_flags_set() 292 atomic_val_t flags) in esp_socket_flags_test_and_clear() [all …]
|
D | esp_socket.c | 54 atomic_val_t ref; in esp_socket_ref() 68 atomic_val_t ref; in esp_socket_unref() 150 atomic_val_t flags; in esp_socket_rx()
|
D | esp_offload.c | 285 atomic_val_t flags = esp_socket_flags(sock); in esp_socket_can_send() 369 atomic_val_t flags = esp_socket_flags(sock); in esp_sendto() 509 atomic_val_t old_flags; in esp_close_work()
|
/Zephyr-Core-2.7.6/subsys/pm/ |
D | pm_ctrl.c | 23 atomic_val_t v; in pm_constraint_set() 35 atomic_val_t v; in pm_constraint_release()
|
D | device.c | 200 atomic_val_t flags, new_flags; in pm_device_wakeup_enable()
|
/Zephyr-Core-2.7.6/subsys/random/ |
D | rand32_timer.c | 29 static atomic_val_t _rand32_counter;
|
/Zephyr-Core-2.7.6/subsys/timing/ |
D | timing.c | 13 static atomic_val_t started_ref;
|
/Zephyr-Core-2.7.6/subsys/net/ip/ |
D | promiscuous.c | 65 atomic_val_t prev; in net_promisc_mode_off()
|
D | net_pkt.c | 509 atomic_val_t ref; 608 atomic_val_t ref;
|
/Zephyr-Core-2.7.6/tests/kernel/common/src/ |
D | atomic.c | 99 atomic_val_t value; in test_atomic() 100 atomic_val_t oldvalue; in test_atomic()
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_clock.c | 30 static atomic_val_t hf_refcnt;
|
/Zephyr-Core-2.7.6/drivers/serial/ |
D | uart_nrfx_uart.c | 264 static atomic_val_t poll_out_lock; in uart_nrfx_poll_out() 273 (atomic_val_t) 0, in uart_nrfx_poll_out() 274 (atomic_val_t) 1) == false) { in uart_nrfx_poll_out() 425 (atomic_val_t) 0, in uart_nrfx_tx() 426 (atomic_val_t) len) == false) { in uart_nrfx_tx()
|
/Zephyr-Core-2.7.6/drivers/timer/ |
D | nrf_rtc_timer.c | 99 atomic_val_t prev = atomic_and(&int_mask, ~BIT(chan)); in z_nrf_rtc_timer_compare_int_lock() 295 atomic_val_t prev; in z_nrf_rtc_timer_chan_alloc()
|
/Zephyr-Core-2.7.6/drivers/wifi/eswifi/ |
D | eswifi.h | 76 atomic_val_t mutex_owner;
|
/Zephyr-Core-2.7.6/drivers/can/ |
D | can_mcux_flexcan.c | 279 atomic_val_t *allocs = data->tx_allocs; in mcux_get_tx_alloc() 280 atomic_val_t pivot = ATOMIC_BITS / 2; in mcux_get_tx_alloc() 281 atomic_val_t alloc, mask; in mcux_get_tx_alloc() 287 for (atomic_val_t bits = ATOMIC_BITS / 2U; in mcux_get_tx_alloc()
|
/Zephyr-Core-2.7.6/drivers/pcie/host/ |
D | pcie.c | 195 irq = (fz - 1) + (i * sizeof(atomic_val_t) * 8); in irq_alloc()
|
/Zephyr-Core-2.7.6/lib/os/ |
D | fdtable.c | 67 atomic_val_t old_rc; in z_fd_unref()
|
/Zephyr-Core-2.7.6/subsys/bluetooth/host/ |
D | monitor.c | 93 atomic_val_t count; in encode_drops()
|