Home
last modified time | relevance | path

Searched refs:nHandle (Results 1 – 5 of 5) sorted by relevance

/hardware/nxp/nfc/snxxx/halimpl/tml/transport/
DNfccI2cTransport.cc82 int nHandle; in OpenAndConfigure() local
86 nHandle = open((const char*)pConfig->pDevName, O_RDWR); in OpenAndConfigure()
87 if (nHandle < 0) { in OpenAndConfigure()
88 NXPLOG_TML_E("_i2c_open() Failed: retval %x", nHandle); in OpenAndConfigure()
92 *pLinkHandle = (void*)((intptr_t)nHandle); in OpenAndConfigure()
94 NXPLOG_TML_E("%s Failed: reason sem_init : retval %x", __func__, nHandle); in OpenAndConfigure()
114 int nHandle; in Flushdata() local
117 nHandle = open((const char*)pConfig->pDevName, O_RDWR | O_NONBLOCK); in Flushdata()
118 if (nHandle < 0) { in Flushdata()
119 NXPLOG_TML_E("%s: _i2c_open() Failed: retval %x", __func__, nHandle); in Flushdata()
[all …]
/hardware/nxp/uwb/halimpl/tml/
DphTmlUwb_spi.cc50 int nHandle; in phTmlUwb_spi_open_and_configure() local
54 nHandle = open(pDevName, O_RDWR); in phTmlUwb_spi_open_and_configure()
55 if (nHandle < 0) { in phTmlUwb_spi_open_and_configure()
56 NXPLOG_TML_E("_spi_open() Failed: retval %x", nHandle); in phTmlUwb_spi_open_and_configure()
61 *pLinkHandle = (void*)((intptr_t)nHandle); in phTmlUwb_spi_open_and_configure()
/hardware/nxp/nfc/pn8x/halimpl/tml/
DphTmlNfc_i2c.cc82 int nHandle; in phTmlNfc_i2c_open_and_configure() local
86 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()
/hardware/nxp/secure_element/pn8x/libese-spi/p73/pal/spi/
DphNxpEsePal_spi.cpp126 int nHandle; in phPalEse_spi_open_and_configure() local
167 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()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/pal/spi/
DEseSpiTransport.cpp174 int nHandle; in OpenAndConfigure() local
209 nHandle = open((char const*)pConfig->pDevName, O_RDWR); in OpenAndConfigure()
210 if (nHandle < 0) { in OpenAndConfigure()
212 nHandle); in OpenAndConfigure()
227 NXP_LOG_ESE_E("_spi_open() Failed: retval %x", nHandle); in OpenAndConfigure()
231 NXP_LOG_ESE_D("eSE driver opened :: fd = [%d]", nHandle); in OpenAndConfigure()
232 pConfig->pDevHandle = (void*)((intptr_t)nHandle); in OpenAndConfigure()