| /rk3399_ARM-atf/plat/arm/common/ |
| H A D | arm_transfer_list.c | 33 struct transfer_list_entry *te = in arm_transfer_list_set_heap_info() local 35 assert(te != NULL); in arm_transfer_list_set_heap_info() 37 heap_info = *(struct crypto_heap_info *)transfer_list_entry_data(te); in arm_transfer_list_set_heap_info() 38 return te; in arm_transfer_list_set_heap_info() 56 struct transfer_list_entry *te; in arm_transfer_list_dyn_cfg_init() local 66 te = transfer_list_add(tl, TL_TAG_FDT, PLAT_ARM_HW_CONFIG_SIZE, NULL); in arm_transfer_list_dyn_cfg_init() 67 assert(te != NULL); in arm_transfer_list_dyn_cfg_init() 72 (uintptr_t)transfer_list_entry_data(te); in arm_transfer_list_dyn_cfg_init() 75 te = transfer_list_find(tl, PLAT_ARM_TB_FW_CONFIG_TL_TAG); in arm_transfer_list_dyn_cfg_init() 76 assert(te != NULL); in arm_transfer_list_dyn_cfg_init() [all …]
|
| H A D | arm_bl31_setup.c | 198 struct transfer_list_entry *te = NULL; in arm_bl31_early_platform_setup() 207 while ((te = transfer_list_next(secure_tl, te)) != NULL) { in arm_bl31_early_platform_setup() 208 ep = transfer_list_entry_data(te); in arm_bl31_early_platform_setup() 210 if (te->tag_id == TL_TAG_EXEC_EP_INFO64) { in arm_bl31_early_platform_setup() 393 struct transfer_list_entry *te __unused; in arm_bl31_platform_setup() 403 te = transfer_list_find(secure_tl, TL_TAG_FDT); in arm_bl31_platform_setup() 404 assert(te != NULL); in arm_bl31_platform_setup() 414 fconf_populate("HW_CONFIG", (uintptr_t)transfer_list_entry_data(te)); in arm_bl31_platform_setup() 417 te = transfer_list_add(ns_tl, TL_TAG_FDT, te->data_size, in arm_bl31_platform_setup() 418 transfer_list_entry_data(te)); in arm_bl31_platform_setup() [all …]
|
| H A D | arm_bl1_setup.c | 162 struct transfer_list_entry *te __unused; in arm_bl1_platform_setup() 180 te = transfer_list_add(secure_tl, TL_TAG_MBEDTLS_HEAP_INFO, in arm_bl1_platform_setup() 182 assert(te != NULL); in arm_bl1_platform_setup() 185 (struct crypto_heap_info *)transfer_list_entry_data(te); in arm_bl1_platform_setup() 195 te = transfer_list_add(secure_tl, PLAT_ARM_TB_FW_CONFIG_TL_TAG, in arm_bl1_platform_setup() 197 assert(te != NULL); in arm_bl1_platform_setup() 200 config_image_info.image_base = (uintptr_t) transfer_list_entry_data(te); in arm_bl1_platform_setup() 315 struct transfer_list_entry *te; in bl1_plat_handle_post_image_load() local 322 te = transfer_list_add(secure_tl, TL_TAG_SRAM_LAYOUT, in bl1_plat_handle_post_image_load() 324 assert(te != NULL); in bl1_plat_handle_post_image_load() [all …]
|
| H A D | arm_bl2_setup.c | 54 struct transfer_list_entry *te = transfer_list_add( in arm_get_gpt_corruption() local 59 if (te == NULL) { in arm_get_gpt_corruption() 106 struct transfer_list_entry *te __unused; in arm_bl2_early_platform_setup() 115 te = transfer_list_find(secure_tl, TL_TAG_SRAM_LAYOUT); in arm_bl2_early_platform_setup() 116 assert(te != NULL); in arm_bl2_early_platform_setup() 118 bl2_tzram_layout = *(meminfo_t *)transfer_list_entry_data(te); in arm_bl2_early_platform_setup() 119 transfer_list_rem(secure_tl, te); in arm_bl2_early_platform_setup() 267 struct transfer_list_entry *te __unused; in bl2_plat_arch_setup() 272 te = arm_transfer_list_set_heap_info(secure_tl); in bl2_plat_arch_setup() 273 transfer_list_rem(secure_tl, te); in bl2_plat_arch_setup()
|
| /rk3399_ARM-atf/plat/amd/common/ |
| H A D | plat_xfer_list.c | 35 struct transfer_list_entry *te = NULL; in transfer_list_populate_ep_info() local 40 while ((te = transfer_list_next(tl_hdr, te)) != NULL) { in transfer_list_populate_ep_info() 41 ep = transfer_list_entry_data(te); in transfer_list_populate_ep_info() 42 if (te->tag_id == TL_TAG_EXEC_EP_INFO64) { in transfer_list_populate_ep_info() 70 memset(ep, 0, te->data_size); in transfer_list_populate_ep_info() 72 if (transfer_list_rem(tl_hdr, te) == false) { in transfer_list_populate_ep_info() 85 struct transfer_list_entry *te = NULL; in transfer_list_retrieve_dt_address() local 88 te = transfer_list_find(tl_hdr, TL_TAG_FDT); in transfer_list_retrieve_dt_address() 89 if (te != NULL) { in transfer_list_retrieve_dt_address() 90 dtb = transfer_list_entry_data(te); in transfer_list_retrieve_dt_address()
|
| /rk3399_ARM-atf/plat/arm/board/fvp/ |
| H A D | fvp_bl2_measured_boot.c | 72 struct transfer_list_entry *te __unused; in bl2_plat_mboot_init() 84 te = transfer_list_find(secure_tl, TL_TAG_TPM_EVLOG); in bl2_plat_mboot_init() 87 transfer_list_entry_data(te) + EVENT_LOG_RESERVED_BYTES; in bl2_plat_mboot_init() 88 event_log_finish = transfer_list_entry_data(te) + te->data_size; in bl2_plat_mboot_init() 205 struct transfer_list_entry *te __maybe_unused; in bl2_plat_mboot_finish() 228 te = transfer_list_find(secure_tl, TL_TAG_DT_SPMC_MANIFEST); in bl2_plat_mboot_finish() 229 if (te != NULL) { in bl2_plat_mboot_finish() 230 te = transfer_list_find(secure_tl, TL_TAG_TPM_EVLOG); in bl2_plat_mboot_finish() 231 assert(te != NULL && te->data_size > 0); in bl2_plat_mboot_finish() 233 rc = arm_set_tos_fw_info((uintptr_t)transfer_list_entry_data(te), in bl2_plat_mboot_finish() [all …]
|
| H A D | fvp_bl2_setup.c | 129 struct transfer_list_entry *te __unused; in bl2_plat_handle_post_image_load()
|
| /rk3399_ARM-atf/plat/arm/common/sp_min/ |
| H A D | arm_sp_min_setup.c | 89 struct transfer_list_entry *te __unused; in arm_sp_min_early_platform_setup() 97 te = transfer_list_find(secure_tl, TL_TAG_EXEC_EP_INFO32); in arm_sp_min_early_platform_setup() 98 assert(te != NULL); in arm_sp_min_early_platform_setup() 101 *(struct entry_point_info *)transfer_list_entry_data(te); in arm_sp_min_early_platform_setup() 213 struct transfer_list_entry *te __unused; in sp_min_platform_setup() 233 te = transfer_list_find(secure_tl, TL_TAG_FDT); in sp_min_platform_setup() 234 if (te != NULL) { in sp_min_platform_setup() 235 te = transfer_list_add(ns_tl, TL_TAG_FDT, te->data_size, in sp_min_platform_setup() 236 (void *)transfer_list_entry_data(te)); in sp_min_platform_setup() 237 if (te == NULL) { in sp_min_platform_setup()
|
| /rk3399_ARM-atf/plat/arm/board/juno/ |
| H A D | juno_bl2_measured_boot.c | 50 struct transfer_list_entry *te; in bl2_plat_mboot_init() local 61 te = transfer_list_find(secure_tl, TL_TAG_TPM_EVLOG); in bl2_plat_mboot_init() 64 transfer_list_entry_data(te) + EVENT_LOG_RESERVED_BYTES; in bl2_plat_mboot_init() 65 event_log_finish = transfer_list_entry_data(te) + te->data_size; in bl2_plat_mboot_init()
|
| /rk3399_ARM-atf/plat/arm/common/tsp/ |
| H A D | arm_tsp_setup.c | 86 struct transfer_list_entry *te __unused; in tsp_platform_setup() 97 te = transfer_list_find(secure_tl, TL_TAG_TPM_EVLOG); in tsp_platform_setup() 98 assert(te != NULL); in tsp_platform_setup() 104 event_log_dump(transfer_list_entry_data(te) + U(4), te->data_size - U(4)); in tsp_platform_setup()
|
| /rk3399_ARM-atf/plat/qemu/common/ |
| H A D | qemu_bl2_setup.c | 82 struct transfer_list_entry *te; in update_dt() local 122 te = transfer_list_add(bl2_tl, TL_TAG_FDT, fdt_totalsize(fdt), fdt); in update_dt() 123 if (!te) { in update_dt() 274 struct transfer_list_entry *te; in handoff_pageable_part() local 276 te = transfer_list_add(bl2_tl, TL_TAG_OPTEE_PAGABLE_PART, in handoff_pageable_part() 278 if (!te) { in handoff_pageable_part()
|
| /rk3399_ARM-atf/services/std_svc/spm/el3_spmc/ |
| H A D | spmc_setup.c | 77 struct transfer_list_entry *te; in get_tpm_event_log() local 86 te = transfer_list_find((struct transfer_list_header *)secure_tl, in get_tpm_event_log() 88 if (te == NULL) { in get_tpm_event_log() 94 evlog = transfer_list_entry_data(te); in get_tpm_event_log() 98 tpm_evtlog_size = te->data_size - EVENT_LOG_RESERVED_BYTES; in get_tpm_event_log() 333 struct transfer_list_entry *te; in spmc_create_boot_info() local 336 te = transfer_list_find((struct transfer_list_header *)tl, in spmc_create_boot_info() 338 assert(te != NULL); in spmc_create_boot_info() 340 sp_manifest = (void *)transfer_list_entry_data(te); in spmc_create_boot_info()
|
| H A D | spmc_main.c | 2227 struct transfer_list_entry *te __maybe_unused; in find_and_prepare_sp_context() 2238 te = transfer_list_find(tl, TL_TAG_DT_FFA_MANIFEST); in find_and_prepare_sp_context() 2239 if (te == NULL) { in find_and_prepare_sp_context() 2244 sp_manifest = (void *)transfer_list_entry_data(te); in find_and_prepare_sp_context()
|
| /rk3399_ARM-atf/services/spd/opteed/ |
| H A D | opteed_main.c | 169 struct transfer_list_entry __maybe_unused *te = NULL; in opteed_setup() 199 te = transfer_list_find(tl, TL_TAG_FDT); in opteed_setup() 200 dt = transfer_list_entry_data(te); in opteed_setup() 556 struct transfer_list_entry *te = NULL; in opteed_handle_smc_load() local 559 te = transfer_list_find(bl31_tl, TL_TAG_FDT); in opteed_handle_smc_load() 560 dt = transfer_list_entry_data(te); in opteed_handle_smc_load()
|
| /rk3399_ARM-atf/services/std_svc/spmd/ |
| H A D | spmd_main.c | 654 struct transfer_list_entry *te __maybe_unused; in spmd_setup() 683 te = transfer_list_find(tl, TL_TAG_DT_SPMC_MANIFEST); in spmd_setup() 684 if (te == NULL) { in spmd_setup() 689 spmc_manifest = (void *)transfer_list_entry_data(te); in spmd_setup()
|