Home
last modified time | relevance | path

Searched refs:LCM_DEV_S (Results 1 – 14 of 14) sorted by relevance

/trusted-firmware-m-latest/platform/ext/target/arm/mps4/corstone315/provisioning/
Dbl1_provisioning.c36 err = lcm_get_lcs(&LCM_DEV_S, &lcs); in tfm_plat_provisioning_is_required()
51 lcm_err = lcm_get_sp_enabled(&LCM_DEV_S, &sp_enabled); in enable_sp_mode()
58 lcm_set_sp_enabled(&LCM_DEV_S); in enable_sp_mode()
128 lcm_err = lcm_set_tp_mode(&LCM_DEV_S, tp_mode); in set_tp_mode()
149 lcm_err = lcm_get_tp_mode(&LCM_DEV_S, &tp_mode); in tfm_plat_provisioning_perform()
162 lcm_err = lcm_get_lcs(&LCM_DEV_S, &lcs); in tfm_plat_provisioning_perform()
179 lcm_err = lcm_get_lcs(&LCM_DEV_S, &lcs); in tfm_plat_provisioning_perform()
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/
Dplatform_fatal_error.c30 if (lcm_get_tp_mode(&LCM_DEV_S, &tp_mode) != LCM_ERROR_NONE) { in log_error_permissions_check()
33 if (lcm_get_lcs(&LCM_DEV_S, &lcs) != LCM_ERROR_NONE) { in log_error_permissions_check()
36 if (lcm_get_sp_enabled(&LCM_DEV_S, &sp_enabled) != LCM_ERROR_NONE) { in log_error_permissions_check()
Dplatform_dcu.c33 return lcm_dcu_set_enabled(&LCM_DEV_S, (uint8_t*)&dcu_reg_values[0]); in tfm_plat_apply_debug_permissions()
38 return lcm_dcu_set_locked(&LCM_DEV_S, (uint8_t*)&dcu_reg_lock_values[0]); in tfm_plat_lock_dcu()
Dotp_lcm.c403 lcm_err = lcm_get_tp_mode(&LCM_DEV_S, &tp_mode); in check_if_otp_is_emulated()
445 if (lcm_otp_read(&LCM_DEV_S, offset, len, buf) != LCM_ERROR_NONE) { in otp_read()
519 err = lcm_otp_write(&LCM_DEV_S, offset, buf_len, buf); in otp_write()
702 if (lcm_get_lcs(&LCM_DEV_S, &lcm_lcs)) { in otp_read_lcs()
721 err = lcm_init(&LCM_DEV_S); in tfm_plat_otp_init()
726 err = lcm_get_otp_size(&LCM_DEV_S, &otp_size); in tfm_plat_otp_init()
747 err = lcm_get_lcs(&LCM_DEV_S, &lcs); in tfm_plat_otp_init()
947 lcm_err = lcm_set_lcs(&LCM_DEV_S, new_lcs, gppc_val); in otp_write_lcs()
1042 lcm_err = lcm_get_sp_enabled(&LCM_DEV_S, &sp_enabled); in tfm_plat_otp_secure_provisioning_start()
1048 lcm_set_sp_enabled(&LCM_DEV_S); in tfm_plat_otp_secure_provisioning_start()
[all …]
Drse_key_derivation.c69 lcm_err = lcm_get_tp_mode(&LCM_DEV_S, &tp_mode); in rse_get_boot_state()
281 lcm_err = lcm_get_tp_mode(&LCM_DEV_S, &tp_mode); in derive_using_krtl_or_zero_key()
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/provisioning/
Dbl1_provisioning.c62 err = lcm_get_lcs(&LCM_DEV_S, &lcs); in tfm_plat_provisioning_is_required()
230 lcm_err = lcm_set_tp_mode(&LCM_DEV_S, tp_mode); in set_tp_mode()
248 lcm_err = lcm_get_tp_mode(&LCM_DEV_S, &tp_mode); in tfm_plat_provisioning_perform()
262 lcm_err = lcm_get_lcs(&LCM_DEV_S, &lcs); in tfm_plat_provisioning_perform()
296 lcm_err = lcm_get_lcs(&LCM_DEV_S, &lcs); in tfm_plat_provisioning_perform()
/trusted-firmware-m-latest/platform/ext/target/arm/mps4/corstone315/bl1/
Dboot_hal_bl1_1.c135 lcm_get_fatal_error(&LCM_DEV_S, &fatal_error); in pre_fsbl_flow()
142 lcm_get_lcs(&LCM_DEV_S, &lcs); in pre_fsbl_flow()
147 lcm_get_tp_mode(&LCM_DEV_S, &tp_mode); in pre_fsbl_flow()
/trusted-firmware-m-latest/platform/ext/target/arm/mps4/corstone315/
Dotp_lcm.c325 if (lcm_otp_read(&LCM_DEV_S, offset, len, buf) != LCM_ERROR_NONE) { in otp_read()
383 err = lcm_otp_write(&LCM_DEV_S, offset, buf_len, buf); in otp_write()
465 lcm_err = lcm_otp_read(&LCM_DEV_S, len_offset, sizeof(len), in verify_zero_bits_count()
471 lcm_err = lcm_otp_read(&LCM_DEV_S, len_zero_count_offset, sizeof(zero_count), in verify_zero_bits_count()
481 lcm_err = lcm_otp_read(&LCM_DEV_S, zero_count_offset, sizeof(zero_count), in verify_zero_bits_count()
512 lcm_err = lcm_otp_read(&LCM_DEV_S, USER_AREA_OFFSET(cm_locked_size), in check_keys_for_tampering()
567 if (lcm_get_lcs(&LCM_DEV_S, &lcm_lcs)) { in otp_read_lcs()
586 err = lcm_init(&LCM_DEV_S); in tfm_plat_otp_init()
591 err = lcm_get_otp_size(&LCM_DEV_S, &otp_size); in tfm_plat_otp_init()
604 err = lcm_get_lcs(&LCM_DEV_S, &lcs); in tfm_plat_otp_init()
[all …]
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/bl1/
Dbl1_1_shared_symbols.txt5 LCM_DEV_S
Dboot_hal_bl1_1.c86 lcm_err = lcm_get_tp_mode(&LCM_DEV_S, &tp_mode); in boot_platform_init()
/trusted-firmware-m-latest/platform/ext/target/arm/mps4/corstone315/device/include/
Dplatform_s_device_definition.h99 extern struct lcm_dev_t LCM_DEV_S;
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/device/include/
Ddevice_definition.h210 extern struct lcm_dev_t LCM_DEV_S;
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/device/source/
Ddevice_definition.c606 struct lcm_dev_t LCM_DEV_S = { variable
/trusted-firmware-m-latest/platform/ext/target/arm/mps4/corstone315/device/source/
Dplatform_s_device_definition.c577 struct lcm_dev_t LCM_DEV_S = { variable