Lines Matching refs:teedev
44 static void tstee_get_version(struct tee_device *teedev, in tstee_get_version() argument
47 struct tstee *tstee = tee_get_drvdata(teedev); in tstee_get_version()
97 struct tstee *tstee = tee_get_drvdata(ctx->teedev); in tstee_open_session()
163 struct tstee *tstee = tee_get_drvdata(ctx->teedev); in tstee_invoke_func()
246 struct tstee *tstee = tee_get_drvdata(ctx->teedev); in tstee_shm_register()
309 struct tstee *tstee = tee_get_drvdata(ctx->teedev); in tstee_shm_unregister()
430 tstee->teedev = tee_device_alloc(&tstee_desc, NULL, tstee->pool, tstee); in tstee_probe()
431 if (IS_ERR(tstee->teedev)) { in tstee_probe()
432 rc = PTR_ERR(tstee->teedev); in tstee_probe()
433 tstee->teedev = NULL; in tstee_probe()
437 rc = tee_device_register(tstee->teedev); in tstee_probe()
446 tee_device_unregister(tstee->teedev); in tstee_probe()
458 tee_device_unregister(tstee->teedev); in tstee_remove()