Lines Matching refs:lcs
587 static enum plat_otp_lcs_t map_cc312_lcs_to_otp_lcs(enum cc312_lifecycle_t lcs) { in map_cc312_lcs_to_otp_lcs() argument
588 switch (lcs) { in map_cc312_lcs_to_otp_lcs()
604 enum plat_otp_lcs_t *lcs = (enum plat_otp_lcs_t*) out; in otp_read_lcs() local
612 *lcs = map_cc312_lcs_to_otp_lcs(cc_lcs); in otp_read_lcs()
620 uint32_t lcs; in tfm_plat_otp_init() local
651 otp_read_lcs(sizeof(lcs), (uint8_t*)&lcs); in tfm_plat_otp_init()
652 if (lcs == PLAT_OTP_LCS_SECURED) { in tfm_plat_otp_init()
793 uint32_t lcs; in otp_write_lcs() local
799 if (in_len != sizeof(lcs)) { in otp_write_lcs()
803 err = otp_read_lcs(sizeof(lcs), (uint8_t*)&lcs); in otp_write_lcs()
808 if (lcs == PLAT_OTP_LCS_ASSEMBLY_AND_TEST) { in otp_write_lcs()
850 } else if (lcs == PLAT_OTP_LCS_PSA_ROT_PROVISIONING) { in otp_write_lcs()