Lines Matching refs:cli
44 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16() local
45 if (!cli->abi16) { in nouveau_abi16()
47 cli->abi16 = abi16 = kzalloc(sizeof(*abi16), GFP_KERNEL); in nouveau_abi16()
48 if (cli->abi16) { in nouveau_abi16()
59 if (nvif_device_ctor(&cli->base.object, "abi16Device", in nouveau_abi16()
62 return cli->abi16; in nouveau_abi16()
64 kfree(cli->abi16); in nouveau_abi16()
65 cli->abi16 = NULL; in nouveau_abi16()
68 return cli->abi16; in nouveau_abi16()
74 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16_get() local
75 mutex_lock(&cli->mutex); in nouveau_abi16_get()
77 return cli->abi16; in nouveau_abi16_get()
78 mutex_unlock(&cli->mutex); in nouveau_abi16_get()
85 struct nouveau_cli *cli = (void *)abi16->device.object.client; in nouveau_abi16_put() local
86 mutex_unlock(&cli->mutex); in nouveau_abi16_put()
172 struct nouveau_cli *cli = (void *)abi16->device.object.client; in nouveau_abi16_fini() local
183 kfree(cli->abi16); in nouveau_abi16_fini()
184 cli->abi16 = NULL; in nouveau_abi16_fini()
204 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16_ioctl_getparam() local
284 NV_PRINTK(dbg, cli, "unknown parameter %lld\n", getparam->param); in nouveau_abi16_ioctl_getparam()
295 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16_ioctl_channel_alloc() local
314 __nouveau_cli_disable_uvmm_noinit(cli); in nouveau_abi16_ioctl_channel_alloc()
354 ret = nouveau_channel_new(cli, false, runm, init->fb_ctxdma_handle, in nouveau_abi16_ioctl_channel_alloc()
409 ret = nouveau_gem_new(cli, PAGE_SIZE, 0, NOUVEAU_GEM_DOMAIN_GART, in nouveau_abi16_ioctl_channel_alloc()