Lines Matching refs:sec_caps
859 if (optee->smc.sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM) in optee_get_version()
861 if (optee->smc.sec_caps & OPTEE_SMC_SEC_CAP_MEMREF_NULL) in optee_get_version()
869 u32 sec_caps = optee->smc.sec_caps; in optee_smc_open() local
871 return optee_open(ctx, sec_caps & OPTEE_SMC_SEC_CAP_MEMREF_NULL); in optee_smc_open()
964 u32 *sec_caps) in optee_msg_exchange_capabilities() argument
986 *sec_caps = res.result.capabilities; in optee_msg_exchange_capabilities()
1180 u32 sec_caps; in optee_probe() local
1199 if (!optee_msg_exchange_capabilities(invoke_fn, &sec_caps)) { in optee_probe()
1207 if (sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM) in optee_probe()
1213 if (IS_ERR(pool) && (sec_caps & OPTEE_SMC_SEC_CAP_HAVE_RESERVED_SHM)) in optee_probe()
1227 optee->smc.sec_caps = sec_caps; in optee_probe()
1260 if (optee->smc.sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM) in optee_probe()