Home
last modified time | relevance | path

Searched refs:semaphore_id (Results 1 - 2 of 2) sorted by relevance

/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/cmsis/
H A Dcmsis_liteos2.c1125 osStatus_t osSemaphoreAcquire(osSemaphoreId_t semaphore_id, uint32_t timeout) in osSemaphoreAcquire() argument
1129 if (semaphore_id == NULL) { in osSemaphoreAcquire()
1137 uwRet = LOS_SemPend(((LosSemCB *)semaphore_id)->semID, timeout); in osSemaphoreAcquire()
1152 osStatus_t osSemaphoreRelease(osSemaphoreId_t semaphore_id) in osSemaphoreRelease() argument
1156 if (semaphore_id == NULL) { in osSemaphoreRelease()
1160 uwRet = LOS_SemPost(((LosSemCB *)semaphore_id)->semID); in osSemaphoreRelease()
1171 uint32_t osSemaphoreGetCount(osSemaphoreId_t semaphore_id) in osSemaphoreGetCount() argument
1180 if (semaphore_id == NULL) { in osSemaphoreGetCount()
1185 uwCount = ((LosSemCB *)semaphore_id)->semCount; in osSemaphoreGetCount()
1192 osStatus_t osSemaphoreDelete(osSemaphoreId_t semaphore_id) in osSemaphoreDelete() argument
[all...]
H A Dcmsis_os2.h1051 const char *osSemaphoreGetName (osSemaphoreId_t semaphore_id);
1056 * @param semaphore_id Indicates the semaphore ID, which is obtained using osSemaphoreNew.
1062 osStatus_t osSemaphoreAcquire (osSemaphoreId_t semaphore_id, uint32_t timeout);
1067 * @param semaphore_id Indicates the semaphore ID, which is obtained using osSemaphoreNew.
1072 osStatus_t osSemaphoreRelease (osSemaphoreId_t semaphore_id);
1077 * @param semaphore_id Indicates the semaphore ID, which is obtained using osSemaphoreNew.
1082 uint32_t osSemaphoreGetCount (osSemaphoreId_t semaphore_id);
1087 * @param semaphore_id Indicates the semaphore ID, which is obtained using osSemaphoreNew.
1092 osStatus_t osSemaphoreDelete (osSemaphoreId_t semaphore_id);

Completed in 3 milliseconds