Home
last modified time | relevance | path

Searched refs:ATOMIC_INIT (Results 1 – 25 of 31) sorted by relevance

12

/Zephyr-latest/subsys/net/ip/
Dpromiscuous.c26 static atomic_t enabled = ATOMIC_INIT(0);
/Zephyr-latest/tests/net/offloaded_netdev/src/
Dmain.c61 atomic_t up_count = ATOMIC_INIT(0);
64 atomic_t call_count = ATOMIC_INIT(0);
67 atomic_t retval = ATOMIC_INIT(0);
/Zephyr-latest/include/zephyr/sys/
Dspsc_lockfree.h88 .in = ATOMIC_INIT(0), \
89 .out = ATOMIC_INIT(0), \
Datomic.h59 #define ATOMIC_INIT(i) (i) macro
/Zephyr-latest/subsys/usb/usb_c/
Dusbc_prl.c519 data->prl_tx->flags = ATOMIC_INIT(0); in prl_hr_send_msg_to_phy()
548 prl_hr->flags = ATOMIC_INIT(0); in prl_init()
553 prl_tx->flags = ATOMIC_INIT(0); in prl_init()
563 prl_rx->flags = ATOMIC_INIT(0); in prl_init()
598 prl_tx->flags = ATOMIC_INIT(0); in prl_tx_wait_for_message_request_entry()
974 prl_hr->flags = ATOMIC_INIT(0); in prl_hr_wait_for_request_entry()
1015 prl_rx->flags = ATOMIC_INIT(0); in prl_hr_reset_layer_entry()
1017 prl_tx->flags = ATOMIC_INIT(0); in prl_hr_reset_layer_entry()
Dusbc_tc_common.c139 tc->flags = ATOMIC_INIT(0); in tc_init()
/Zephyr-latest/tests/drivers/gnss/gnss_api/src/
Dtest_fix_rate.c43 static atomic_t callback_count_atom = ATOMIC_INIT(0);
Dtest_enabled_systems.c52 static atomic_t reported_systems_atom = ATOMIC_INIT(0);
/Zephyr-latest/subsys/pm/policy/
Dpolicy_state_lock.c19 .lock = ATOMIC_INIT(0), \
/Zephyr-latest/tests/lib/lockfree/src/
Dtest_spsc.c112 ezspsc._spsc.in = ATOMIC_INIT(UINTPTR_MAX - 2); in ZTEST()
113 ezspsc._spsc.out = ATOMIC_INIT(UINTPTR_MAX - 2); in ZTEST()
/Zephyr-latest/samples/subsys/zbus/confirmed_channel/src/
Dmain.c11 static atomic_t sub_count = ATOMIC_INIT(0);
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings_clear/src/
Dbt_settings_hook.c24 static atomic_t settings_record_enabled = ATOMIC_INIT(0);
/Zephyr-latest/tests/kernel/common/src/
Datomic.c359 atomic_t atomic_var = ATOMIC_INIT(atomic_value); in ZTEST()
373 atomic_var = ATOMIC_INIT(atomic_value); in ZTEST()
/Zephyr-latest/lib/os/
Dfdtable.c54 .refcount = ATOMIC_INIT(1),
61 .refcount = ATOMIC_INIT(1),
68 .refcount = ATOMIC_INIT(1),
/Zephyr-latest/doc/kernel/services/other/
Datomic.rst35 a different value using :c:macro:`ATOMIC_INIT`:
39 atomic_t flags = ATOMIC_INIT(0xFF);
/Zephyr-latest/modules/hal_nordic/nrfs/backends/
Dnrfs_backend_ipc_service.c53 .status = ATOMIC_INIT(NOT_CONNECTED),
/Zephyr-latest/drivers/sensor/hc_sr04/
Dhc_sr04.c178 .echo_high_cycles = ATOMIC_INIT(0), \
/Zephyr-latest/drivers/dma/
Ddma_nxp_sof_host_dma.c289 data->channel_flags = ATOMIC_INIT(0); in sof_host_dma_init()
/Zephyr-latest/samples/subsys/usb_c/sink/src/
Dmain.c323 port0_data.ps_ready = ATOMIC_INIT(0); in main()
/Zephyr-latest/samples/subsys/usb_c/source/src/
Dmain.c357 port0_data.show_sink_request = ATOMIC_INIT(0); in main()
/Zephyr-latest/include/zephyr/pm/
Ddevice.h245 .flags = ATOMIC_INIT(Z_PM_DEVICE_FLAGS(node_id) | (_flags)), \
/Zephyr-latest/samples/bluetooth/central_otc/src/
Dmain.c547 discovery_state = ATOMIC_INIT(0); in disconnected()
651 discovery_state = ATOMIC_INIT(0); in main()
/Zephyr-latest/soc/nordic/nrf54h/gpd/
Dgpd.c47 static atomic_t gpd_service_status = ATOMIC_INIT(0);
/Zephyr-latest/tests/subsys/zbus/unittests/src/
Dmain.c233 .priority = ATOMIC_INIT(CONFIG_NUM_PREEMPT_PRIORITIES - 1)
719 .priority = ATOMIC_INIT(CONFIG_NUM_PREEMPT_PRIORITIES - 1)
/Zephyr-latest/drivers/serial/
Duart_bt.c355 .enabled = ATOMIC_INIT(0), \

12