Lines Matching refs:sec_caps
1132 if (optee->smc.sec_caps & OPTEE_SMC_SEC_CAP_ASYNC_NOTIF) { in optee_smc_notif_uninit_irq()
1164 if (optee->smc.sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM) in optee_get_version()
1166 if (optee->smc.sec_caps & OPTEE_SMC_SEC_CAP_MEMREF_NULL) in optee_get_version()
1174 u32 sec_caps = optee->smc.sec_caps; in optee_smc_open() local
1176 return optee_open(ctx, sec_caps & OPTEE_SMC_SEC_CAP_MEMREF_NULL); in optee_smc_open()
1297 u32 *sec_caps, u32 *max_notif_value, in optee_msg_exchange_capabilities() argument
1320 *sec_caps = res.result.capabilities; in optee_msg_exchange_capabilities()
1321 if (*sec_caps & OPTEE_SMC_SEC_CAP_ASYNC_NOTIF) in optee_msg_exchange_capabilities()
1325 if (*sec_caps & OPTEE_SMC_SEC_CAP_RPC_ARG) in optee_msg_exchange_capabilities()
1598 u32 sec_caps; in optee_probe() local
1622 if (!optee_msg_exchange_capabilities(invoke_fn, &sec_caps, in optee_probe()
1632 if (sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM) { in optee_probe()
1646 if (sec_caps & OPTEE_SMC_SEC_CAP_RPC_ARG) in optee_probe()
1657 if (IS_ERR(pool) && (sec_caps & OPTEE_SMC_SEC_CAP_HAVE_RESERVED_SHM)) { in optee_probe()
1686 optee->smc.sec_caps = sec_caps; in optee_probe()
1690 (sec_caps & OPTEE_SMC_SEC_CAP_RPMB_PROBE)) in optee_probe()
1735 if (sec_caps & OPTEE_SMC_SEC_CAP_ASYNC_NOTIF) { in optee_probe()
1770 if (optee->smc.sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM) in optee_probe()