Searched refs:nHandle (Results 1 – 2 of 2) sorted by relevance
46 int nHandle; member85 gI2cPortContext.nHandle = (int)(intptr_t) pDalHwContext->p_board_driver; in phDal4Nfc_i2c_set_open_from_handle()86 DAL_ASSERT_STR(gI2cPortContext.nHandle >= 0, "Bad passed com port handle"); in phDal4Nfc_i2c_set_open_from_handle()129 close(gI2cPortContext.nHandle); in phDal4Nfc_i2c_close()130 gI2cPortContext.nHandle = 0; in phDal4Nfc_i2c_close()150 gI2cPortContext.nHandle = open(pConfig->deviceNode, O_RDWR | O_NOCTTY); in phDal4Nfc_i2c_open_and_configure()151 if (gI2cPortContext.nHandle < 0) in phDal4Nfc_i2c_open_and_configure()153 DAL_DEBUG("Open failed: open() returned %d\n", gI2cPortContext.nHandle); in phDal4Nfc_i2c_open_and_configure()159 *pLinkHandle = (void*)(intptr_t)gI2cPortContext.nHandle; in phDal4Nfc_i2c_open_and_configure()191 FD_SET(gI2cPortContext.nHandle, &rfds); in phDal4Nfc_i2c_read()[all …]
53 int nHandle; member100 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()130 ret = tcflush(gComPortContext.nHandle, TCIFLUSH); in phDal4Nfc_uart_flush()146 close(gComPortContext.nHandle); in phDal4Nfc_uart_close()147 gComPortContext.nHandle = 0; in phDal4Nfc_uart_close()171 gComPortContext.nHandle = open(pConfig->deviceNode, O_RDWR | O_NOCTTY); in phDal4Nfc_uart_open_and_configure()172 if (gComPortContext.nHandle < 0) in phDal4Nfc_uart_open_and_configure()179 *pLinkHandle = (void*)(intptr_t)gComPortContext.nHandle; in phDal4Nfc_uart_open_and_configure()184 …ret = tcgetattr(gComPortContext.nHandle, &gComPortContext.nIoConfigBackup); /* save the old io con… in phDal4Nfc_uart_open_and_configure()[all …]