Home
last modified time | relevance | path

Searched refs:IS_ENABLED (Results 1 – 25 of 78) sorted by relevance

1234

/optee_os-3.20.0/core/arch/arm/plat-imx/
A Dimx-common.c59 if (IS_ENABLED(CFG_MX7ULP)) in imx_get_digprog()
61 else if (IS_ENABLED(CFG_MX8QX)) in imx_get_digprog()
63 else if (IS_ENABLED(CFG_MX8QM)) in imx_get_digprog()
65 else if (IS_ENABLED(CFG_MX8DXL)) in imx_get_digprog()
67 else if (IS_ENABLED(CFG_MX8ULP)) in imx_get_digprog()
69 else if (IS_ENABLED(CFG_MX93)) in imx_get_digprog()
89 if (IS_ENABLED(CFG_MX7)) in imx_soc_rev_minor()
/optee_os-3.20.0/core/pta/
A Dscmi.c57 if (IS_ENABLED(CFG_SCMI_MSG_SMT)) { in cmd_process_smt_channel()
69 if (IS_ENABLED(CFG_SCMI_SCPFW)) in cmd_process_smt_channel()
88 if (IS_ENABLED(CFG_SCMI_MSG_SMT)) { in cmd_process_smt_message()
130 if (IS_ENABLED(CFG_SCMI_MSG_DRIVERS)) { in cmd_process_msg_channel()
133 if (!IS_ENABLED(CFG_SCMI_MSG_SHM_MSG)) in cmd_process_msg_channel()
148 if (IS_ENABLED(CFG_SCMI_SCPFW)) { in cmd_process_msg_channel()
182 if (IS_ENABLED(CFG_SCMI_MSG_DRIVERS)) { in cmd_get_channel_handle()
195 if (IS_ENABLED(CFG_SCMI_SCPFW)) { in cmd_get_channel_handle()
216 if (IS_ENABLED(CFG_SCMI_MSG_DRIVERS) || IS_ENABLED(CFG_SCMI_SCPFW)) in pta_scmi_open_session()
/optee_os-3.20.0/core/drivers/crypto/se050/
A Dsession.c24 if (IS_ENABLED(CFG_CORE_SE05X_INIT_NVM)) { in se050_core_early_init()
48 IS_ENABLED(CFG_CORE_SE05X_DISPLAY_INFO)); in update_se_info()
57 if (IS_ENABLED(CFG_CORE_SCP03_ONLY)) in update_se_info()
83 if (IS_ENABLED(CFG_CORE_SE05X_SCP03_EARLY)) { in se050_early_init_default()
123 if (IS_ENABLED(CFG_CORE_SCP03_ONLY)) in se050_session_init()
/optee_os-3.20.0/core/arch/arm/plat-imx/drivers/
A Dtzc380.c38 if (IS_ENABLED(CFG_MX6Q) || IS_ENABLED(CFG_MX6D) || in imx_configure_tzasc()
39 IS_ENABLED(CFG_MX6DL)) { in imx_configure_tzasc()
/optee_os-3.20.0/lib/libutee/
A Dtee_api_operations.c1851 if (IS_ENABLED(CFG_CRYPTO_AES)) { in TEE_IsAlgorithmSupported()
1890 if (IS_ENABLED(CFG_CRYPTO_DES)) { in TEE_IsAlgorithmSupported()
1909 if (IS_ENABLED(CFG_CRYPTO_MD5)) { in TEE_IsAlgorithmSupported()
1933 if (IS_ENABLED(CFG_CRYPTO_MD5) && IS_ENABLED(CFG_CRYPTO_SHA1)) { in TEE_IsAlgorithmSupported()
1967 if (IS_ENABLED(CFG_CRYPTO_SM3)) { in TEE_IsAlgorithmSupported()
1971 if (IS_ENABLED(CFG_CRYPTO_SM4)) { in TEE_IsAlgorithmSupported()
1989 if (IS_ENABLED(CFG_CRYPTO_RSA)) { in TEE_IsAlgorithmSupported()
2000 if (IS_ENABLED(CFG_CRYPTO_MD5) && IS_ENABLED(CFG_CRYPTO_SHA1)) { in TEE_IsAlgorithmSupported()
2035 if (IS_ENABLED(CFG_CRYPTO_DSA)) { in TEE_IsAlgorithmSupported()
2049 if (IS_ENABLED(CFG_CRYPTO_DH)) { in TEE_IsAlgorithmSupported()
[all …]
/optee_os-3.20.0/core/arch/arm/tee/
A Dentry_fast.c67 bool res_shm_en = IS_ENABLED(CFG_CORE_RESERVED_SHM); in tee_entry_exchange_capabilities()
103 if (IS_ENABLED(CFG_VIRTUALIZATION)) in tee_entry_exchange_capabilities()
106 IS_ENABLED(CFG_VIRTUALIZATION) ? "en" : "dis"); in tee_entry_exchange_capabilities()
110 if (IS_ENABLED(CFG_CORE_ASYNC_NOTIF)) { in tee_entry_exchange_capabilities()
115 IS_ENABLED(CFG_CORE_ASYNC_NOTIF) ? "en" : "dis"); in tee_entry_exchange_capabilities()
280 if (IS_ENABLED(CFG_CORE_ASYNC_NOTIF)) { in __tee_entry_fast()
288 if (IS_ENABLED(CFG_CORE_ASYNC_NOTIF)) in __tee_entry_fast()
309 if (IS_ENABLED(CFG_VIRTUALIZATION)) in tee_entry_generic_get_api_call_count()
/optee_os-3.20.0/lib/libutils/ext/include/
A Dconfig.h30 #define IS_ENABLED(config_macro) Z_IS_ENABLED1(config_macro) macro
36 #define IS_ENABLED2(config_macro) IS_ENABLED(config_macro)
A Dfault_mitigation.h309 if (IS_ENABLED(CFG_FAULT_MITIGATION) && arg) in __ftmn_calle_swap_hash()
316 if (IS_ENABLED(CFG_FAULT_MITIGATION) && arg) in __ftmn_callee_done()
324 if (IS_ENABLED(CFG_FAULT_MITIGATION) && arg) in __ftmn_callee_done_not_zero()
335 if (IS_ENABLED(CFG_FAULT_MITIGATION) && arg) in __ftmn_callee_done_memcmp()
348 if (IS_ENABLED(CFG_FAULT_MITIGATION)) in __ftmn_callee_done_check()
363 if (IS_ENABLED(CFG_FAULT_MITIGATION)) in __ftmn_set_check_res()
371 if (IS_ENABLED(CFG_FAULT_MITIGATION)) in __ftmn_set_check_res_not_zero()
595 if (IS_ENABLED(CFG_FAULT_MITIGATION)) in ftmn_set_check_res_memcmp()
623 if (IS_ENABLED(CFG_FAULT_MITIGATION)) { in ftmn_checkpoint()
650 if (IS_ENABLED(CFG_FAULT_MITIGATION)) { in ftmn_expect_state()
[all …]
/optee_os-3.20.0/core/arch/arm/sm/
A Dsm.c74 if (IS_ENABLED(CFG_SM_PLATFORM_HANDLER) && in sm_from_nsec()
80 if (IS_ENABLED(CFG_PSCI_ARM32)) { in sm_from_nsec()
97 if (IS_ENABLED(CFG_CORE_WORKAROUND_ARM_NMFI)) { in sm_from_nsec()
/optee_os-3.20.0/lib/libmbedtls/core/
A Decc.c422 if (!IS_ENABLED(CFG_CRYPTO_SM2_DSA)) in crypto_asym_get_ecc_keypair_ops()
426 if (!IS_ENABLED(CFG_CRYPTO_SM2_PKE)) in crypto_asym_get_ecc_keypair_ops()
430 if (!IS_ENABLED(CFG_CRYPTO_SM2_KEP)) in crypto_asym_get_ecc_keypair_ops()
450 if (!IS_ENABLED(CFG_CRYPTO_SM2_DSA)) in crypto_asym_alloc_ecc_keypair()
457 if (!IS_ENABLED(CFG_CRYPTO_SM2_PKE)) in crypto_asym_alloc_ecc_keypair()
464 if (!IS_ENABLED(CFG_CRYPTO_SM2_KEP)) in crypto_asym_alloc_ecc_keypair()
520 if (!IS_ENABLED(CFG_CRYPTO_SM2_DSA)) in crypto_asym_get_ecc_public_ops()
525 if (!IS_ENABLED(CFG_CRYPTO_SM2_PKE)) in crypto_asym_get_ecc_public_ops()
530 if (!IS_ENABLED(CFG_CRYPTO_SM2_KEP)) in crypto_asym_get_ecc_public_ops()
550 if (!IS_ENABLED(CFG_CRYPTO_SM2_DSA)) in crypto_asym_alloc_ecc_public_key()
[all …]
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/nsec-service/
A Dstm32mp1_svc_setup.c34 if (IS_ENABLED(CFG_STM32MP1_SCMI_SIP)) { in sip_service()
42 if (IS_ENABLED(CFG_STM32MP1_SCMI_SIP)) { in sip_service()
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/apis/
A Dsss.c64 if (IS_ENABLED(CFG_CORE_SE05X_SCP03_PROVISION_WITH_FACTORY_KEYS)) { in se050_rotate_scp03_keys()
80 if (IS_ENABLED(CFG_CORE_SE05X_DISPLAY_SCP03_KEYS)) { in se050_rotate_scp03_keys()
134 if (IS_ENABLED(CFG_CORE_SE05X_SCP03_PROVISION_WITH_FACTORY_KEYS)) in se050_rotate_scp03_keys()
177 if (IS_ENABLED(CFG_CORE_SE05X_SCP03_PROVISION_ON_INIT)) in se050_enable_scp03()
/optee_os-3.20.0/core/pta/bcm/
A Dsotp.c33 if (IS_ENABLED(CFG_BCM_SOTP_SINGLE_SESSION)) in close_session()
76 if (IS_ENABLED(CFG_BCM_SOTP_SINGLE_SESSION) && sotp_access_disabled) { in invoke_command()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dthread_optee_smc.c37 if (IS_ENABLED(CFG_VIRTUALIZATION) && in thread_handle_fast_smc()
45 if (IS_ENABLED(CFG_VIRTUALIZATION)) in thread_handle_fast_smc()
61 if (IS_ENABLED(CFG_VIRTUALIZATION) && virt_set_guest(a7)) in thread_handle_std_smc()
77 if (IS_ENABLED(CFG_VIRTUALIZATION)) in thread_handle_std_smc()
160 if (IS_ENABLED(CFG_PREALLOC_RPC_CACHE) && in call_entry_std()
176 !(IS_ENABLED(CFG_PREALLOC_RPC_CACHE) && thread_prealloc_rpc_cache)) in call_entry_std()
299 if (IS_ENABLED(CFG_VIRTUALIZATION)) in __thread_std_smc_entry()
322 if (IS_ENABLED(CFG_PREALLOC_RPC_CACHE)) { in thread_disable_prealloc_rpc_cache()
348 if (!IS_ENABLED(CFG_PREALLOC_RPC_CACHE)) in thread_enable_prealloc_rpc_cache()
375 if (IS_ENABLED(CFG_CORE_DYN_SHM) && in rpc_shm_mobj_alloc()
[all …]
A Dboot.c127 if (IS_ENABLED(CFG_VIRTUALIZATION)) { in plat_get_random_stack_canary()
665 if (!IS_ENABLED(CFG_EXTERNAL_DT)) in get_external_dt()
676 if (!IS_ENABLED(CFG_EXTERNAL_DT)) in release_external_dt()
725 if (IS_ENABLED(CFG_EXTERNAL_DTB_OVERLAY)) { in init_dt_overlay()
1136 if (!IS_ENABLED(CFG_EXTERNAL_DT)) in init_external_dt()
1184 if (!IS_ENABLED(CFG_EXTERNAL_DT)) in update_external_dt()
1299 if (!IS_ENABLED(CFG_VIRTUALIZATION)) in init_tee_runtime()
1334 if (IS_ENABLED(CFG_VIRTUALIZATION)) { in init_primary()
1373 if (IS_ENABLED(CFG_WARN_INSECURE)) { in boot_init_primary_late()
1382 if (IS_ENABLED(CFG_MEMTAG)) in boot_init_primary_late()
[all …]
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/
A Dmain.c302 if (!IS_ENABLED(CFG_EMBED_DTB)) in init_stm32mp1_drivers()
340 if (IS_ENABLED(CFG_STM32_TAMP)) { in init_late_stm32mp1_drivers()
421 if (IS_ENABLED(CFG_STM32MP15)) in bank_is_valid()
424 if (IS_ENABLED(CFG_STM32MP13)) in bank_is_valid()
437 if (IS_ENABLED(CFG_STM32MP15)) { in stm32_get_gpio_bank_base()
449 if (IS_ENABLED(CFG_STM32MP13)) in stm32_get_gpio_bank_base()
483 if (!IS_ENABLED(CFG_DRIVERS_CLK)) in stm32_get_gpio_bank_clk()
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Dscp03.c20 if (IS_ENABLED(CFG_CORE_SE05X_SCP03_PROVISION)) { in crypto_se_enable_scp03()
/optee_os-3.20.0/core/arch/riscv/plat-virt/
A Dmain.c42 if (IS_ENABLED(CFG_RISCV_PLIC)) in itr_core_handler()
/optee_os-3.20.0/core/lib/libtomcrypt/
A Decc.c404 if (!IS_ENABLED(_CFG_CORE_LTC_SM2_DSA)) in crypto_asym_get_ecc_keypair_ops()
408 if (!IS_ENABLED(_CFG_CORE_LTC_SM2_PKE)) in crypto_asym_get_ecc_keypair_ops()
412 if (!IS_ENABLED(_CFG_CORE_LTC_SM2_KEP)) in crypto_asym_get_ecc_keypair_ops()
482 if (!IS_ENABLED(_CFG_CORE_LTC_SM2_DSA)) in crypto_asym_get_ecc_public_ops()
486 if (!IS_ENABLED(_CFG_CORE_LTC_SM2_PKE)) in crypto_asym_get_ecc_public_ops()
490 if (!IS_ENABLED(_CFG_CORE_LTC_SM2_KEP)) in crypto_asym_get_ecc_public_ops()
/optee_os-3.20.0/core/arch/arm/include/mm/
A Dcore_mmu_arch.h225 return !(attr & TEE_MATTR_TABLE) || !IS_ENABLED(CFG_WITH_LPAE); in core_mmu_entry_have_security_bit()
230 if (IS_ENABLED(ARM64)) { in core_mmu_get_va_width()
/optee_os-3.20.0/core/drivers/crypto/aspeed/
A Dcrypto_ast2600.c37 if (IS_ENABLED(CFG_CRYPTO_DRV_HASH)) { in crypto_ast2600_init()
/optee_os-3.20.0/core/drivers/crypto/se050/glue/
A Di2c.c60 if (IS_ENABLED(CFG_CORE_SE05X_I2C_TRAMPOLINE)) in load_trampoline()
/optee_os-3.20.0/core/arch/arm/plat-rcar/
A Dmain.c77 static_assert(!IS_ENABLED(CFG_WITH_SOFTWARE_PRNG));
/optee_os-3.20.0/core/drivers/
A Dstm32mp15_huk.c154 if (IS_ENABLED(CFG_STM32MP15_HUK_BSEC_KEY)) { in tee_otp_get_hw_unique_key()
161 if (IS_ENABLED(CFG_STM32MP15_HUK_BSEC_DERIVE_UID)) { in tee_otp_get_hw_unique_key()
/optee_os-3.20.0/core/kernel/
A Ddt_driver_test.c133 if (IS_ENABLED(CFG_DRIVERS_CLK) && in dt_driver_test_status()
138 if (IS_ENABLED(CFG_DRIVERS_RSTCTRL) && in dt_driver_test_status()
162 if (IS_ENABLED(CFG_DRIVERS_CLK)) { in dt_test_consumer_probe()
213 if (IS_ENABLED(CFG_DRIVERS_RSTCTRL)) { in dt_test_consumer_probe()

Completed in 26 milliseconds

1234