Lines Matching defs:teedev
456 struct optee *optee = tee_get_drvdata(ctx->teedev);
522 struct optee *optee = tee_get_drvdata(ctx->teedev);
819 struct tee_device *teedev = ctx->teedev;
820 struct optee *optee = tee_get_drvdata(teedev);
890 struct optee *optee = tee_get_drvdata(ctx->teedev);
1182 static void optee_get_version(struct tee_device *teedev,
1190 struct optee *optee = tee_get_drvdata(teedev);
1201 struct optee *optee = tee_get_drvdata(ctx->teedev);
1612 struct tee_device *teedev;
1706 teedev = tee_device_alloc(&optee_clnt_desc, NULL, pool, optee);
1707 if (IS_ERR(teedev)) {
1708 rc = PTR_ERR(teedev);
1711 optee->teedev = teedev;
1713 teedev = tee_device_alloc(&optee_supp_desc, NULL, pool, optee);
1714 if (IS_ERR(teedev)) {
1715 rc = PTR_ERR(teedev);
1718 optee->supp_teedev = teedev;
1720 rc = tee_device_register(optee->teedev);
1736 ctx = teedev_open(optee->teedev);
1807 tee_device_unregister(optee->teedev);