Lines Matching refs:teedev
274 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_shm_register()
317 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_shm_unregister()
346 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_shm_unregister_supp()
535 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_yielding_call()
765 static void optee_ffa_get_version(struct tee_device *teedev, in optee_ffa_get_version() argument
901 struct tee_device *teedev; in optee_ffa_probe() local
940 teedev = tee_device_alloc(&optee_ffa_clnt_desc, NULL, optee->pool, in optee_ffa_probe()
942 if (IS_ERR(teedev)) { in optee_ffa_probe()
943 rc = PTR_ERR(teedev); in optee_ffa_probe()
946 optee->teedev = teedev; in optee_ffa_probe()
948 teedev = tee_device_alloc(&optee_ffa_supp_desc, NULL, optee->pool, in optee_ffa_probe()
950 if (IS_ERR(teedev)) { in optee_ffa_probe()
951 rc = PTR_ERR(teedev); in optee_ffa_probe()
954 optee->supp_teedev = teedev; in optee_ffa_probe()
958 rc = tee_device_register(optee->teedev); in optee_ffa_probe()
975 ctx = teedev_open(optee->teedev); in optee_ffa_probe()
1020 tee_device_unregister(optee->teedev); in optee_ffa_probe()