Home
last modified time | relevance | path

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

/external/libnfc-nxp/Linux_x86/
DphDal4Nfc_uart.c70 static phDal4Nfc_ComPortContext_t gComPortContext; variable
84 memset(&gComPortContext, 0, sizeof(phDal4Nfc_ComPortContext_t)); in phDal4Nfc_uart_initialize()
100 gComPortContext.nHandle = (int)(intptr_t) pDalHwContext->p_board_driver; in phDal4Nfc_uart_set_open_from_handle()
101 DAL_ASSERT_STR(gComPortContext.nHandle >= 0, "Bad passed com port handle"); in phDal4Nfc_uart_set_open_from_handle()
102 gComPortContext.nOpened = 1; in phDal4Nfc_uart_set_open_from_handle()
115 return gComPortContext.nOpened; in phDal4Nfc_uart_is_opened()
130 ret = tcflush(gComPortContext.nHandle, TCIFLUSH); in phDal4Nfc_uart_flush()
144 if (gComPortContext.nOpened == 1) in phDal4Nfc_uart_close()
146 close(gComPortContext.nHandle); in phDal4Nfc_uart_close()
147 gComPortContext.nHandle = 0; in phDal4Nfc_uart_close()
[all …]