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.cpp95 ESESTATUS wSpmStatus = ESESTATUS_SUCCESS; in phNxpEse_SPM_ConfigPwr() local
108 wSpmStatus = ESESTATUS_FAILED; in phNxpEse_SPM_ConfigPwr()
119 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_SPM_ConfigPwr()
120 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_SPM_ConfigPwr()
125 return wSpmStatus; in phNxpEse_SPM_ConfigPwr()
128 wSpmStatus = ESESTATUS_DWNLD_BUSY; in phNxpEse_SPM_ConfigPwr()
130 wSpmStatus = ESESTATUS_BUSY; in phNxpEse_SPM_ConfigPwr()
134 wSpmStatus = ESESTATUS_FAILED; in phNxpEse_SPM_ConfigPwr()
136 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_SPM_ConfigPwr()
147 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.cpp289 ESESTATUS wSpmStatus = ESESTATUS_SUCCESS; in phNxpEse_open() local
383 wSpmStatus = phNxpEse_SPM_Init(nxpese_ctxt.pDevHandle); in phNxpEse_open()
384 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_open()
389 wSpmStatus = phNxpEse_SPM_SetPwrScheme(nxpese_ctxt.pwr_scheme); in phNxpEse_open()
390 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_open()
403 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_open()
404 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_open()
436 wSpmStatus = phNxpEse_SPM_ConfigPwr(SPM_POWER_ENABLE); in phNxpEse_open()
437 if (wSpmStatus != ESESTATUS_SUCCESS) { in phNxpEse_open()
439 if (wSpmStatus == ESESTATUS_BUSY) { in phNxpEse_open()
[all …]