Lines Matching refs:client
33 nvif_client_ioctl(struct nvif_client *client, void *data, u32 size) in nvif_client_ioctl() argument
35 return client->driver->ioctl(client->object.priv, client->super, data, size, NULL); in nvif_client_ioctl()
39 nvif_client_suspend(struct nvif_client *client) in nvif_client_suspend() argument
41 return client->driver->suspend(client->object.priv); in nvif_client_suspend()
45 nvif_client_resume(struct nvif_client *client) in nvif_client_resume() argument
47 return client->driver->resume(client->object.priv); in nvif_client_resume()
51 nvif_client_fini(struct nvif_client *client) in nvif_client_fini() argument
53 nvif_object_fini(&client->object); in nvif_client_fini()
54 if (client->driver) { in nvif_client_fini()
55 if (client->driver->fini) in nvif_client_fini()
56 client->driver->fini(client->object.priv); in nvif_client_fini()
57 client->driver = NULL; in nvif_client_fini()
63 struct nvif_client *client) in nvif_client_init() argument
73 ret = nvif_object_init(parent != client ? &parent->object : NULL, in nvif_client_init()
75 &client->object); in nvif_client_init()
79 client->object.client = client; in nvif_client_init()
80 client->object.handle = ~0; in nvif_client_init()
81 client->route = NVIF_IOCTL_V0_ROUTE_NVIF; in nvif_client_init()
82 client->super = true; in nvif_client_init()
83 client->driver = parent->driver; in nvif_client_init()
86 ret = nvif_client_ioctl(client, &nop, sizeof(nop)); in nvif_client_init()
87 client->version = nop.nop.version; in nvif_client_init()
91 nvif_client_fini(client); in nvif_client_init()