Home
last modified time | relevance | path

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

/bsp/allwinner/libraries/sunxi-hal/include/hal/sdmmc/osal/
A Dhal_os.h128 #define HAL_MutexInit(mtx) \ argument
129 (OS_RecursiveMutexCreate(mtx) == OS_OK ? HAL_OK : HAL_ERROR)
131 #define HAL_MutexDeinit(mtx) \ argument
132 (OS_RecursiveMutexDelete(mtx) == OS_OK ? HAL_OK : HAL_ERROR)
134 #define HAL_MutexLock(mtx, msec) \ argument
135 (OS_RecursiveMutexLock(mtx, msec) == OS_OK ? HAL_OK : HAL_ERROR)
137 #define HAL_MutexUnlock(mtx) \ argument
138 (OS_RecursiveMutexUnlock(mtx) == OS_OK ? HAL_OK : HAL_ERROR)

Completed in 5 milliseconds