/Zephyr-latest/subsys/portability/cmsis_rtos_v2/ |
D | semaphore.c | 27 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/ |
D | cmsis_semaphore.c | 20 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/ |
D | semaphore.c | 84 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/ |
D | main.c | 108 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/ |
D | CMakeLists.txt | 5 project(semaphore) project
|
/Zephyr-latest/tests/kernel/semaphore/sys_sem/ |
D | CMakeLists.txt | 5 project(semaphore) project
|
/Zephyr-latest/samples/cpp/cpp_synchronization/src/ |
D | main.cpp | 29 class semaphore { class
|
/Zephyr-latest/tests/kernel/mem_protect/sys_sem/src/ |
D | main.c | 36 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/ |
D | cyabs_rtos_zephyr.c | 411 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/ |
D | main.c | 23 struct k_sem semaphore; member
|
/Zephyr-latest/tests/subsys/sip_svc/src/ |
D | main.c | 25 struct k_sem semaphore; member
|
/Zephyr-latest/subsys/sip_svc/ |
D | sip_svc_agilex_mailbox_shell.c | 21 struct k_sem semaphore; member
|
D | sip_svc_shell.c | 18 struct k_sem semaphore; member
|
/Zephyr-latest/subsys/mgmt/updatehub/ |
D | updatehub.c | 62 struct k_sem semaphore; member
|