Lines Matching refs:cli
43 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16() local
44 if (!cli->abi16) { in nouveau_abi16()
46 cli->abi16 = abi16 = kzalloc(sizeof(*abi16), GFP_KERNEL); in nouveau_abi16()
47 if (cli->abi16) { in nouveau_abi16()
58 if (nvif_device_ctor(&cli->base.object, "abi16Device", in nouveau_abi16()
61 return cli->abi16; in nouveau_abi16()
63 kfree(cli->abi16); in nouveau_abi16()
64 cli->abi16 = NULL; in nouveau_abi16()
67 return cli->abi16; in nouveau_abi16()
73 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16_get() local
74 mutex_lock(&cli->mutex); in nouveau_abi16_get()
76 return cli->abi16; in nouveau_abi16_get()
77 mutex_unlock(&cli->mutex); in nouveau_abi16_get()
84 struct nouveau_cli *cli = (void *)abi16->device.object.client; in nouveau_abi16_put() local
85 mutex_unlock(&cli->mutex); in nouveau_abi16_put()
160 struct nouveau_cli *cli = (void *)abi16->device.object.client; in nouveau_abi16_fini() local
171 kfree(cli->abi16); in nouveau_abi16_fini()
172 cli->abi16 = NULL; in nouveau_abi16_fini()
178 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16_ioctl_getparam() local
240 NV_PRINTK(dbg, cli, "unknown parameter %lld\n", getparam->param); in nouveau_abi16_ioctl_getparam()
251 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16_ioctl_channel_alloc() local
353 ret = nouveau_gem_new(cli, PAGE_SIZE, 0, NOUVEAU_GEM_DOMAIN_GART, in nouveau_abi16_ioctl_channel_alloc()