/tf-a-ffa_el3_spmc/include/lib/xlat_tables/ |
A D | xlat_mmu_helpers.h | 72 void enable_mmu_el1(unsigned int flags); 73 void enable_mmu_el2(unsigned int flags); 74 void enable_mmu_el3(unsigned int flags); 75 void enable_mmu(unsigned int flags); 77 void enable_mmu_direct_el1(unsigned int flags); 78 void enable_mmu_direct_el2(unsigned int flags); 79 void enable_mmu_direct_el3(unsigned int flags); 82 void enable_mmu_svc_mon(unsigned int flags); 83 void enable_mmu_hyp(unsigned int flags); 85 void enable_mmu_direct_svc_mon(unsigned int flags); [all …]
|
/tf-a-ffa_el3_spmc/lib/zlib/ |
A D | zutil.c | 34 uLong flags; in zlibCompileFlags() local 36 flags = 0; in zlibCompileFlags() 62 flags += 1 << 8; in zlibCompileFlags() 65 flags += 1 << 9; in zlibCompileFlags() 68 flags += 1 << 10; in zlibCompileFlags() 71 flags += 1 << 12; in zlibCompileFlags() 74 flags += 1 << 13; in zlibCompileFlags() 77 flags += 1L << 16; in zlibCompileFlags() 80 flags += 1L << 17; in zlibCompileFlags() 83 flags += 1L << 20; in zlibCompileFlags() [all …]
|
/tf-a-ffa_el3_spmc/plat/arm/board/common/ |
A D | board_arm_trusted_boot.c | 59 unsigned int *flags) in arm_get_rotpk_info_regs() argument 67 assert(flags != NULL); in arm_get_rotpk_info_regs() 88 *flags = ROTPK_IS_HASH; in arm_get_rotpk_info_regs() 99 unsigned int *flags) in arm_get_rotpk_info_dev() argument 103 *flags = ROTPK_IS_HASH; in arm_get_rotpk_info_dev() 113 unsigned int *flags) in arm_get_rotpk_info_cc() argument 119 assert(flags != NULL); in arm_get_rotpk_info_cc() 134 unsigned int *flags) in get_rotpk_info() argument 156 return get_rotpk_info(key_ptr, key_len, flags); in arm_get_rotpk_info() 162 unsigned int *flags) in arm_get_rotpk_info() argument [all …]
|
/tf-a-ffa_el3_spmc/lib/xlat_tables_v2/ |
A D | xlat_tables_context.c | 211 void enable_mmu_el1(unsigned int flags) in enable_mmu_el1() argument 216 enable_mmu_direct_el1(flags); in enable_mmu_el1() 219 void enable_mmu_el2(unsigned int flags) in enable_mmu_el2() argument 224 enable_mmu_direct_el2(flags); in enable_mmu_el2() 232 enable_mmu_direct_el3(flags); in enable_mmu_el3() 235 void enable_mmu(unsigned int flags) in enable_mmu() argument 239 enable_mmu_el1(flags); in enable_mmu() 242 enable_mmu_el2(flags); in enable_mmu() 245 enable_mmu_el3(flags); in enable_mmu() 259 enable_mmu_direct_svc_mon(flags); in enable_mmu_svc_mon() [all …]
|
/tf-a-ffa_el3_spmc/plat/xilinx/common/ |
A D | plat_startup.c | 59 uint64_t flags; member 78 uint64_t flags = partition->flags & FSBL_FLAGS_CPU_MASK; in get_fsbl_cpu() local 80 return flags >> FSBL_FLAGS_CPU_SHIFT; in get_fsbl_cpu() 92 uint64_t flags = partition->flags & FSBL_FLAGS_EL_MASK; in get_fsbl_el() local 94 return flags >> FSBL_FLAGS_EL_SHIFT; in get_fsbl_el() 106 uint64_t flags = partition->flags & FSBL_FLAGS_TZ_MASK; in get_fsbl_ss() local 108 return flags >> FSBL_FLAGS_TZ_SHIFT; in get_fsbl_ss() 120 uint64_t flags = partition->flags & FSBL_FLAGS_ENDIAN_MASK; in get_fsbl_endian() local 122 flags >>= FSBL_FLAGS_ENDIAN_SHIFT; in get_fsbl_endian() 124 if (flags == FSBL_FLAGS_ENDIAN_BE) in get_fsbl_endian() [all …]
|
/tf-a-ffa_el3_spmc/bl31/ |
A D | interrupt_mgmt.c | 40 uint32_t flags; member 60 static int32_t validate_routing_model(uint32_t type, uint32_t flags) in validate_routing_model() argument 123 int32_t set_routing_model(uint32_t type, uint32_t flags) in set_routing_model() argument 131 rc = validate_routing_model(type, flags); in set_routing_model() 136 intr_type_descs[type].flags = flags; in set_routing_model() 137 set_scr_el3_from_rm(type, flags, SECURE); in set_routing_model() 138 set_scr_el3_from_rm(type, flags, NON_SECURE); in set_routing_model() 173 flag = get_interrupt_rm_flag(intr_type_descs[type].flags, in enable_intr_rm_local() 189 uint32_t flags) in register_interrupt_type_handler() argument 198 if ((flags & INTR_TYPE_FLAGS_MASK) != 0U) in register_interrupt_type_handler() [all …]
|
/tf-a-ffa_el3_spmc/services/std_svc/ |
A D | std_svc_setup.c | 85 u_register_t flags) in std_svc_smc_handler() argument 116 cookie, handle, flags); in std_svc_smc_handler() 134 handle, flags); in std_svc_smc_handler() 148 if (is_caller_secure(flags)) { in std_svc_smc_handler() 149 … return spmc_smc_handler(smc_fid, is_caller_secure(flags), x1, x2, x3, x4, cookie, handle, flags); in std_svc_smc_handler() 153 handle, flags); in std_svc_smc_handler() 160 flags); in std_svc_smc_handler() 167 flags); in std_svc_smc_handler() 174 flags); in std_svc_smc_handler()
|
/tf-a-ffa_el3_spmc/plat/arm/board/juno/ |
A D | juno_trusted_boot.c | 26 unsigned int *flags) in juno_get_rotpk_info_regs() argument 34 assert(flags != NULL); in juno_get_rotpk_info_regs() 90 *flags = ROTPK_IS_HASH; in juno_get_rotpk_info_regs() 110 unsigned int *flags) in plat_get_rotpk_info() argument 113 return arm_get_rotpk_info_cc(key_ptr, key_len, flags); in plat_get_rotpk_info() 118 return arm_get_rotpk_info_dev(key_ptr, key_len, flags); in plat_get_rotpk_info() 120 return juno_get_rotpk_info_regs(key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/tf-a-ffa_el3_spmc/plat/nxp/common/setup/ |
A D | ls_interrupt_mgmt.c | 32 static uint64_t ls_el3_interrupt_handler(uint32_t id, uint32_t flags, in ls_el3_interrupt_handler() argument 44 handler(intr_id, flags, handle, cookie); in ls_el3_interrupt_handler() 57 uint64_t flags = 0U; in ls_el3_interrupt_config() local 60 set_interrupt_rm_flag(flags, NON_SECURE); in ls_el3_interrupt_config() 62 ls_el3_interrupt_handler, flags); in ls_el3_interrupt_config()
|
/tf-a-ffa_el3_spmc/plat/qti/common/src/ |
A D | qti_interrupt_svc.c | 24 static uint64_t qti_el3_interrupt_handler(uint32_t id, uint32_t flags, in qti_el3_interrupt_handler() argument 50 uint64_t flags = 0U; in qti_interrupt_svc_init() local 57 set_interrupt_rm_flag(flags, NON_SECURE); in qti_interrupt_svc_init() 61 qti_el3_interrupt_handler, flags); in qti_interrupt_svc_init()
|
/tf-a-ffa_el3_spmc/services/std_svc/spm/spmc/ |
A D | spmc_shared_mem.h | 168 ffa_mem_flag8_t flags; member 212 ffa_mtd_flag32_t flags; member 236 uint32_t flags; member 250 uint64_t flags); 260 uint64_t flags); 270 uint64_t flags); 280 uint64_t flags); 291 uint64_t flags); 301 uint64_t flags);
|
A D | spmc_main.c | 51 uint32_t flags, 144 uint64_t flags) { in spmc_smc_return() argument 330 uint64_t flags) in direct_resp_smc_handler() argument 383 uint64_t flags) in rxtx_map_handler() argument 563 uint64_t flags) in ffa_version_handler() argument 624 uint64_t flags) in ffa_run_handler() argument 684 uint64_t flags) in msg_wait_handler() argument 1263 uint32_t flags; in spmc_setup() local 1294 flags = 0; in spmc_setup() 1298 flags); in spmc_setup() [all …]
|
/tf-a-ffa_el3_spmc/bl1/ |
A D | bl1_fwu.c | 33 unsigned int flags); 37 unsigned int flags); 40 unsigned int flags); 43 unsigned int flags); 45 unsigned int flags); 47 unsigned int flags); 65 unsigned int flags) in bl1_fwu_smc_handler() argument 75 (uint32_t)x3, flags)); in bl1_fwu_smc_handler() 79 flags)); in bl1_fwu_smc_handler() 83 flags)); in bl1_fwu_smc_handler() [all …]
|
/tf-a-ffa_el3_spmc/drivers/st/iwdg/ |
A D | stm32_iwdg.c | 34 uint8_t flags; member 102 iwdg->flags |= IWDG_DISABLE_ON_STOP; in stm32_iwdg_init() 107 iwdg->flags |= IWDG_DISABLE_ON_STANDBY; in stm32_iwdg_init() 119 iwdg->flags |= IWDG_HW_ENABLED; in stm32_iwdg_init() 129 iwdg->flags |= IWDG_DISABLE_ON_STOP; in stm32_iwdg_init() 133 iwdg->flags |= IWDG_DISABLE_ON_STANDBY; in stm32_iwdg_init() 147 if (stm32_iwdg_shadow_update(idx, iwdg->flags) != BSEC_OK) { in stm32_iwdg_init()
|
/tf-a-ffa_el3_spmc/plat/mediatek/common/ |
A D | mtk_sip_svc.c | 32 u_register_t flags) in mediatek_plat_sip_handler() argument 47 u_register_t flags) in mediatek_sip_handler() argument 55 ns = is_caller_non_secure(flags); in mediatek_sip_handler() 84 cookie, handle, flags); in mediatek_sip_handler() 98 u_register_t flags) in sip_smc_handler() argument 117 cookie, handle, flags); in sip_smc_handler()
|
/tf-a-ffa_el3_spmc/drivers/auth/cryptocell/713/ |
A D | cryptocell_plat_helpers.c | 23 int cc_get_rotpk_hash(unsigned char *dst, unsigned int len, unsigned int *flags) in cc_get_rotpk_hash() argument 32 assert(flags != NULL); in cc_get_rotpk_hash() 39 *flags = ROTPK_NOT_DEPLOYED; in cc_get_rotpk_hash() 48 *flags = ROTPK_NOT_DEPLOYED; in cc_get_rotpk_hash() 58 *flags = ROTPK_IS_HASH; in cc_get_rotpk_hash()
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/spm/ |
A D | sleep_def.h | 148 #define is_cpu_pdn(flags) (((flags) & SPM_FLAG_DISABLE_CPU_PDN) == 0U) argument 149 #define is_infra_pdn(flags) (((flags) & SPM_FLAG_DISABLE_INFRA_PDN) == 0U) argument 150 #define is_ddrphy_pdn(flags) (((flags) & SPM_FLAG_DISABLE_DDRPHY_PDN) == 0U) argument
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/drivers/spm/ |
A D | sleep_def.h | 148 #define is_cpu_pdn(flags) (((flags) & SPM_FLAG_DISABLE_CPU_PDN) == 0U) argument 149 #define is_infra_pdn(flags) (((flags) & SPM_FLAG_DISABLE_INFRA_PDN) == 0U) argument 150 #define is_ddrphy_pdn(flags) (((flags) & SPM_FLAG_DISABLE_DDRPHY_PDN) == 0U) argument
|
/tf-a-ffa_el3_spmc/plat/arm/common/ |
A D | arm_sip_svc.c | 50 u_register_t flags) in arm_sip_handler() argument 62 handle, flags); in arm_sip_handler() 71 handle, flags); in arm_sip_handler() 80 handle, flags); in arm_sip_handler() 90 if (!is_caller_non_secure(flags)) in arm_sip_handler()
|
/tf-a-ffa_el3_spmc/plat/nxp/common/tbbr/ |
A D | csf_tbbr.c | 29 unsigned int *flags) in plat_get_rotpk_info() argument 32 *flags = ROTPK_NOT_DEPLOYED; in plat_get_rotpk_info() 62 *flags = ROTPK_IS_HASH; in plat_get_rotpk_info()
|
/tf-a-ffa_el3_spmc/plat/rockchip/common/ |
A D | rockchip_sip_svc.c | 30 u_register_t flags) in rockchip_plat_sip_handler() argument 46 u_register_t flags) in sip_smc_handler() argument 51 ns = is_caller_non_secure(flags); in sip_smc_handler() 72 cookie, handle, flags); in sip_smc_handler()
|
/tf-a-ffa_el3_spmc/plat/marvell/armada/common/ |
A D | marvell_gicv2.c | 75 uint32_t flags, in a7k8k_pmu_interrupt_handler() argument 108 uint32_t flags; in mvebu_pmu_interrupt_enable() local 125 flags = 0U; in mvebu_pmu_interrupt_enable() 126 set_interrupt_rm_flag((flags), (NON_SECURE)); in mvebu_pmu_interrupt_enable() 129 flags); in mvebu_pmu_interrupt_enable()
|
/tf-a-ffa_el3_spmc/drivers/auth/cryptocell/712/ |
A D | cryptocell_plat_helpers.c | 31 int cc_get_rotpk_hash(unsigned char *dst, unsigned int len, unsigned int *flags) in cc_get_rotpk_hash() argument 38 assert(flags != NULL); in cc_get_rotpk_hash() 54 *flags = ROTPK_NOT_DEPLOYED; in cc_get_rotpk_hash() 65 *flags = ROTPK_IS_HASH; in cc_get_rotpk_hash()
|
/tf-a-ffa_el3_spmc/plat/common/aarch32/ |
A D | plat_common.c | 18 void bl32_plat_enable_mmu(uint32_t flags) in bl32_plat_enable_mmu() argument 20 enable_mmu_svc_mon(flags); in bl32_plat_enable_mmu()
|
/tf-a-ffa_el3_spmc/drivers/nxp/sfp/ |
A D | fuse_prov.c | 97 if (((fuse_hdr->flags >> (FLAG_OUID0_SHIFT + i)) & 0x1) != 0) { in prog_oemuid() 119 if (((fuse_hdr->flags >> (FLAG_DCV0_SHIFT)) & 0x3) != 0) { in prog_debug() 131 if ((((fuse_hdr->flags >> (FLAG_DRV0_SHIFT)) & 0x3)) != 0) { in prog_debug() 332 if (((fuse_hdr->flags >> FLAG_MC_SHIFT) & 0x1) != 0) { in prog_ospr1() 336 if (((fuse_hdr->flags >> FLAG_DBG_LVL_SHIFT) & 0x1) != 0) { in prog_ospr1() 391 if (((fuse_hdr->flags >> FLAG_SRKH_SHIFT) & 0x1) != 0) { in provision_fuses() 401 if (((fuse_hdr->flags >> FLAG_OUID0_SHIFT) & FLAG_OUID_MASK) != 0) { in provision_fuses() 421 if (((fuse_hdr->flags >> FLAG_OTPMK_SHIFT) & PROG_NO_OTPMK) != in provision_fuses() 433 if ((((fuse_hdr->flags >> FLAG_MC_SHIFT) & 0x1) != 0) || in provision_fuses() 434 (((fuse_hdr->flags >> FLAG_DBG_LVL_SHIFT) & 0x1) != 0)) { in provision_fuses() [all …]
|