Lines Matching refs:vmm
120 nv50_instobj_kmap(struct nv50_instobj *iobj, struct nvkm_vmm *vmm) in nv50_instobj_kmap() argument
137 while ((ret = nvkm_vmm_get(vmm, 12, size, &bar))) { in nv50_instobj_kmap()
158 nvkm_vmm_put(vmm, &ebar); in nv50_instobj_kmap()
162 ret = nvkm_memory_map(memory, 0, vmm, bar, NULL, 0); in nv50_instobj_kmap()
167 nvkm_vmm_put(vmm, &bar); in nv50_instobj_kmap()
178 nvkm_vmm_put(vmm, &iobj->bar); in nv50_instobj_kmap()
183 nv50_instobj_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm, in nv50_instobj_map() argument
187 return nvkm_memory_map(memory, offset, vmm, vma, argv, argc); in nv50_instobj_map()
220 struct nvkm_vmm *vmm; in nv50_instobj_acquire() local
237 if ((vmm = nvkm_bar_bar2_vmm(imem->subdev.device))) { in nv50_instobj_acquire()
239 nv50_instobj_kmap(iobj, vmm); in nv50_instobj_acquire()
260 nv50_instobj_boot(struct nvkm_memory *memory, struct nvkm_vmm *vmm) in nv50_instobj_boot() argument
274 nv50_instobj_kmap(iobj, vmm); in nv50_instobj_boot()
326 struct nvkm_vmm *vmm = nvkm_bar_bar2_vmm(imem->subdev.device); in nv50_instobj_dtor() local
328 if (likely(vmm)) /* Can be NULL during BAR destructor. */ in nv50_instobj_dtor()
329 nvkm_vmm_put(vmm, &bar); in nv50_instobj_dtor()