Lines Matching refs:cli

55 	struct nouveau_cli *cli = chan->cli;  in nouveau_channel_killed()  local
57 NV_PRINTK(warn, cli, "channel %d killed!\n", chan->chid); in nouveau_channel_killed()
69 struct nouveau_cli *cli = chan->cli; in nouveau_channel_idle() local
80 NV_PRINTK(err, cli, "failed to idle channel %d [%s]\n", in nouveau_channel_idle()
81 chan->chid, nvxx_client(&cli->base)->name); in nouveau_channel_idle()
93 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_channel_del() local
98 if (cli) in nouveau_channel_del()
145 nouveau_channel_prep(struct nouveau_cli *cli, in nouveau_channel_prep() argument
148 struct nouveau_drm *drm = cli->drm; in nouveau_channel_prep()
149 struct nvif_device *device = &cli->device; in nouveau_channel_prep()
159 chan->cli = cli; in nouveau_channel_prep()
162 chan->vmm = nouveau_cli_vmm(cli); in nouveau_channel_prep()
170 ret = nouveau_bo_new(cli, size, 0, target, 0, 0, NULL, NULL, in nouveau_channel_prep()
183 chan->chan._push.mem.object.parent = cli->base.object.parent; in nouveau_channel_prep()
184 chan->chan._push.mem.object.client = &cli->base; in nouveau_channel_prep()
259 nouveau_channel_ctor(struct nouveau_cli *cli, bool priv, u64 runm, in nouveau_channel_ctor() argument
284 struct nvif_device *device = &cli->device; in nouveau_channel_ctor()
303 ret = nouveau_channel_prep(cli, size, &chan); in nouveau_channel_ctor()
334 ret = nvif_mem_ctor(&cli->mmu, "abi16ChanUSERD", NVIF_CLASS_MEM_GF100, in nouveau_channel_ctor()
498 nouveau_channel_new(struct nouveau_cli *cli, in nouveau_channel_new() argument
503 ret = nouveau_channel_ctor(cli, priv, runm, pchan); in nouveau_channel_new()
505 NV_PRINTK(dbg, cli, "channel create, %d\n", ret); in nouveau_channel_new()
511 NV_PRINTK(err, cli, "channel failed to initialise, %d\n", ret); in nouveau_channel_new()