Lines Matching refs:teedev
273 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_shm_register()
316 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_shm_unregister()
345 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_shm_unregister_supp()
533 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_yielding_call()
716 static void optee_ffa_get_version(struct tee_device *teedev, in optee_ffa_get_version() argument
792 struct tee_device *teedev; in optee_ffa_probe() local
825 teedev = tee_device_alloc(&optee_ffa_clnt_desc, NULL, optee->pool, in optee_ffa_probe()
827 if (IS_ERR(teedev)) { in optee_ffa_probe()
828 rc = PTR_ERR(teedev); in optee_ffa_probe()
831 optee->teedev = teedev; in optee_ffa_probe()
833 teedev = tee_device_alloc(&optee_ffa_supp_desc, NULL, optee->pool, in optee_ffa_probe()
835 if (IS_ERR(teedev)) { in optee_ffa_probe()
836 rc = PTR_ERR(teedev); in optee_ffa_probe()
839 optee->supp_teedev = teedev; in optee_ffa_probe()
841 rc = tee_device_register(optee->teedev); in optee_ffa_probe()
858 ctx = teedev_open(optee->teedev); in optee_ffa_probe()
888 tee_device_unregister(optee->teedev); in optee_ffa_probe()