/trusted-firmware-a/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 …]
|
/trusted-firmware-a/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 …]
|
/trusted-firmware-a/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 …]
|
/trusted-firmware-a/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 …]
|
/trusted-firmware-a/plat/xilinx/common/ |
A D | plat_startup.c | 61 uint64_t flags; member 80 uint64_t flags = partition->flags & FSBL_FLAGS_CPU_MASK; in get_fsbl_cpu() local 82 return flags >> FSBL_FLAGS_CPU_SHIFT; in get_fsbl_cpu() 94 uint64_t flags = partition->flags & FSBL_FLAGS_EL_MASK; in get_fsbl_el() local 96 return flags >> FSBL_FLAGS_EL_SHIFT; in get_fsbl_el() 108 uint64_t flags = partition->flags & FSBL_FLAGS_TZ_MASK; in get_fsbl_ss() local 110 return flags >> FSBL_FLAGS_TZ_SHIFT; in get_fsbl_ss() 122 uint64_t flags = partition->flags & FSBL_FLAGS_ENDIAN_MASK; in get_fsbl_endian() local 124 flags >>= FSBL_FLAGS_ENDIAN_SHIFT; in get_fsbl_endian() 126 if (flags == FSBL_FLAGS_ENDIAN_BE) in get_fsbl_endian() [all …]
|
/trusted-firmware-a/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 …]
|
/trusted-firmware-a/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 …]
|
/trusted-firmware-a/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()
|
/trusted-firmware-a/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()
|
/trusted-firmware-a/services/std_svc/ |
A D | std_svc_setup.c | 86 u_register_t flags) in std_svc_smc_handler() argument 117 cookie, handle, flags); in std_svc_smc_handler() 135 handle, flags); in std_svc_smc_handler() 146 handle, flags); in std_svc_smc_handler() 153 flags); in std_svc_smc_handler() 160 flags); in std_svc_smc_handler() 170 handle, flags); in std_svc_smc_handler() 177 flags); in std_svc_smc_handler()
|
/trusted-firmware-a/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()
|
/trusted-firmware-a/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()
|
/trusted-firmware-a/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()
|
/trusted-firmware-a/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()
|
/trusted-firmware-a/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 …]
|
/trusted-firmware-a/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
|
/trusted-firmware-a/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
|
/trusted-firmware-a/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()
|
/trusted-firmware-a/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()
|
/trusted-firmware-a/services/spd/tspd/ |
A D | tspd_main.c | 109 uint32_t flags, in tspd_sel1_interrupt_handler() argument 225 uint32_t flags, in tspd_ns_interrupt_handler() argument 230 assert(get_interrupt_src_ss(flags) == SECURE); in tspd_ns_interrupt_handler() 348 u_register_t flags) in tspd_smc_handler() argument 359 ns = is_caller_non_secure(flags); in tspd_smc_handler() 463 flags = 0; in tspd_smc_handler() 464 set_interrupt_rm_flag(flags, NON_SECURE); in tspd_smc_handler() 467 flags); in tspd_smc_handler() 477 flags = 0; in tspd_smc_handler() 478 set_interrupt_rm_flag(flags, SECURE); in tspd_smc_handler() [all …]
|
/trusted-firmware-a/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()
|
/trusted-firmware-a/lib/extensions/ras/ |
A D | ras_common.c | 65 void *handle, uint64_t flags) in ras_ea_handler() argument 76 .flags = flags, in ras_ea_handler() 123 static int ras_interrupt_handler(uint32_t intr_raw, uint32_t flags, in ras_interrupt_handler() argument 134 .flags = flags, in ras_interrupt_handler()
|
/trusted-firmware-a/drivers/console/ |
A D | multi_console.c | 70 console->flags = (console->flags & ~CONSOLE_FLAG_SCOPE_MASK) | scope; in console_set_scope() 78 ((console->flags & CONSOLE_FLAG_TRANSLATE_CRLF) != 0)) { in do_putc() 93 if ((console->flags & console_state) && (console->putc != NULL)) { in console_putc() 110 if ((console->flags & console_state) && (console->getc != NULL)) { in console_getc() 127 if ((console->flags & console_state) && (console->flush != NULL)) { in console_flush()
|
/trusted-firmware-a/plat/arm/board/fvp/ |
A D | fvp_common.c | 229 master = ((arm_config.flags & ARM_CONFIG_FVP_SHIFTED_AFF) != 0U) ? in get_interconnect_master() 332 arm_config.flags = 0; in fvp_config_setup() 350 arm_config.flags |= (ARM_CONFIG_BASE_MMAP | ARM_CONFIG_HAS_TZC); in fvp_config_setup() 358 arm_config.flags |= ARM_CONFIG_FVP_HAS_CCI400; in fvp_config_setup() 361 arm_config.flags |= (ARM_CONFIG_FVP_HAS_SMMUV3 | in fvp_config_setup() 380 arm_config.flags |= ARM_CONFIG_FVP_SHIFTED_AFF; in fvp_config_setup() 399 if ((arm_config.flags & ARM_CONFIG_FVP_HAS_CCI5XX) != 0U) { in fvp_interconnect_init() 403 } else if ((arm_config.flags & ARM_CONFIG_FVP_HAS_CCI400) != 0U) { in fvp_interconnect_init() 424 if ((arm_config.flags & (ARM_CONFIG_FVP_HAS_CCI400 | in fvp_interconnect_enable() 439 if ((arm_config.flags & (ARM_CONFIG_FVP_HAS_CCI400 | in fvp_interconnect_disable()
|
/trusted-firmware-a/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()
|