Home
last modified time | relevance | path

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

/external/libnfc-nxp/Linux_x86/
DphDal4Nfc_uart.c101 DAL_ASSERT_STR(gComPortContext.nHandle >= 0, "Bad passed com port handle"); in phDal4Nfc_uart_set_open_from_handle()
131 DAL_ASSERT_STR(ret!=-1, "tcflush failed"); in phDal4Nfc_uart_flush()
166 DAL_ASSERT_STR(gComPortContext.nOpened==0, "Trying to open but already done!"); in phDal4Nfc_uart_open_and_configure()
192 DAL_ASSERT_STR(ret != -1, "fcntl failed"); in phDal4Nfc_uart_open_and_configure()
216 DAL_ASSERT_STR(ret != -1, "tcsetattr failed"); in phDal4Nfc_uart_open_and_configure()
223 DAL_ASSERT_STR(ret != -1, "ioctl TIOCMGET failed"); in phDal4Nfc_uart_open_and_configure()
226 DAL_ASSERT_STR(ret != -1, "ioctl TIOCMSET failed"); 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()
DphDal4Nfc_i2c.c86 DAL_ASSERT_STR(gI2cPortContext.nHandle >= 0, "Bad passed com port handle"); in phDal4Nfc_i2c_set_open_from_handle()
145 DAL_ASSERT_STR(gI2cPortContext.nOpened==0, "Trying to open but already done!"); 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_debug.h30 #define DAL_ASSERT_STR(x, str) { if (!(x)) { phOsalNfc_DbgString(str); while(1); } } macro
36 #define DAL_ASSERT_STR(x, str) macro