Lines Matching refs:device
117 struct nvkm_device *device = subdev->device; in g84_gr_tlb_flush() local
118 struct nvkm_timer *tmr = device->timer; in g84_gr_tlb_flush()
126 nvkm_mask(device, 0x400500, 0x00000001, 0x00000000); in g84_gr_tlb_flush()
132 for (tmp = nvkm_rd32(device, 0x400380); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
137 for (tmp = nvkm_rd32(device, 0x400384); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
142 for (tmp = nvkm_rd32(device, 0x400388); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
152 tmp = nvkm_rd32(device, 0x400700); in g84_gr_tlb_flush()
157 nvkm_rd32(device, 0x400380)); in g84_gr_tlb_flush()
159 nvkm_rd32(device, 0x400384)); in g84_gr_tlb_flush()
161 nvkm_rd32(device, 0x400388)); in g84_gr_tlb_flush()
165 nvkm_wr32(device, 0x100c80, 0x00000001); in g84_gr_tlb_flush()
166 nvkm_msec(device, 2000, in g84_gr_tlb_flush()
167 if (!(nvkm_rd32(device, 0x100c80) & 0x00000001)) in g84_gr_tlb_flush()
170 nvkm_mask(device, 0x400500, 0x00000001, 0x00000001); in g84_gr_tlb_flush()
193 g84_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) in g84_gr_new() argument
195 return nv50_gr_new_(&g84_gr, device, index, pgr); in g84_gr_new()