• Home
  • Raw
  • Download

Lines Matching refs:uvmm

46 nvkm_uvmm_mthd_pfnclr(struct nvkm_uvmm *uvmm, void *argv, u32 argc)  in nvkm_uvmm_mthd_pfnclr()  argument
51 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_pfnclr()
71 nvkm_uvmm_mthd_pfnmap(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_pfnmap() argument
76 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_pfnmap()
101 nvkm_uvmm_mthd_unmap(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_unmap() argument
106 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_unmap()
142 nvkm_uvmm_mthd_map(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_map() argument
144 struct nvkm_client *client = uvmm->object.client; in nvkm_uvmm_mthd_map()
149 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_map()
220 nvkm_uvmm_mthd_put(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_put() argument
225 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_put()
256 nvkm_uvmm_mthd_get(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_get() argument
261 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_get()
290 nvkm_uvmm_mthd_page(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_page() argument
299 page = uvmm->vmm->func->page; in nvkm_uvmm_mthd_page()
320 struct nvkm_uvmm *uvmm = nvkm_uvmm(object); in nvkm_uvmm_mthd() local
322 case NVIF_VMM_V0_PAGE : return nvkm_uvmm_mthd_page (uvmm, argv, argc); in nvkm_uvmm_mthd()
323 case NVIF_VMM_V0_GET : return nvkm_uvmm_mthd_get (uvmm, argv, argc); in nvkm_uvmm_mthd()
324 case NVIF_VMM_V0_PUT : return nvkm_uvmm_mthd_put (uvmm, argv, argc); in nvkm_uvmm_mthd()
325 case NVIF_VMM_V0_MAP : return nvkm_uvmm_mthd_map (uvmm, argv, argc); in nvkm_uvmm_mthd()
326 case NVIF_VMM_V0_UNMAP : return nvkm_uvmm_mthd_unmap (uvmm, argv, argc); in nvkm_uvmm_mthd()
327 case NVIF_VMM_V0_PFNMAP: return nvkm_uvmm_mthd_pfnmap(uvmm, argv, argc); in nvkm_uvmm_mthd()
328 case NVIF_VMM_V0_PFNCLR: return nvkm_uvmm_mthd_pfnclr(uvmm, argv, argc); in nvkm_uvmm_mthd()
330 if (uvmm->vmm->func->mthd) { in nvkm_uvmm_mthd()
331 return uvmm->vmm->func->mthd(uvmm->vmm, in nvkm_uvmm_mthd()
332 uvmm->object.client, in nvkm_uvmm_mthd()
345 struct nvkm_uvmm *uvmm = nvkm_uvmm(object); in nvkm_uvmm_dtor() local
346 nvkm_vmm_unref(&uvmm->vmm); in nvkm_uvmm_dtor()
347 return uvmm; in nvkm_uvmm_dtor()
366 struct nvkm_uvmm *uvmm; in nvkm_uvmm_new() local
378 if (!(uvmm = kzalloc(sizeof(*uvmm), GFP_KERNEL))) in nvkm_uvmm_new()
380 nvkm_object_ctor(&nvkm_uvmm, oclass, &uvmm->object); in nvkm_uvmm_new()
381 *pobject = &uvmm->object; in nvkm_uvmm_new()
385 NULL, "user", &uvmm->vmm); in nvkm_uvmm_new()
389 uvmm->vmm->debug = max(uvmm->vmm->debug, oclass->client->debug); in nvkm_uvmm_new()
394 uvmm->vmm = nvkm_vmm_ref(mmu->vmm); in nvkm_uvmm_new()
397 page = uvmm->vmm->func->page; in nvkm_uvmm_new()
401 args->v0.addr = uvmm->vmm->start; in nvkm_uvmm_new()
402 args->v0.size = uvmm->vmm->limit; in nvkm_uvmm_new()