Lines Matching refs:bsec_status
162 static uint32_t bsec_status(void) in bsec_status() function
169 return bsec_status() & BSEC_MODE_INVALID; in state_is_invalid_mode()
174 return bsec_status() & BSEC_MODE_SECURED; in state_is_secured_mode()
186 return bsec_status() & BSEC_MODE_CLOSED; in state_is_closed_mode()
229 if (bsec_status() & BSEC_MODE_PWR) in power_up_safmem()
232 if (bsec_status() & BSEC_MODE_PWR) in power_up_safmem()
246 if (!(bsec_status() & BSEC_MODE_PWR)) in power_down_safmem()
249 if (!(bsec_status() & BSEC_MODE_PWR)) in power_down_safmem()
283 if (!(bsec_status() & BSEC_MODE_BUSY)) in stm32_bsec_shadow_register()
286 if (bsec_status() & BSEC_MODE_BUSY) in stm32_bsec_shadow_register()
390 if (!(bsec_status() & BSEC_MODE_BUSY)) in stm32_bsec_program_otp()
393 if (bsec_status() & BSEC_MODE_BUSY) in stm32_bsec_program_otp()
395 else if (bsec_status() & BSEC_MODE_PROGFAIL) in stm32_bsec_program_otp()
460 if (!(bsec_status() & BSEC_MODE_BUSY)) in stm32_bsec_permanent_lock_otp()
463 if (bsec_status() & BSEC_MODE_BUSY) in stm32_bsec_permanent_lock_otp()
465 else if (bsec_status() & BSEC_MODE_PROGFAIL) in stm32_bsec_permanent_lock_otp()