Lines Matching refs:status

102 	uint32_t status = bsec_get_status();  in check_read_error()  local
104 if ((status & BSEC_OTPSR_SECF) != 0U) { in check_read_error()
108 if ((status & BSEC_OTPSR_PPLF) != 0U) { in check_read_error()
112 if ((status & BSEC_OTPSR_PPLMF) != 0U) { in check_read_error()
113 ERROR("BSEC read %u error 0x%x\n", otp, status); in check_read_error()
117 if ((status & (BSEC_OTPSR_DISTURBF | BSEC_OTPSR_DEDF | BSEC_OTPSR_AMEF)) != 0U) { in check_read_error()
118 ERROR("BSEC read %u error 0x%x with invalid FVR\n", otp, status); in check_read_error()
127 uint32_t status = bsec_get_status(); in check_program_error() local
129 if ((status & BSEC_OTPSR_PROGFAIL) != 0U) { in check_program_error()
130 ERROR("BSEC program %u error 0x%x\n", otp, status); in check_program_error()
139 uint32_t status = bsec_get_status(); in check_reset_error() local
142 if ((status & BSEC_OTPSR_BUSY) != 0U) { in check_reset_error()
145 if ((status & BSEC_OTPSR_HIDEUP) != 0U) { in check_reset_error()
148 if ((status & BSEC_OTPSR_OTPSEC) != 0U) { in check_reset_error()
151 if ((status & BSEC_OTPSR_OTPNVIR) == 0U) { in check_reset_error()
154 if ((status & BSEC_OTPSR_OTPERR) != 0U) { in check_reset_error()
155 ERROR("BSEC reset critical error 0x%x\n", status); in check_reset_error()
158 if ((status & BSEC_OTPSR_INIT_DONE) != BSEC_OTPSR_INIT_DONE) { in check_reset_error()
159 ERROR("BSEC reset critical error 0x%x\n", status); in check_reset_error()
455 uint32_t status = bsec_get_status(); in bsec_get_secure_state() local
458 if ((status & BSEC_OTPSR_INIT_DONE) == BSEC_OTPSR_INIT_DONE) { in bsec_get_secure_state()