Home
last modified time | relevance | path

Searched refs:K_SEM_DEFINE (Results 1 – 25 of 248) sorted by relevance

12345678910

/Zephyr-Core-3.7.0/tests/drivers/uart/uart_async_api/src/
Dtest_uart_wide.c9 K_SEM_DEFINE(tx_wide_done, 0, 1);
10 K_SEM_DEFINE(tx_wide_aborted, 0, 1);
11 K_SEM_DEFINE(rx_wide_rdy, 0, 1);
12 K_SEM_DEFINE(rx_wide_buf_released, 0, 1);
13 K_SEM_DEFINE(rx_wide_disabled, 0, 1);
/Zephyr-Core-3.7.0/samples/philosophers/src/
Dphil_obj_abstract.h45 K_SEM_DEFINE(fork0, 1, 1);
46 K_SEM_DEFINE(fork1, 1, 1);
47 K_SEM_DEFINE(fork2, 1, 1);
48 K_SEM_DEFINE(fork3, 1, 1);
49 K_SEM_DEFINE(fork4, 1, 1);
50 K_SEM_DEFINE(fork5, 1, 1);
/Zephyr-Core-3.7.0/samples/subsys/ipc/ipc_service/multi_endpoint/remote/src/
Dmain.c23 static K_SEM_DEFINE(ipc0A_bound_sem, 0, 1);
24 static K_SEM_DEFINE(ipc0B_bound_sem, 0, 1);
25 static K_SEM_DEFINE(ipc1_bound_sem, 0, 1);
27 static K_SEM_DEFINE(ipc0A_data_sem, 0, 1);
28 static K_SEM_DEFINE(ipc0B_data_sem, 0, 1);
29 static K_SEM_DEFINE(ipc1_data_sem, 0, 1);
/Zephyr-Core-3.7.0/samples/subsys/ipc/ipc_service/multi_endpoint/src/
Dmain.c23 static K_SEM_DEFINE(ipc0A_bound_sem, 0, 1);
24 static K_SEM_DEFINE(ipc0B_bound_sem, 0, 1);
25 static K_SEM_DEFINE(ipc1_bound_sem, 0, 1);
27 static K_SEM_DEFINE(ipc0A_data_sem, 0, 1);
28 static K_SEM_DEFINE(ipc0B_data_sem, 0, 1);
29 static K_SEM_DEFINE(ipc1_data_sem, 0, 1);
/Zephyr-Core-3.7.0/samples/subsys/ipc/ipc_service/static_vrings/src/
Dmain.c23 static K_SEM_DEFINE(ipc0A_bound_sem, 0, 1);
24 static K_SEM_DEFINE(ipc0B_bound_sem, 0, 1);
25 static K_SEM_DEFINE(ipc1_bound_sem, 0, 1);
27 static K_SEM_DEFINE(ipc0A_data_sem, 0, 1);
28 static K_SEM_DEFINE(ipc0B_data_sem, 0, 1);
29 static K_SEM_DEFINE(ipc1_data_sem, 0, 1);
/Zephyr-Core-3.7.0/samples/subsys/ipc/ipc_service/static_vrings/remote/src/
Dmain.c23 static K_SEM_DEFINE(ipc0A_bound_sem, 0, 1);
24 static K_SEM_DEFINE(ipc0B_bound_sem, 0, 1);
25 static K_SEM_DEFINE(ipc1_bound_sem, 0, 1);
27 static K_SEM_DEFINE(ipc0A_data_sem, 0, 1);
28 static K_SEM_DEFINE(ipc0B_data_sem, 0, 1);
29 static K_SEM_DEFINE(ipc1_data_sem, 0, 1);
/Zephyr-Core-3.7.0/tests/benchmarks/app_kernel/src/
Dmaster.c62 K_SEM_DEFINE(SEM0, 0, 1);
63 K_SEM_DEFINE(SEM1, 0, 1);
64 K_SEM_DEFINE(SEM2, 0, 1);
65 K_SEM_DEFINE(SEM3, 0, 1);
66 K_SEM_DEFINE(SEM4, 0, 1);
67 K_SEM_DEFINE(STARTRCV, 0, 1);
/Zephyr-Core-3.7.0/tests/kernel/threads/thread_init/src/
Dmain.c9 K_SEM_DEFINE(static_preem_start_sema, 0, 1);
10 K_SEM_DEFINE(preem_start_sema, 0, 1);
11 K_SEM_DEFINE(static_coop_start_sema, 0, 1);
12 K_SEM_DEFINE(coop_start_sema, 0, 1);
14 K_SEM_DEFINE(end_sema, 0, 1);
/Zephyr-Core-3.7.0/tests/misc/test_build/src/
Dmain.c53 K_SEM_DEFINE(threadA_sem, 1, 1); /* starts off "available" */
54 K_SEM_DEFINE(threadB_sem, 0, 1); /* starts off "not available" */
/Zephyr-Core-3.7.0/samples/bluetooth/tmap_central/src/
Dmain.c27 static K_SEM_DEFINE(sem_connected, 0, 1);
28 static K_SEM_DEFINE(sem_security_updated, 0, 1);
29 static K_SEM_DEFINE(sem_disconnected, 0, 1);
30 static K_SEM_DEFINE(sem_mtu_exchanged, 0, 1);
31 static K_SEM_DEFINE(sem_discovery_done, 0, 1);
/Zephyr-Core-3.7.0/samples/subsys/tracing/src/
Dmain.c63 K_SEM_DEFINE(threadA_sem, 1, 1); /* starts off "available" */
64 K_SEM_DEFINE(threadB_sem, 0, 1); /* starts off "not available" */
/Zephyr-Core-3.7.0/samples/subsys/ipc/rpmsg_service/remote/src/
Dmain.c26 static K_SEM_DEFINE(data_sem, 0, 1);
27 static K_SEM_DEFINE(data_rx_sem, 0, 1);
/Zephyr-Core-3.7.0/tests/kernel/workq/critical/src/
Dmain.c56 K_SEM_DEFINE(ALT_SEM, 0, UINT_MAX);
57 K_SEM_DEFINE(REGRESS_SEM, 0, UINT_MAX);
58 K_SEM_DEFINE(TEST_SEM, 0, UINT_MAX);
/Zephyr-Core-3.7.0/tests/kernel/sched/schedule_api/src/
Dtest_priority_scheduling.c25 static K_SEM_DEFINE(sema2, 0, NUM_THREAD);
28 static K_SEM_DEFINE(sema3, 0, NUM_THREAD);
/Zephyr-Core-3.7.0/samples/subsys/logging/multidomain/remote/src/
Dipc_service.c17 static K_SEM_DEFINE(ipc1_bound_sem, 0, 1);
18 static K_SEM_DEFINE(ipc1_data_sem, 0, 1);
/Zephyr-Core-3.7.0/samples/subsys/logging/multidomain/src/
Dipc_service.c18 static K_SEM_DEFINE(ipc1_bound_sem, 0, 1);
19 static K_SEM_DEFINE(ipc1_data_sem, 0, 1);
/Zephyr-Core-3.7.0/samples/bluetooth/periodic_sync_conn/src/
Dmain.c15 static K_SEM_DEFINE(sem_per_adv, 0, 1);
16 static K_SEM_DEFINE(sem_per_sync, 0, 1);
17 static K_SEM_DEFINE(sem_connected, 0, 1);
18 static K_SEM_DEFINE(sem_disconnected, 0, 1);
/Zephyr-Core-3.7.0/samples/bluetooth/bap_unicast_client/src/
Dmain.c51 static K_SEM_DEFINE(sem_connected, 0, 1);
52 static K_SEM_DEFINE(sem_disconnected, 0, 1);
53 static K_SEM_DEFINE(sem_mtu_exchanged, 0, 1);
54 static K_SEM_DEFINE(sem_security_updated, 0, 1);
55 static K_SEM_DEFINE(sem_sinks_discovered, 0, 1);
56 static K_SEM_DEFINE(sem_sources_discovered, 0, 1);
57 static K_SEM_DEFINE(sem_stream_configured, 0, 1);
58 static K_SEM_DEFINE(sem_stream_qos, 0, ARRAY_SIZE(sinks) + ARRAY_SIZE(sources));
59 static K_SEM_DEFINE(sem_stream_enabled, 0, 1);
60 static K_SEM_DEFINE(sem_stream_started, 0, 1);
[all …]
/Zephyr-Core-3.7.0/samples/synchronization/src/
Dmain.c71 K_SEM_DEFINE(thread_a_sem, 1, 1); /* starts off "available" */
72 K_SEM_DEFINE(thread_b_sem, 0, 1); /* starts off "not available" */
/Zephyr-Core-3.7.0/kernel/
Dirq_offload.c12 K_SEM_DEFINE(offload_sem, 1, 1);
/Zephyr-Core-3.7.0/samples/bluetooth/tmap_peripheral/src/
Dmain.c69 static K_SEM_DEFINE(sem_connected, 0, 1);
70 static K_SEM_DEFINE(sem_security_updated, 0, 1);
71 static K_SEM_DEFINE(sem_disconnected, 0, 1);
72 static K_SEM_DEFINE(sem_discovery_done, 0, 1);
/Zephyr-Core-3.7.0/samples/bluetooth/bap_broadcast_assistant/src/
Dmain.c52 static K_SEM_DEFINE(sem_source_discovered, 0, 1);
53 static K_SEM_DEFINE(sem_sink_discovered, 0, 1);
54 static K_SEM_DEFINE(sem_sink_connected, 0, 1);
55 static K_SEM_DEFINE(sem_sink_disconnected, 0, 1);
56 static K_SEM_DEFINE(sem_security_updated, 0, 1);
57 static K_SEM_DEFINE(sem_bass_discovered, 0, 1);
58 static K_SEM_DEFINE(sem_pa_synced, 0, 1);
59 static K_SEM_DEFINE(sem_received_base_subgroups, 0, 1);
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/audio/src/
Dpbp_public_broadcast_sink_test.c40 static K_SEM_DEFINE(sem_pa_synced, 0U, 1U);
41 static K_SEM_DEFINE(sem_base_received, 0U, 1U);
42 static K_SEM_DEFINE(sem_syncable, 0U, 1U);
43 static K_SEM_DEFINE(sem_pa_sync_lost, 0U, 1U);
44 static K_SEM_DEFINE(sem_data_received, 0U, 1U);
/Zephyr-Core-3.7.0/tests/kernel/sched/metairq/src/
Dmain.c50 K_SEM_DEFINE(metairq_sem, 0, 1);
51 K_SEM_DEFINE(coop_sem1, 0, 1);
52 K_SEM_DEFINE(coop_sem2, 0, 1);
/Zephyr-Core-3.7.0/samples/bluetooth/iso_receive/src/
Dmain.c35 static K_SEM_DEFINE(sem_per_adv, 0, 1);
36 static K_SEM_DEFINE(sem_per_sync, 0, 1);
37 static K_SEM_DEFINE(sem_per_sync_lost, 0, 1);
38 static K_SEM_DEFINE(sem_per_big_info, 0, 1);
39 static K_SEM_DEFINE(sem_big_sync, 0, BIS_ISO_CHAN_COUNT);
40 static K_SEM_DEFINE(sem_big_sync_lost, 0, BIS_ISO_CHAN_COUNT);

12345678910