Lines Matching refs:ffa

64 	mutex_lock(&optee->ffa.mutex);  in optee_shm_from_ffa_handle()
65 r = rhashtable_lookup_fast(&optee->ffa.global_ids, &global_id, in optee_shm_from_ffa_handle()
69 mutex_unlock(&optee->ffa.mutex); in optee_shm_from_ffa_handle()
86 mutex_lock(&optee->ffa.mutex); in optee_shm_add_ffa_handle()
87 rc = rhashtable_lookup_insert_fast(&optee->ffa.global_ids, &r->linkage, in optee_shm_add_ffa_handle()
89 mutex_unlock(&optee->ffa.mutex); in optee_shm_add_ffa_handle()
102 mutex_lock(&optee->ffa.mutex); in optee_shm_rem_ffa_handle()
103 r = rhashtable_lookup_fast(&optee->ffa.global_ids, &global_id, in optee_shm_rem_ffa_handle()
106 rc = rhashtable_remove_fast(&optee->ffa.global_ids, in optee_shm_rem_ffa_handle()
108 mutex_unlock(&optee->ffa.mutex); in optee_shm_rem_ffa_handle()
274 const struct ffa_dev_ops *ffa_ops = optee->ffa.ffa_ops; in optee_ffa_shm_register()
275 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_shm_register()
317 const struct ffa_dev_ops *ffa_ops = optee->ffa.ffa_ops; in optee_ffa_shm_unregister()
318 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_shm_unregister()
345 const struct ffa_dev_ops *ffa_ops = optee->ffa.ffa_ops; in optee_ffa_shm_unregister_supp()
534 const struct ffa_dev_ops *ffa_ops = optee->ffa.ffa_ops; in optee_ffa_yielding_call()
535 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_yielding_call()
786 mutex_destroy(&optee->ffa.mutex); in optee_ffa_remove()
787 rhashtable_free_and_destroy(&optee->ffa.global_ids, rh_free_fn, NULL); in optee_ffa_remove()
824 optee->ffa.ffa_dev = ffa_dev; in optee_ffa_probe()
825 optee->ffa.ffa_ops = ffa_ops; in optee_ffa_probe()
852 rc = rhashtable_init(&optee->ffa.global_ids, &shm_rhash_params); in optee_ffa_probe()
855 mutex_init(&optee->ffa.mutex); in optee_ffa_probe()