Home
last modified time | relevance | path

Searched refs:wSpmStatus (Results 1 – 4 of 4) sorted by relevance

/hardware/nxp/secure_element/pn8x/libese-spi/p73/spm/
DphNxpEse_Spm.cpp96 ESESTATUS wSpmStatus = ESESTATUS_SUCCESS; in phNxpEse_SPM_ConfigPwr() local
104 wSpmStatus = ESESTATUS_FAILED; in phNxpEse_SPM_ConfigPwr()
111 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_SPM_ConfigPwr()
112 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_SPM_ConfigPwr()
114 return wSpmStatus; in phNxpEse_SPM_ConfigPwr()
117 wSpmStatus = ESESTATUS_DWNLD_BUSY; in phNxpEse_SPM_ConfigPwr()
119 wSpmStatus = ESESTATUS_BUSY; in phNxpEse_SPM_ConfigPwr()
124 wSpmStatus = ESESTATUS_FAILED; in phNxpEse_SPM_ConfigPwr()
132 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_SPM_ConfigPwr()
133 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_SPM_ConfigPwr()
[all …]
/hardware/nxp/secure_element/snxxx/libese-spi/p73/spm/
DphNxpEse_Spm.cpp97 ESESTATUS wSpmStatus = ESESTATUS_SUCCESS; in phNxpEse_SPM_ConfigPwr() local
110 wSpmStatus = ESESTATUS_FAILED; in phNxpEse_SPM_ConfigPwr()
121 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_SPM_ConfigPwr()
122 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_SPM_ConfigPwr()
129 return wSpmStatus; in phNxpEse_SPM_ConfigPwr()
132 wSpmStatus = ESESTATUS_DWNLD_BUSY; in phNxpEse_SPM_ConfigPwr()
134 wSpmStatus = ESESTATUS_BUSY; in phNxpEse_SPM_ConfigPwr()
138 wSpmStatus = ESESTATUS_FAILED; in phNxpEse_SPM_ConfigPwr()
140 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_SPM_ConfigPwr()
152 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_SPM_ConfigPwr()
[all …]
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/
DphNxpEse_Api.cpp167 ESESTATUS wSpmStatus = ESESTATUS_SUCCESS; in phNxpEse_open() local
227 wSpmStatus = phNxpEse_SPM_Init(nxpese_ctxt.pDevHandle); in phNxpEse_open()
228 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_open()
233 wSpmStatus = phNxpEse_SPM_SetPwrScheme(nxpese_ctxt.pwr_scheme); in phNxpEse_open()
234 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_open()
248 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_open()
249 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_open()
282 wSpmStatus = phNxpEse_SPM_ConfigPwr(SPM_POWER_ENABLE); in phNxpEse_open()
283 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_open()
285 if (wSpmStatus == ESESTATUS_BUSY) { in phNxpEse_open()
[all …]
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Api.cpp287 ESESTATUS wSpmStatus = ESESTATUS_SUCCESS; in phNxpEse_open() local
379 wSpmStatus = phNxpEse_SPM_Init(nxpese_ctxt.pDevHandle); in phNxpEse_open()
380 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_open()
385 wSpmStatus = phNxpEse_SPM_SetPwrScheme(nxpese_ctxt.pwr_scheme); in phNxpEse_open()
386 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_open()
399 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_open()
400 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_open()
433 wSpmStatus = phNxpEse_SPM_ConfigPwr(SPM_POWER_ENABLE); in phNxpEse_open()
434 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_open()
436 if (wSpmStatus == ESESTATUS_BUSY) { in phNxpEse_open()
[all …]