Lines Matching defs:teedev
456 struct optee *optee = tee_get_drvdata(ctx->teedev);
522 struct optee *optee = tee_get_drvdata(ctx->teedev);
816 struct tee_device *teedev = ctx->teedev;
817 struct optee *optee = tee_get_drvdata(teedev);
889 struct optee *optee = tee_get_drvdata(ctx->teedev);
1153 static void optee_get_version(struct tee_device *teedev,
1161 struct optee *optee = tee_get_drvdata(teedev);
1172 struct optee *optee = tee_get_drvdata(ctx->teedev);
1593 struct tee_device *teedev;
1688 teedev = tee_device_alloc(&optee_clnt_desc, NULL, pool, optee);
1689 if (IS_ERR(teedev)) {
1690 rc = PTR_ERR(teedev);
1693 optee->teedev = teedev;
1695 teedev = tee_device_alloc(&optee_supp_desc, NULL, pool, optee);
1696 if (IS_ERR(teedev)) {
1697 rc = PTR_ERR(teedev);
1700 optee->supp_teedev = teedev;
1702 rc = tee_device_register(optee->teedev);
1717 ctx = teedev_open(optee->teedev);
1788 tee_device_unregister(optee->teedev);