Home
last modified time | relevance | path

Searched refs:osSemaphoreId_t (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/
Dsemaphore.c20 status = osSemaphoreAcquire((osSemaphoreId_t)arg, 0); in thread_sema()
25 status = osSemaphoreAcquire((osSemaphoreId_t)arg, WAIT_TICKS); in thread_sema()
37 status = osSemaphoreAcquire((osSemaphoreId_t)arg, 0); in thread_sema()
40 zassert_true(osSemaphoreRelease((osSemaphoreId_t)arg) == osOK, in thread_sema()
45 osSemaphoreRelease((osSemaphoreId_t)arg) == osErrorResource, in thread_sema()
73 osSemaphoreId_t semaphore_id; in ZTEST()
74 osSemaphoreId_t dummy_sem_id = NULL; in ZTEST()
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dsemaphore.c24 osSemaphoreId_t osSemaphoreNew(uint32_t max_count, uint32_t initial_count, in osSemaphoreNew()
54 return (osSemaphoreId_t)semaphore; in osSemaphoreNew()
60 osStatus_t osSemaphoreAcquire(osSemaphoreId_t semaphore_id, uint32_t timeout) in osSemaphoreAcquire()
92 uint32_t osSemaphoreGetCount(osSemaphoreId_t semaphore_id) in osSemaphoreGetCount()
106 osStatus_t osSemaphoreRelease(osSemaphoreId_t semaphore_id) in osSemaphoreRelease()
128 osStatus_t osSemaphoreDelete(osSemaphoreId_t semaphore_id) in osSemaphoreDelete()
150 const char *osSemaphoreGetName(osSemaphoreId_t semaphore_id) in osSemaphoreGetName()
/Zephyr-latest/include/zephyr/portability/
Dcmsis_os2.h220 typedef void *osSemaphoreId_t; typedef
607 osSemaphoreId_t osSemaphoreNew(uint32_t max_count, uint32_t initial_count, const osSemaphoreAttr_t …
612 const char *osSemaphoreGetName(osSemaphoreId_t semaphore_id);
618 osStatus_t osSemaphoreAcquire(osSemaphoreId_t semaphore_id, uint32_t timeout);
623 osStatus_t osSemaphoreRelease(osSemaphoreId_t semaphore_id);
628 uint32_t osSemaphoreGetCount(osSemaphoreId_t semaphore_id);
633 osStatus_t osSemaphoreDelete(osSemaphoreId_t semaphore_id);
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/
Dphil_obj_abstract.h49 #define fork_t osSemaphoreId_t
Dmain.c66 osSemaphoreId_t forks[NUM_PHIL];