Lines Matching full:rm
36 &vmm->rm.client, &vmm->rm.device); in r535_mmu_promote_vmm()
40 args = nvkm_gsp_rm_alloc_get(&vmm->rm.device.object, 0x90f10000, FERMI_VASPACE_A, in r535_mmu_promote_vmm()
41 sizeof(*args), &vmm->rm.object); in r535_mmu_promote_vmm()
47 ret = nvkm_gsp_rm_alloc_wr(&vmm->rm.object, args); in r535_mmu_promote_vmm()
56 &vmm->rm.rsvd); in r535_mmu_promote_vmm()
61 ctrl = nvkm_gsp_rm_ctrl_get(&vmm->rm.object, in r535_mmu_promote_vmm()
68 ctrl->virtAddrLo = vmm->rm.rsvd->addr; in r535_mmu_promote_vmm()
69 ctrl->virtAddrHi = vmm->rm.rsvd->addr + vmm->rm.rsvd->size - 1; in r535_mmu_promote_vmm()
86 ret = nvkm_gsp_rm_ctrl_wr(&vmm->rm.object, ctrl); in r535_mmu_promote_vmm()
103 struct nvkm_mmu_func *rm; in r535_mmu_new() local
106 if (!(rm = kzalloc(sizeof(*rm), GFP_KERNEL))) in r535_mmu_new()
109 rm->dtor = r535_mmu_dtor; in r535_mmu_new()
110 rm->dma_bits = hw->dma_bits; in r535_mmu_new()
111 rm->mmu = hw->mmu; in r535_mmu_new()
112 rm->mem = hw->mem; in r535_mmu_new()
113 rm->vmm = hw->vmm; in r535_mmu_new()
114 rm->kind = hw->kind; in r535_mmu_new()
115 rm->kind_sys = hw->kind_sys; in r535_mmu_new()
116 rm->promote_vmm = r535_mmu_promote_vmm; in r535_mmu_new()
118 ret = nvkm_mmu_new_(rm, device, type, inst, pmmu); in r535_mmu_new()
120 kfree(rm); in r535_mmu_new()