Searched refs:gComPortContext (Results 1 – 1 of 1) sorted by relevance
62 static phDal4Nfc_ComPortContext_t gComPortContext; variable76 memset(&gComPortContext, 0, sizeof(phDal4Nfc_ComPortContext_t)); in phDal4Nfc_uart_initialize()92 gComPortContext.nHandle = (int) pDalHwContext->p_board_driver; in phDal4Nfc_uart_set_open_from_handle()93 DAL_ASSERT_STR(gComPortContext.nHandle >= 0, "Bad passed com port handle"); in phDal4Nfc_uart_set_open_from_handle()94 gComPortContext.nOpened = 1; in phDal4Nfc_uart_set_open_from_handle()107 return gComPortContext.nOpened; in phDal4Nfc_uart_is_opened()122 ret = tcflush(gComPortContext.nHandle, TCIFLUSH); in phDal4Nfc_uart_flush()136 if (gComPortContext.nOpened == 1) in phDal4Nfc_uart_close()138 close(gComPortContext.nHandle); in phDal4Nfc_uart_close()139 gComPortContext.nHandle = 0; in phDal4Nfc_uart_close()[all …]