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