Searched refs:atomic_add (Results 1 – 19 of 19) sorted by relevance
/Zephyr-latest/samples/subsys/zbus/benchmark/src/ |
D | lis.c | 42 atomic_add(&count, *((uint16_t *)msg_received.bytes)); in s_cb() 46 atomic_add(&count, *((uint16_t *)msg_received->bytes)); in s_cb()
|
D | sub.c | 51 atomic_add(&count, *((uint16_t *)message.bytes)); in sub_thread() 55 atomic_add(&count, *((uint16_t *)msg_received->bytes)); in sub_thread()
|
D | msg_sub.c | 43 atomic_add(&count, *((uint16_t *)msg_received.bytes)); in msg_sub_thread()
|
/Zephyr-latest/include/zephyr/sys/ |
D | spsc_lockfree.h | 191 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); \
|
D | atomic_c.h | 26 __syscall atomic_val_t atomic_add(atomic_t *target, atomic_val_t value); 32 return atomic_add(target, 1); in atomic_inc()
|
D | atomic_builtin.h | 39 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()
|
D | atomic_arch.h | 24 atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
|
D | atomic.h | 286 atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
|
/Zephyr-latest/subsys/pm/ |
D | pm.c | 112 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/ |
D | nrfx_glue.h | 209 #define NRFX_ATOMIC_FETCH_ADD(p_data, value) atomic_add(p_data, value)
|
/Zephyr-latest/subsys/shell/ |
D | shell_log_backend.c | 121 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/ |
D | atomic.c | 136 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/ |
D | atomic_xtensa.h | 98 atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) in atomic_add() function
|
/Zephyr-latest/drivers/serial/ |
D | uart_async_rx.c | 52 atomic_add(&rx_data->pending_bytes, length); in uart_async_rx_on_rdy()
|
/Zephyr-latest/kernel/ |
D | atomic_c.c | 176 ATOMIC_SYSCALL_HANDLER_TARGET_VALUE(atomic_add);
|
/Zephyr-latest/samples/net/sockets/echo_server/src/ |
D | udp.c | 130 atomic_add(&data->udp.bytes_received, received); in process_udp()
|
D | tcp.c | 165 atomic_add(&data->tcp.bytes_received, received); in handle_data()
|
/Zephyr-latest/subsys/modem/backends/ |
D | modem_backend_uart_isr.c | 182 atomic_add(&backend->isr.transmit_buf_len, written); in modem_backend_uart_isr_transmit()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | l2cap.c | 1277 atomic_add(&chan->tx.credits, credits); in l2cap_chan_tx_give_credits()
|