Home
last modified time | relevance | path

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

/external/libnfc-nxp/Linux_x86/
DphDal4Nfc_i2c.c47 char nOpened; member
87 gI2cPortContext.nOpened = 1; in phDal4Nfc_i2c_set_open_from_handle()
100 return gI2cPortContext.nOpened; in phDal4Nfc_i2c_is_opened()
127 if (gI2cPortContext.nOpened == 1) in phDal4Nfc_i2c_close()
131 gI2cPortContext.nOpened = 0; in phDal4Nfc_i2c_close()
145 DAL_ASSERT_STR(gI2cPortContext.nOpened==0, "Trying to open but already done!"); in phDal4Nfc_i2c_open_and_configure()
158 gI2cPortContext.nOpened = 1; in phDal4Nfc_i2c_open_and_configure()
183 DAL_ASSERT_STR(gI2cPortContext.nOpened == 1, "read called but not opened!"); in phDal4Nfc_i2c_read()
237 DAL_ASSERT_STR(gI2cPortContext.nOpened == 1, "write called but not opened!"); in phDal4Nfc_i2c_write()
DphDal4Nfc_uart.c54 char nOpened; member
102 gComPortContext.nOpened = 1; in phDal4Nfc_uart_set_open_from_handle()
115 return gComPortContext.nOpened; in phDal4Nfc_uart_is_opened()
144 if (gComPortContext.nOpened == 1) in phDal4Nfc_uart_close()
148 gComPortContext.nOpened = 0; in phDal4Nfc_uart_close()
166 DAL_ASSERT_STR(gComPortContext.nOpened==0, "Trying to open but already done!"); in phDal4Nfc_uart_open_and_configure()
178 gComPortContext.nOpened = 1; in phDal4Nfc_uart_open_and_configure()
305 DAL_ASSERT_STR(gComPortContext.nOpened == 1, "read called but not opened!"); in phDal4Nfc_uart_read()
385 DAL_ASSERT_STR(gComPortContext.nOpened == 1, "write called but not opened!"); in phDal4Nfc_uart_write()