Searched refs:ATOMIC_INIT (Results 1 – 25 of 31) sorted by relevance
12
/Zephyr-latest/subsys/net/ip/ |
D | promiscuous.c | 26 static atomic_t enabled = ATOMIC_INIT(0);
|
/Zephyr-latest/tests/net/offloaded_netdev/src/ |
D | main.c | 61 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/ |
D | spsc_lockfree.h | 88 .in = ATOMIC_INIT(0), \ 89 .out = ATOMIC_INIT(0), \
|
D | atomic.h | 59 #define ATOMIC_INIT(i) (i) macro
|
/Zephyr-latest/subsys/usb/usb_c/ |
D | usbc_prl.c | 519 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()
|
D | usbc_tc_common.c | 139 tc->flags = ATOMIC_INIT(0); in tc_init()
|
/Zephyr-latest/tests/drivers/gnss/gnss_api/src/ |
D | test_fix_rate.c | 43 static atomic_t callback_count_atom = ATOMIC_INIT(0);
|
D | test_enabled_systems.c | 52 static atomic_t reported_systems_atom = ATOMIC_INIT(0);
|
/Zephyr-latest/subsys/pm/policy/ |
D | policy_state_lock.c | 19 .lock = ATOMIC_INIT(0), \
|
/Zephyr-latest/tests/lib/lockfree/src/ |
D | test_spsc.c | 112 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/ |
D | main.c | 11 static atomic_t sub_count = ATOMIC_INIT(0);
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings_clear/src/ |
D | bt_settings_hook.c | 24 static atomic_t settings_record_enabled = ATOMIC_INIT(0);
|
/Zephyr-latest/tests/kernel/common/src/ |
D | atomic.c | 359 atomic_t atomic_var = ATOMIC_INIT(atomic_value); in ZTEST() 373 atomic_var = ATOMIC_INIT(atomic_value); in ZTEST()
|
/Zephyr-latest/lib/os/ |
D | fdtable.c | 54 .refcount = ATOMIC_INIT(1), 61 .refcount = ATOMIC_INIT(1), 68 .refcount = ATOMIC_INIT(1),
|
/Zephyr-latest/doc/kernel/services/other/ |
D | atomic.rst | 35 a different value using :c:macro:`ATOMIC_INIT`: 39 atomic_t flags = ATOMIC_INIT(0xFF);
|
/Zephyr-latest/modules/hal_nordic/nrfs/backends/ |
D | nrfs_backend_ipc_service.c | 53 .status = ATOMIC_INIT(NOT_CONNECTED),
|
/Zephyr-latest/drivers/sensor/hc_sr04/ |
D | hc_sr04.c | 178 .echo_high_cycles = ATOMIC_INIT(0), \
|
/Zephyr-latest/drivers/dma/ |
D | dma_nxp_sof_host_dma.c | 289 data->channel_flags = ATOMIC_INIT(0); in sof_host_dma_init()
|
/Zephyr-latest/samples/subsys/usb_c/sink/src/ |
D | main.c | 323 port0_data.ps_ready = ATOMIC_INIT(0); in main()
|
/Zephyr-latest/samples/subsys/usb_c/source/src/ |
D | main.c | 357 port0_data.show_sink_request = ATOMIC_INIT(0); in main()
|
/Zephyr-latest/include/zephyr/pm/ |
D | device.h | 245 .flags = ATOMIC_INIT(Z_PM_DEVICE_FLAGS(node_id) | (_flags)), \
|
/Zephyr-latest/samples/bluetooth/central_otc/src/ |
D | main.c | 547 discovery_state = ATOMIC_INIT(0); in disconnected() 651 discovery_state = ATOMIC_INIT(0); in main()
|
/Zephyr-latest/soc/nordic/nrf54h/gpd/ |
D | gpd.c | 47 static atomic_t gpd_service_status = ATOMIC_INIT(0);
|
/Zephyr-latest/tests/subsys/zbus/unittests/src/ |
D | main.c | 233 .priority = ATOMIC_INIT(CONFIG_NUM_PREEMPT_PRIORITIES - 1) 719 .priority = ATOMIC_INIT(CONFIG_NUM_PREEMPT_PRIORITIES - 1)
|
/Zephyr-latest/drivers/serial/ |
D | uart_bt.c | 355 .enabled = ATOMIC_INIT(0), \
|
12