Lines Matching refs:device
72 struct nvkm_device *device = mmu->base.subdev.device; in nv41_vm_flush() local
75 nvkm_wr32(device, 0x100810, 0x00000022); in nv41_vm_flush()
76 nvkm_msec(device, 2000, in nv41_vm_flush()
77 if (nvkm_rd32(device, 0x100810) & 0x00000020) in nv41_vm_flush()
80 nvkm_wr32(device, 0x100810, 0x00000000); in nv41_vm_flush()
92 struct nvkm_device *device = mmu->base.subdev.device; in nv41_mmu_oneinit() local
100 ret = nvkm_memory_new(device, NVKM_MEM_TARGET_INST, in nv41_mmu_oneinit()
111 struct nvkm_device *device = mmu->base.subdev.device; in nv41_mmu_init() local
113 nvkm_wr32(device, 0x100800, 0x00000002 | nvkm_memory_addr(dma)); in nv41_mmu_init()
114 nvkm_mask(device, 0x10008c, 0x00000100, 0x00000100); in nv41_mmu_init()
115 nvkm_wr32(device, 0x100820, 0x00000000); in nv41_mmu_init()
134 nv41_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in nv41_mmu_new() argument
136 if (device->type == NVKM_DEVICE_AGP || in nv41_mmu_new()
137 !nvkm_boolopt(device->cfgopt, "NvPCIE", true)) in nv41_mmu_new()
138 return nv04_mmu_new(device, index, pmmu); in nv41_mmu_new()
140 return nv04_mmu_new_(&nv41_mmu, device, index, pmmu); in nv41_mmu_new()