Searched refs:osSemaphoreId_t (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | semaphore.c | 20 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/ |
D | semaphore.c | 24 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/ |
D | cmsis_os2.h | 220 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/ |
D | phil_obj_abstract.h | 49 #define fork_t osSemaphoreId_t
|
D | main.c | 66 osSemaphoreId_t forks[NUM_PHIL];
|