Searched refs:nHandle (Results 1 – 2 of 2) sorted by relevance
82 int nHandle; in phTmlNfc_i2c_open_and_configure() local86 nHandle = open((const char*)pConfig->pDevName, O_RDWR); in phTmlNfc_i2c_open_and_configure()87 if (nHandle < 0) { in phTmlNfc_i2c_open_and_configure()88 NXPLOG_TML_E("_i2c_open() Failed: retval %x", nHandle); in phTmlNfc_i2c_open_and_configure()93 *pLinkHandle = (void*)((intptr_t)nHandle); in phTmlNfc_i2c_open_and_configure()96 phTmlNfc_i2c_reset((void*)((intptr_t)nHandle), 0); in phTmlNfc_i2c_open_and_configure()98 phTmlNfc_i2c_reset((void*)((intptr_t)nHandle), 1); in phTmlNfc_i2c_open_and_configure()
126 int nHandle; in phPalEse_spi_open_and_configure() local167 nHandle = open((char const*)pConfig->pDevName, O_RDWR); in phPalEse_spi_open_and_configure()168 if (nHandle < 0) { in phPalEse_spi_open_and_configure()178 ALOGE("_spi_open() Failed: retval %x", nHandle); in phPalEse_spi_open_and_configure()182 ALOGD_IF(ese_debug_enabled, "eSE driver opened :: fd = [%d]", nHandle); in phPalEse_spi_open_and_configure()183 pConfig->pDevHandle = (void*)((intptr_t)nHandle); in phPalEse_spi_open_and_configure()