Home
last modified time | relevance | path

Searched defs:semaphore (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dsemaphore.c27 struct cv2_sem *semaphore; in osSemaphoreNew() local
62 struct cv2_sem *semaphore = (struct cv2_sem *) semaphore_id; in osSemaphoreAcquire() local
94 struct cv2_sem *semaphore = (struct cv2_sem *)semaphore_id; in osSemaphoreGetCount() local
108 struct cv2_sem *semaphore = (struct cv2_sem *) semaphore_id; in osSemaphoreRelease() local
130 struct cv2_sem *semaphore = (struct cv2_sem *)semaphore_id; in osSemaphoreDelete() local
152 struct cv2_sem *semaphore = (struct cv2_sem *)semaphore_id; in osSemaphoreGetName() local
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/
Dcmsis_semaphore.c20 struct k_sem *semaphore; in osSemaphoreCreate() local
47 struct k_sem *semaphore = (struct k_sem *) semaphore_id; in osSemaphoreWait() local
84 struct k_sem *semaphore = (struct k_sem *) semaphore_id; in osSemaphoreRelease() local
105 struct k_sem *semaphore = (struct k_sem *) semaphore_id; in osSemaphoreDelete() local
/Zephyr-latest/lib/posix/options/
Dsemaphore.c84 int sem_destroy(sem_t *semaphore) in sem_destroy()
105 int sem_getvalue(sem_t *semaphore, int *value) in sem_getvalue()
121 int sem_init(sem_t *semaphore, int pshared, unsigned int value) in sem_init()
144 int sem_post(sem_t *semaphore) in sem_post()
160 int sem_timedwait(sem_t *semaphore, struct timespec *abstime) in sem_timedwait()
199 int sem_trywait(sem_t *semaphore) in sem_trywait()
214 int sem_wait(sem_t *semaphore) in sem_wait()
/Zephyr-latest/tests/kernel/semaphore/semaphore/src/
Dmain.c108 void isr_sem_give(const void *semaphore) in isr_sem_give()
136 void isr_sem_take(const void *semaphore) in isr_sem_take()
243 ZTEST_USER(semaphore, test_k_sem_define) in ZTEST_USER() argument
255 ZTEST_USER(semaphore, test_sem_thread2thread) in ZTEST_USER() argument
270 ZTEST(semaphore, test_sem_thread2isr) in ZTEST() argument
289 ZTEST_USER(semaphore, test_k_sem_init) in ZTEST_USER() argument
308 ZTEST_USER(semaphore, test_sem_reset) in ZTEST_USER() argument
333 ZTEST_USER(semaphore, test_sem_reset_waiting) in ZTEST_USER() argument
362 ZTEST_USER(semaphore, test_sem_count_get) in ZTEST_USER() argument
394 ZTEST(semaphore, test_sem_give_from_isr) in ZTEST() argument
[all …]
/Zephyr-latest/tests/kernel/semaphore/semaphore/
DCMakeLists.txt5 project(semaphore) project
/Zephyr-latest/tests/kernel/semaphore/sys_sem/
DCMakeLists.txt5 project(semaphore) project
/Zephyr-latest/samples/cpp/cpp_synchronization/src/
Dmain.cpp29 class semaphore { class
/Zephyr-latest/tests/kernel/mem_protect/sys_sem/src/
Dmain.c36 static void isr_sem_give(const void *semaphore) in isr_sem_give()
41 static void isr_sem_take(const void *semaphore) in isr_sem_take()
46 static void sem_give_from_isr(void *semaphore) in sem_give_from_isr()
51 static void sem_take_from_isr(void *semaphore) in sem_take_from_isr()
/Zephyr-latest/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/
Dcyabs_rtos_zephyr.c411 cy_rslt_t cy_rtos_init_semaphore(cy_semaphore_t *semaphore, uint32_t maxcount, uint32_t initcount) in cy_rtos_init_semaphore()
427 cy_rslt_t cy_rtos_get_semaphore(cy_semaphore_t *semaphore, cy_time_t timeout_ms, bool in_isr) in cy_rtos_get_semaphore()
463 cy_rslt_t cy_rtos_set_semaphore(cy_semaphore_t *semaphore, bool in_isr) in cy_rtos_set_semaphore()
479 cy_rslt_t cy_rtos_get_count_semaphore(cy_semaphore_t *semaphore, size_t *count) in cy_rtos_get_count_semaphore()
492 cy_rslt_t cy_rtos_deinit_semaphore(cy_semaphore_t *semaphore) in cy_rtos_deinit_semaphore()
/Zephyr-latest/samples/subsys/sip_svc/src/
Dmain.c23 struct k_sem semaphore; member
/Zephyr-latest/tests/subsys/sip_svc/src/
Dmain.c25 struct k_sem semaphore; member
/Zephyr-latest/subsys/sip_svc/
Dsip_svc_agilex_mailbox_shell.c21 struct k_sem semaphore; member
Dsip_svc_shell.c18 struct k_sem semaphore; member
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub.c62 struct k_sem semaphore; member