/arm-trusted-firmware-2.8.0/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 …]
|
/arm-trusted-firmware-2.8.0/lib/zlib/ |
A D | zutil.c | 34 uLong flags; in zlibCompileFlags() local 36 flags = 0; in zlibCompileFlags() 62 flags += 1 << 8; in zlibCompileFlags() 70 flags += 1 << 10; in zlibCompileFlags() 73 flags += 1 << 12; in zlibCompileFlags() 76 flags += 1 << 13; in zlibCompileFlags() 79 flags += 1L << 16; in zlibCompileFlags() 82 flags += 1L << 17; in zlibCompileFlags() 85 flags += 1L << 20; in zlibCompileFlags() 88 flags += 1L << 21; in zlibCompileFlags() [all …]
|
/arm-trusted-firmware-2.8.0/plat/arm/board/common/ |
A D | board_arm_trusted_boot.c | 61 unsigned int *flags) in arm_get_rotpk_info_regs() argument 69 assert(flags != NULL); in arm_get_rotpk_info_regs() 90 *flags = ROTPK_IS_HASH; in arm_get_rotpk_info_regs() 101 unsigned int *flags) in arm_get_rotpk_info_dev() argument 105 *flags = ROTPK_IS_HASH; in arm_get_rotpk_info_dev() 115 unsigned int *flags) in arm_get_rotpk_info_cc() argument 121 assert(flags != NULL); in arm_get_rotpk_info_cc() 136 unsigned int *flags) in get_rotpk_info() argument 179 *flags = ROTPK_IS_HASH; in arm_get_rotpk_info() 205 *flags = ROTPK_IS_HASH; in arm_get_rotpk_info() [all …]
|
/arm-trusted-firmware-2.8.0/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 …]
|
/arm-trusted-firmware-2.8.0/plat/xilinx/common/ |
A D | plat_startup.c | 65 uint64_t flags = partition->flags & FSBL_FLAGS_CPU_MASK; in get_fsbl_cpu() local 67 return flags >> FSBL_FLAGS_CPU_SHIFT; in get_fsbl_cpu() 79 uint64_t flags = partition->flags & FSBL_FLAGS_EL_MASK; in get_fsbl_el() local 81 return flags >> FSBL_FLAGS_EL_SHIFT; in get_fsbl_el() 93 uint64_t flags = partition->flags & FSBL_FLAGS_TZ_MASK; in get_fsbl_ss() local 95 return flags >> FSBL_FLAGS_TZ_SHIFT; in get_fsbl_ss() 107 uint64_t flags = partition->flags & FSBL_FLAGS_ENDIAN_MASK; in get_fsbl_endian() local 109 flags >>= FSBL_FLAGS_ENDIAN_SHIFT; in get_fsbl_endian() 111 if (flags == FSBL_FLAGS_ENDIAN_BE) { in get_fsbl_endian() 127 uint64_t flags = partition->flags & FSBL_FLAGS_ESTATE_MASK; in get_fsbl_estate() local [all …]
|
/arm-trusted-firmware-2.8.0/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 …]
|
/arm-trusted-firmware-2.8.0/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() 58 set_interrupt_rm_flag(flags, SECURE); in qti_interrupt_svc_init() 62 qti_el3_interrupt_handler, flags); in qti_interrupt_svc_init()
|
/arm-trusted-firmware-2.8.0/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()
|
/arm-trusted-firmware-2.8.0/services/std_svc/ |
A D | std_svc_setup.c | 102 u_register_t flags) in std_svc_smc_handler() argument 133 cookie, handle, flags); in std_svc_smc_handler() 151 handle, flags); in std_svc_smc_handler() 162 handle, flags); in std_svc_smc_handler() 169 flags); in std_svc_smc_handler() 176 flags); in std_svc_smc_handler() 184 handle, flags); in std_svc_smc_handler() 189 handle, flags); in std_svc_smc_handler() 196 flags); in std_svc_smc_handler() 203 flags); in std_svc_smc_handler()
|
/arm-trusted-firmware-2.8.0/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()
|
/arm-trusted-firmware-2.8.0/services/std_svc/spm/el3_spmc/ |
A D | spmc_shared_mem.h | 27 uint32_t flags; member 62 uint64_t flags); 72 uint64_t flags); 82 uint64_t flags); 92 uint64_t flags); 103 uint64_t flags); 113 uint64_t flags);
|
/arm-trusted-firmware-2.8.0/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 …]
|
/arm-trusted-firmware-2.8.0/plat/arm/board/fvp_r/ |
A D | fvp_r_common.c | 98 master = ((arm_config.flags & ARM_CONFIG_FVP_SHIFTED_AFF) != 0U) ? in get_interconnect_master() 112 arm_config.flags |= ARM_CONFIG_BASE_MMAP; in fvp_config_setup() 147 arm_config.flags = 0; in fvp_config_setup() 165 arm_config.flags |= (ARM_CONFIG_BASE_MMAP | ARM_CONFIG_HAS_TZC); in fvp_config_setup() 173 arm_config.flags |= ARM_CONFIG_FVP_HAS_CCI400; in fvp_config_setup() 191 arm_config.flags |= ARM_CONFIG_FVP_SHIFTED_AFF; in fvp_config_setup() 203 if ((arm_config.flags & ARM_CONFIG_FVP_HAS_CCI5XX) != 0U) { in fvp_interconnect_init() 207 } else if ((arm_config.flags & ARM_CONFIG_FVP_HAS_CCI400) != 0U) { in fvp_interconnect_init() 224 if ((arm_config.flags & (ARM_CONFIG_FVP_HAS_CCI400 | in fvp_interconnect_enable() 235 if ((arm_config.flags & (ARM_CONFIG_FVP_HAS_CCI400 | in fvp_interconnect_disable()
|
/arm-trusted-firmware-2.8.0/services/spd/pncd/ |
A D | pncd_main.c | 102 uint32_t flags; in pncd_context_switch_to() local 113 flags = 0U; in pncd_context_switch_to() 117 flags); in pncd_context_switch_to() 175 uint32_t flags, in pncd_sel1_interrupt_handler() argument 290 u_register_t flags) in plat_pncd_smc_handler() argument 298 (void) flags; in plat_pncd_smc_handler() 319 u_register_t flags) in pncd_smc_handler_unsafe() argument 324 ns = is_caller_non_secure(flags); in pncd_smc_handler_unsafe() 430 cookie, handle, flags); in pncd_smc_handler_unsafe() 440 u_register_t flags) in pncd_smc_handler() argument [all …]
|
/arm-trusted-firmware-2.8.0/drivers/st/iwdg/ |
A D | stm32_iwdg.c | 35 uint8_t flags; member 103 iwdg->flags |= IWDG_DISABLE_ON_STOP; in stm32_iwdg_init() 108 iwdg->flags |= IWDG_DISABLE_ON_STANDBY; in stm32_iwdg_init() 120 iwdg->flags |= IWDG_HW_ENABLED; in stm32_iwdg_init() 130 iwdg->flags |= IWDG_DISABLE_ON_STOP; in stm32_iwdg_init() 134 iwdg->flags |= IWDG_DISABLE_ON_STANDBY; in stm32_iwdg_init() 148 if (stm32_iwdg_shadow_update(idx, iwdg->flags) != BSEC_OK) { in stm32_iwdg_init()
|
/arm-trusted-firmware-2.8.0/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()
|
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8186/drivers/spm/ |
A D | sleep_def.h | 142 #define is_cpu_pdn(flags) (((flags) & SPM_FLAG_DISABLE_CPU_PDN) == 0U) argument 143 #define is_infra_pdn(flags) (((flags) & SPM_FLAG_DISABLE_INFRA_PDN) == 0U) argument 144 #define is_ddrphy_pdn(flags) (((flags) & SPM_FLAG_DISABLE_DDRPHY_PDN) == 0U) argument
|
/arm-trusted-firmware-2.8.0/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()
|
/arm-trusted-firmware-2.8.0/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
|
/arm-trusted-firmware-2.8.0/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
|
/arm-trusted-firmware-2.8.0/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()
|
/arm-trusted-firmware-2.8.0/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()
|
/arm-trusted-firmware-2.8.0/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()
|
/arm-trusted-firmware-2.8.0/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()
|
/arm-trusted-firmware-2.8.0/plat/arm/board/fvp/ |
A D | fvp_drtm_dma_prot.c | 38 return (arm_config.flags & ARM_CONFIG_FVP_HAS_SMMUV3) == 0; in plat_has_unmanaged_dma_peripherals() 43 if ((arm_config.flags & ARM_CONFIG_FVP_HAS_SMMUV3) != 0U) { in plat_get_total_smmus() 53 if ((arm_config.flags & ARM_CONFIG_FVP_HAS_SMMUV3) != 0U) { in plat_enumerate_smmus()
|