Lines Matching +full:1 +full:v0
50 if (argc != sizeof(args->v0) || args->v0.version != 0) in nvkm_uchan_uevent()
53 switch (args->v0.type) { in nvkm_uchan_uevent()
116 refcount_set(&ectx->uses, 1); in nvkm_uchan_object_init_0()
121 refcount_set(&cctx->uses, 1); in nvkm_uchan_object_init_0()
148 .dtor[1] = nvkm_uchan_object_dtor,
150 .fini[1] = nvkm_uchan_object_fini_1,
342 if (argc < sizeof(args->v0) || args->v0.version != 0) in nvkm_uchan_new()
344 argc -= sizeof(args->v0); in nvkm_uchan_new()
346 if (args->v0.namelen != argc) in nvkm_uchan_new()
350 runl = nvkm_runl_get(fifo, args->v0.runlist, 0); in nvkm_uchan_new()
354 if (args->v0.vmm) { in nvkm_uchan_new()
355 vmm = nvkm_uvmm_search(oclass->client, args->v0.vmm); in nvkm_uchan_new()
360 if (args->v0.ctxdma) { in nvkm_uchan_new()
361 ctxdma = nvkm_dmaobj_search(oclass->client, args->v0.ctxdma); in nvkm_uchan_new()
368 if (args->v0.huserd) { in nvkm_uchan_new()
369 userd = nvkm_umem_search(oclass->client, args->v0.huserd); in nvkm_uchan_new()
386 ret = nvkm_chan_new_(fifo->func->chan.func, runl, args->v0.runq, cgrp, args->v0.name, in nvkm_uchan_new()
387 args->v0.priv != 0, args->v0.devm, vmm, ctxdma, args->v0.offset, in nvkm_uchan_new()
388 args->v0.length, userd, args->v0.ouserd, &uchan->chan); in nvkm_uchan_new()
396 args->v0.token = chan->func->doorbell_handle(chan); in nvkm_uchan_new()
398 args->v0.token = ~0; in nvkm_uchan_new()
400 args->v0.chid = chan->id; in nvkm_uchan_new()
403 case NVKM_MEM_TARGET_INST: args->v0.aper = NVIF_CHAN_V0_INST_APER_INST; break; in nvkm_uchan_new()
404 case NVKM_MEM_TARGET_VRAM: args->v0.aper = NVIF_CHAN_V0_INST_APER_VRAM; break; in nvkm_uchan_new()
405 case NVKM_MEM_TARGET_HOST: args->v0.aper = NVIF_CHAN_V0_INST_APER_HOST; break; in nvkm_uchan_new()
406 case NVKM_MEM_TARGET_NCOH: args->v0.aper = NVIF_CHAN_V0_INST_APER_NCOH; break; in nvkm_uchan_new()
408 WARN_ON(1); in nvkm_uchan_new()
413 args->v0.inst = nvkm_memory_addr(chan->inst->memory); in nvkm_uchan_new()