• Home
  • Raw
  • Download

Lines Matching full:optee

128 	struct optee *optee = tee_get_drvdata(ctx->teedev);  in optee_do_call_with_arg()  local
137 optee_cq_wait_init(&optee->call_queue, &w); in optee_do_call_with_arg()
141 optee->invoke_fn(param.a0, param.a1, param.a2, param.a3, in optee_do_call_with_arg()
150 optee_cq_wait_for_completion(&optee->call_queue, &w); in optee_do_call_with_arg()
170 optee_cq_wait_final(&optee->call_queue, &w); in optee_do_call_with_arg()
395 * @optee: main service struct
397 void optee_enable_shm_cache(struct optee *optee) in optee_enable_shm_cache() argument
402 optee_cq_wait_init(&optee->call_queue, &w); in optee_enable_shm_cache()
406 optee->invoke_fn(OPTEE_SMC_ENABLE_SHM_CACHE, 0, 0, 0, 0, 0, 0, in optee_enable_shm_cache()
410 optee_cq_wait_for_completion(&optee->call_queue, &w); in optee_enable_shm_cache()
412 optee_cq_wait_final(&optee->call_queue, &w); in optee_enable_shm_cache()
418 * @optee: main service struct
422 static void __optee_disable_shm_cache(struct optee *optee, bool is_mapped) in __optee_disable_shm_cache() argument
427 optee_cq_wait_init(&optee->call_queue, &w); in __optee_disable_shm_cache()
434 optee->invoke_fn(OPTEE_SMC_DISABLE_SHM_CACHE, 0, 0, 0, 0, 0, 0, in __optee_disable_shm_cache()
452 optee_cq_wait_for_completion(&optee->call_queue, &w); in __optee_disable_shm_cache()
455 optee_cq_wait_final(&optee->call_queue, &w); in __optee_disable_shm_cache()
461 * @optee: main service struct
463 void optee_disable_shm_cache(struct optee *optee) in optee_disable_shm_cache() argument
465 return __optee_disable_shm_cache(optee, true); in optee_disable_shm_cache()
472 * @optee: main service struct
474 void optee_disable_unmapped_shm_cache(struct optee *optee) in optee_disable_unmapped_shm_cache() argument
476 return __optee_disable_shm_cache(optee, false); in optee_disable_unmapped_shm_cache()