Home
last modified time | relevance | path

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

/hardware/nxp/secure_element/pn8x/libese-spi/p73/spm/
DphNxpEse_Spm.cpp97 spm_state_t current_spm_state = SPM_STATE_INVALID; in phNxpEse_SPM_ConfigPwr() local
111 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_SPM_ConfigPwr()
116 if (current_spm_state & SPM_STATE_DWNLD) { in phNxpEse_SPM_ConfigPwr()
132 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_SPM_ConfigPwr()
137 if (current_spm_state & SPM_STATE_DWNLD) { in phNxpEse_SPM_ConfigPwr()
152 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_SPM_ConfigPwr()
157 if (current_spm_state & SPM_STATE_DWNLD) { in phNxpEse_SPM_ConfigPwr()
192 spm_state_t current_spm_state = SPM_STATE_INVALID; in phNxpEse_SPM_EnablePwr() local
199 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_SPM_EnablePwr()
204 if (current_spm_state == SPM_STATE_DWNLD) { in phNxpEse_SPM_EnablePwr()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/spm/
DphNxpEse_Spm.cpp96 spm_state_t current_spm_state = SPM_STATE_INVALID; in phNxpEse_SPM_ConfigPwr() local
119 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_SPM_ConfigPwr()
127 if (current_spm_state & SPM_STATE_DWNLD) { in phNxpEse_SPM_ConfigPwr()
147 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_SPM_ConfigPwr()
152 if (current_spm_state & SPM_STATE_DWNLD) { in phNxpEse_SPM_ConfigPwr()
167 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_SPM_ConfigPwr()
172 if (current_spm_state & SPM_STATE_DWNLD) { in phNxpEse_SPM_ConfigPwr()
209 spm_state_t current_spm_state = SPM_STATE_INVALID; in phNxpEse_SPM_EnablePwr() local
216 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_SPM_EnablePwr()
221 if (current_spm_state == SPM_STATE_DWNLD) { in phNxpEse_SPM_EnablePwr()
[all …]
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/
DphNxpEse_Api.cpp168 spm_state_t current_spm_state = SPM_STATE_INVALID; in phNxpEse_open() local
248 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_open()
254 if ((current_spm_state & SPM_STATE_SPI) | in phNxpEse_open()
255 (current_spm_state & SPM_STATE_SPI_PRIO)) { in phNxpEse_open()
263 if (current_spm_state & SPM_STATE_JCOP_DWNLD) { in phNxpEse_open()
352 spm_state_t current_spm_state = SPM_STATE_INVALID; in phNxpEse_openPrioSession() local
409 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_openPrioSession()
415 if ((current_spm_state & SPM_STATE_SPI) | in phNxpEse_openPrioSession()
416 (current_spm_state & SPM_STATE_SPI_PRIO)) { in phNxpEse_openPrioSession()
423 if (current_spm_state & SPM_STATE_JCOP_DWNLD) { in phNxpEse_openPrioSession()
[all …]
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Api.cpp290 spm_state_t current_spm_state = SPM_STATE_INVALID; in phNxpEse_open() local
403 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_open()
409 if (((current_spm_state & SPM_STATE_SPI) | in phNxpEse_open()
410 (current_spm_state & SPM_STATE_SPI_PRIO)) && in phNxpEse_open()
411 !(current_spm_state & SPM_STATE_SPI_FAILED)) { in phNxpEse_open()
418 if (current_spm_state & SPM_STATE_JCOP_DWNLD) { in phNxpEse_open()
518 spm_state_t current_spm_state = SPM_STATE_INVALID; in phNxpEse_openPrioSession() local
577 wSpmStatus = phNxpEse_SPM_GetState(&current_spm_state); in phNxpEse_openPrioSession()
583 if ((current_spm_state & SPM_STATE_SPI) | in phNxpEse_openPrioSession()
584 (current_spm_state & SPM_STATE_SPI_PRIO)) { in phNxpEse_openPrioSession()
[all …]