Lines Matching refs:optee
127 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_do_call_with_arg() local
136 optee_cq_wait_init(&optee->call_queue, &w); in optee_do_call_with_arg()
140 optee->invoke_fn(param.a0, param.a1, param.a2, param.a3, in optee_do_call_with_arg()
149 optee_cq_wait_for_completion(&optee->call_queue, &w); in optee_do_call_with_arg()
168 optee_cq_wait_final(&optee->call_queue, &w); in optee_do_call_with_arg()
393 void optee_enable_shm_cache(struct optee *optee) in optee_enable_shm_cache() argument
398 optee_cq_wait_init(&optee->call_queue, &w); in optee_enable_shm_cache()
402 optee->invoke_fn(OPTEE_SMC_ENABLE_SHM_CACHE, 0, 0, 0, 0, 0, 0, in optee_enable_shm_cache()
406 optee_cq_wait_for_completion(&optee->call_queue, &w); in optee_enable_shm_cache()
408 optee_cq_wait_final(&optee->call_queue, &w); in optee_enable_shm_cache()
416 void optee_disable_shm_cache(struct optee *optee) in optee_disable_shm_cache() argument
421 optee_cq_wait_init(&optee->call_queue, &w); in optee_disable_shm_cache()
428 optee->invoke_fn(OPTEE_SMC_DISABLE_SHM_CACHE, 0, 0, 0, 0, 0, 0, in optee_disable_shm_cache()
439 optee_cq_wait_for_completion(&optee->call_queue, &w); in optee_disable_shm_cache()
442 optee_cq_wait_final(&optee->call_queue, &w); in optee_disable_shm_cache()