Home
last modified time | relevance | path

Searched refs:atomic_add (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/samples/subsys/zbus/benchmark/src/
Dlis.c42 atomic_add(&count, *((uint16_t *)msg_received.bytes)); in s_cb()
46 atomic_add(&count, *((uint16_t *)msg_received->bytes)); in s_cb()
Dsub.c51 atomic_add(&count, *((uint16_t *)message.bytes)); in sub_thread()
55 atomic_add(&count, *((uint16_t *)msg_received->bytes)); in sub_thread()
Dmsg_sub.c43 atomic_add(&count, *((uint16_t *)msg_received.bytes)); in msg_sub_thread()
/Zephyr-latest/include/zephyr/sys/
Dspsc_lockfree.h191 atomic_add(&(spsc)->_spsc.in, 1); \
208 atomic_add(&(spsc)->_spsc.in, acquired); \
250 atomic_add(&(spsc)->_spsc.out, 1); \
264 atomic_add(&(spsc)->_spsc.out, consumed); \
Datomic_c.h26 __syscall atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
32 return atomic_add(target, 1); in atomic_inc()
Datomic_builtin.h39 static inline atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) in atomic_add() function
51 return atomic_add(target, 1); in atomic_inc()
Datomic_arch.h24 atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
Datomic.h286 atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
/Zephyr-latest/subsys/pm/
Dpm.c112 if (atomic_add(&_cpus_active, 1) == 0) { in pm_system_resume()
188 (void)atomic_add(&_cpus_active, 1); in pm_system_suspend()
/Zephyr-latest/modules/hal_nordic/nrfx/
Dnrfx_glue.h209 #define NRFX_ATOMIC_FETCH_ADD(p_data, value) atomic_add(p_data, value)
/Zephyr-latest/subsys/shell/
Dshell_log_backend.c121 atomic_add(&sh->stats->log_lost_cnt, cnt); in dropped()
123 atomic_add(&log_backend->control_block->dropped_cnt, cnt); in dropped()
/Zephyr-latest/tests/kernel/common/src/
Datomic.c136 zassert_true((atomic_add(&target, value) == 1), "atomic_add"); in ZTEST_USER()
141 zassert_true((atomic_add(&target, value) == 2), "atomic_add"); in ZTEST_USER()
/Zephyr-latest/include/zephyr/arch/xtensa/
Datomic_xtensa.h98 atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) in atomic_add() function
/Zephyr-latest/drivers/serial/
Duart_async_rx.c52 atomic_add(&rx_data->pending_bytes, length); in uart_async_rx_on_rdy()
/Zephyr-latest/kernel/
Datomic_c.c176 ATOMIC_SYSCALL_HANDLER_TARGET_VALUE(atomic_add);
/Zephyr-latest/samples/net/sockets/echo_server/src/
Dudp.c130 atomic_add(&data->udp.bytes_received, received); in process_udp()
Dtcp.c165 atomic_add(&data->tcp.bytes_received, received); in handle_data()
/Zephyr-latest/subsys/modem/backends/
Dmodem_backend_uart_isr.c182 atomic_add(&backend->isr.transmit_buf_len, written); in modem_backend_uart_isr_transmit()
/Zephyr-latest/subsys/bluetooth/host/
Dl2cap.c1277 atomic_add(&chan->tx.credits, credits); in l2cap_chan_tx_give_credits()