Home
last modified time | relevance | path

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

/drivers/hdf_core/adapter/platform/uart/
Duart_gr5xx.c51 static uint32_t g_uartRxMutex[APP_UART_ID_MAX]; variable
191 LOS_MuxPend(g_uartRxMutex[udd->id], LOS_WAIT_FOREVER); in UartHostDevRead()
198 LOS_MuxPost(g_uartRxMutex[udd->id]); in UartHostDevRead()
205 LOS_MuxPost(g_uartRxMutex[udd->id]); in UartHostDevRead()
209 LOS_MuxPost(g_uartRxMutex[udd->id]); in UartHostDevRead()
375 uwRet = LOS_MuxCreate(&g_uartRxMutex[id]); in UartDevSemInit()
393 if (g_uartRxMutex[id] != 0) { in UartDevSemDeinit()
394 LOS_SemDelete(g_uartRxMutex[id]); in UartDevSemDeinit()
399 g_uartRxMutex[id] = 0; in UartDevSemDeinit()
Duart_asr.c76 static uint32_t g_uartRxMutex[ASR_UART_NUM]; variable
247 LOS_MuxPend(g_uartRxMutex[port], LOS_WAIT_FOREVER); in UartHostDevRead()
261 LOS_MuxPost(g_uartRxMutex[port]); in UartHostDevRead()
424 uwRet = LOS_MuxCreate(&g_uartRxMutex[id]); in UartDevSemInit()
438 if (g_uartRxMutex[id] != 0) { in UartDevSemDeinit()
439 LOS_MuxDelete(g_uartRxMutex[id]); in UartDevSemDeinit()
443 g_uartRxMutex[id] = 0; in UartDevSemDeinit()