Searched refs:vctx (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | cgrp.c | 95 struct nvkm_vctx *vctx = *pvctx; in nvkm_cgrp_vctx_put() local 97 if (vctx) { in nvkm_cgrp_vctx_put() 98 struct nvkm_engn *engn = vctx->ectx->engn; in nvkm_cgrp_vctx_put() 100 if (refcount_dec_and_test(&vctx->refs)) { in nvkm_cgrp_vctx_put() 102 nvkm_vmm_put(vctx->vmm, &vctx->vma); in nvkm_cgrp_vctx_put() 103 nvkm_gpuobj_del(&vctx->inst); in nvkm_cgrp_vctx_put() 105 nvkm_cgrp_ectx_put(cgrp, &vctx->ectx); in nvkm_cgrp_vctx_put() 106 if (vctx->vmm) { in nvkm_cgrp_vctx_put() 107 atomic_dec(&vctx->vmm->engref[engn->engine->subdev.type]); in nvkm_cgrp_vctx_put() 108 nvkm_vmm_unref(&vctx->vmm); in nvkm_cgrp_vctx_put() [all …]
|
D | chan.c | 78 struct nvkm_engn *engn = cctx->vctx->ectx->engn; in nvkm_chan_cctx_put() 82 nvkm_cgrp_vctx_put(chan->cgrp, &cctx->vctx); in nvkm_chan_cctx_put() 97 struct nvkm_vctx *vctx; in nvkm_chan_cctx_get() local 104 cctx->vctx->ectx->engn == engn && cctx->vctx->vmm == chan->vmm); in nvkm_chan_cctx_get() 113 ret = nvkm_cgrp_vctx_get(cgrp, engn, chan, &vctx, client); in nvkm_chan_cctx_get() 122 nvkm_cgrp_vctx_put(cgrp, &vctx); in nvkm_chan_cctx_get() 127 cctx->vctx = vctx; in nvkm_chan_cctx_get()
|
D | gv100.c | 97 addr = cctx->vctx->vma->addr; in gv100_ectx_bind() 119 const u64 bar2 = cctx ? nvkm_memory_bar2(cctx->vctx->inst->memory) : 0ULL; in gv100_ectx_ce_bind() 129 gv100_ectx_ce_ctor(struct nvkm_engn *engn, struct nvkm_vctx *vctx) in gv100_ectx_ce_ctor() argument 131 if (nvkm_memory_bar2(vctx->inst->memory) == ~0ULL) in gv100_ectx_ce_ctor()
|
D | gk104.c | 163 addr = cctx->vctx->vma->addr; in gk104_ectx_bind() 178 gk104_ectx_ctor(struct nvkm_engn *engn, struct nvkm_vctx *vctx) in gk104_ectx_ctor() argument 183 ret = nvkm_vmm_get(vctx->vmm, 12, vctx->inst->size, &vctx->vma); in gk104_ectx_ctor() 187 return nvkm_memory_map(vctx->inst, 0, vctx->vmm, vctx->vma, &args, sizeof(args)); in gk104_ectx_ctor()
|
D | uchan.c | 80 struct nvkm_ectx *ectx = cctx->vctx->ectx; in nvkm_uchan_object_fini_1() 103 struct nvkm_ectx *ectx = cctx->vctx->ectx; in nvkm_uchan_object_init_0() 139 engn = uobj->cctx->vctx->ectx->engn; in nvkm_uchan_object_dtor() 188 .parent = uobj->cctx->vctx->ectx->object ?: oclass->parent, in nvkm_uchan_object_new()
|
D | gf100.c | 179 addr = cctx->vctx->vma->addr; in gf100_ectx_bind() 190 gf100_ectx_ctor(struct nvkm_engn *engn, struct nvkm_vctx *vctx) in gf100_ectx_ctor() argument 194 ret = nvkm_vmm_get(vctx->vmm, 12, vctx->inst->size, &vctx->vma); in gf100_ectx_ctor() 198 return nvkm_memory_map(vctx->inst, 0, vctx->vmm, vctx->vma, NULL, 0); in gf100_ectx_ctor()
|
D | g84.c | 139 start = cctx->vctx->inst->addr; in g84_ectx_bind() 140 limit = start + cctx->vctx->inst->size - 1; in g84_ectx_bind()
|
D | chan.h | 12 struct nvkm_vctx *vctx; member
|
D | nv50.c | 189 start = cctx->vctx->inst->addr; in nv50_ectx_bind() 190 limit = start + cctx->vctx->inst->size - 1; in nv50_ectx_bind()
|
D | nv40.c | 150 inst = cctx->vctx->inst->addr >> 4; in nv40_ectx_bind()
|
/linux-6.6.21/fs/btrfs/ |
D | send.c | 4998 int name_len, const char *data, int data_len, void *vctx) in __find_xattr() argument 5000 struct find_xattr_ctx *ctx = vctx; in __find_xattr()
|