Home
last modified time | relevance | path

Searched refs:EseLibStatus (Results 1 – 6 of 6) sorted by relevance

/hardware/st/secure_element/ese-spi-driver/
DStEseApi.cc75 if (ese_ctxt.EseLibStatus != ESE_STATUS_CLOSE) { in StEse_init()
118 ese_ctxt.EseLibStatus = ESE_STATUS_OPEN; in StEse_init()
126 ese_ctxt.EseLibStatus = ESE_STATUS_CLOSE; in StEse_init()
139 STLOG_HAL_D(" %s status 0x%x \n", __FUNCTION__, ese_ctxt.EseLibStatus); in StEseApi_isOpen()
140 return ese_ctxt.EseLibStatus != ESE_STATUS_CLOSE; in StEseApi_isOpen()
157 STLOG_HAL_D("%s : Enter EseLibStatus = %d ", __func__, ese_ctxt.EseLibStatus); in StEse_Transceive()
164 } else if ((ESE_STATUS_CLOSE == ese_ctxt.EseLibStatus)) { in StEse_Transceive()
242 if ((ESE_STATUS_CLOSE == ese_ctxt.EseLibStatus)) { in StEse_close()
251 ese_ctxt.EseLibStatus = ESE_STATUS_CLOSE; in StEse_close()
DStEseApi.h50 SpiEse_status EseLibStatus; /* Indicate if Ese Lib is open or closed */ member
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Api.cpp150 nxpese_ctxt.EseLibStatus = ESE_STATUS_OPEN; in phNxpEse_init()
232 nxpese_ctxt.EseLibStatus = ESE_STATUS_RECOVERY; in phNxpEse_init()
297 if (nxpese_ctxt.EseLibStatus != ESE_STATUS_CLOSE) { in phNxpEse_open()
479 nxpese_ctxt.EseLibStatus = ESE_STATUS_CLOSE; in phNxpEse_open()
492 bool phNxpEse_isOpen() { return nxpese_ctxt.EseLibStatus != ESE_STATUS_CLOSE; } in phNxpEse_isOpen()
681 nxpese_ctxt.EseLibStatus = ESE_STATUS_CLOSE; in phNxpEse_openPrioSession()
774 } else if ((ESE_STATUS_CLOSE == nxpese_ctxt.EseLibStatus)) { in phNxpEse_Transceive()
777 } else if ((ESE_STATUS_BUSY == nxpese_ctxt.EseLibStatus)) { in phNxpEse_Transceive()
780 } else if ((ESE_STATUS_RECOVERY == nxpese_ctxt.EseLibStatus)) { in phNxpEse_Transceive()
784 nxpese_ctxt.EseLibStatus = ESE_STATUS_BUSY; in phNxpEse_Transceive()
[all …]
DphNxpEse_Internal.h114 phNxpEse_LibStatus EseLibStatus; /*!<Indicate if Ese Lib is open or closed */ member
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/
DphNxpEse_Api.cpp98 nxpese_ctxt.EseLibStatus = ESE_STATUS_OPEN; in phNxpEse_init()
173 if (nxpese_ctxt.EseLibStatus != ESE_STATUS_CLOSE) { in phNxpEse_open()
316 nxpese_ctxt.EseLibStatus = ESE_STATUS_CLOSE; in phNxpEse_open()
329 bool phNxpEse_isOpen() { return nxpese_ctxt.EseLibStatus != ESE_STATUS_CLOSE; } in phNxpEse_isOpen()
507 nxpese_ctxt.EseLibStatus = ESE_STATUS_CLOSE; in phNxpEse_openPrioSession()
598 } else if ((ESE_STATUS_CLOSE == nxpese_ctxt.EseLibStatus)) { in phNxpEse_Transceive()
601 } else if ((ESE_STATUS_BUSY == nxpese_ctxt.EseLibStatus)) { in phNxpEse_Transceive()
605 nxpese_ctxt.EseLibStatus = ESE_STATUS_BUSY; in phNxpEse_Transceive()
611 nxpese_ctxt.EseLibStatus = ESE_STATUS_IDLE; in phNxpEse_Transceive()
838 if ((ESE_STATUS_CLOSE == nxpese_ctxt.EseLibStatus)) { in phNxpEse_close()
DphNxpEse_Internal.h80 phNxpEse_LibStatus EseLibStatus; /* Indicate if Ese Lib is open or closed */ member