Lines Matching refs:device

183 	struct nvkm_device *device = gr->base.engine.subdev.device;  in gk104_gr_init()  local
190 nvkm_wr32(device, GPC_BCAST(0x0880), 0x00000000); in gk104_gr_init()
191 nvkm_wr32(device, GPC_BCAST(0x08a4), 0x00000000); in gk104_gr_init()
192 nvkm_wr32(device, GPC_BCAST(0x0888), 0x00000000); in gk104_gr_init()
193 nvkm_wr32(device, GPC_BCAST(0x088c), 0x00000000); in gk104_gr_init()
194 nvkm_wr32(device, GPC_BCAST(0x0890), 0x00000000); in gk104_gr_init()
195 nvkm_wr32(device, GPC_BCAST(0x0894), 0x00000000); in gk104_gr_init()
196 nvkm_wr32(device, GPC_BCAST(0x08b4), nvkm_memory_addr(gr->unk4188b4) >> 8); in gk104_gr_init()
197 nvkm_wr32(device, GPC_BCAST(0x08b8), nvkm_memory_addr(gr->unk4188b8) >> 8); in gk104_gr_init()
201 nvkm_wr32(device, GPC_UNIT(0, 0x3018), 0x00000001); in gk104_gr_init()
214 nvkm_wr32(device, GPC_BCAST(0x0980), data[0]); in gk104_gr_init()
215 nvkm_wr32(device, GPC_BCAST(0x0984), data[1]); in gk104_gr_init()
216 nvkm_wr32(device, GPC_BCAST(0x0988), data[2]); in gk104_gr_init()
217 nvkm_wr32(device, GPC_BCAST(0x098c), data[3]); in gk104_gr_init()
220 nvkm_wr32(device, GPC_UNIT(gpc, 0x0914), in gk104_gr_init()
222 nvkm_wr32(device, GPC_UNIT(gpc, 0x0910), 0x00040000 | in gk104_gr_init()
224 nvkm_wr32(device, GPC_UNIT(gpc, 0x0918), magicgpc918); in gk104_gr_init()
227 nvkm_wr32(device, GPC_BCAST(0x3fd4), magicgpc918); in gk104_gr_init()
228 nvkm_wr32(device, GPC_BCAST(0x08ac), nvkm_rd32(device, 0x100800)); in gk104_gr_init()
230 nvkm_wr32(device, 0x400500, 0x00010001); in gk104_gr_init()
232 nvkm_wr32(device, 0x400100, 0xffffffff); in gk104_gr_init()
233 nvkm_wr32(device, 0x40013c, 0xffffffff); in gk104_gr_init()
235 nvkm_wr32(device, 0x409ffc, 0x00000000); in gk104_gr_init()
236 nvkm_wr32(device, 0x409c14, 0x00003e3e); in gk104_gr_init()
237 nvkm_wr32(device, 0x409c24, 0x000f0001); in gk104_gr_init()
238 nvkm_wr32(device, 0x404000, 0xc0000000); in gk104_gr_init()
239 nvkm_wr32(device, 0x404600, 0xc0000000); in gk104_gr_init()
240 nvkm_wr32(device, 0x408030, 0xc0000000); in gk104_gr_init()
241 nvkm_wr32(device, 0x404490, 0xc0000000); in gk104_gr_init()
242 nvkm_wr32(device, 0x406018, 0xc0000000); in gk104_gr_init()
243 nvkm_wr32(device, 0x407020, 0x40000000); in gk104_gr_init()
244 nvkm_wr32(device, 0x405840, 0xc0000000); in gk104_gr_init()
245 nvkm_wr32(device, 0x405844, 0x00ffffff); in gk104_gr_init()
246 nvkm_mask(device, 0x419cc0, 0x00000008, 0x00000008); in gk104_gr_init()
247 nvkm_mask(device, 0x419eb4, 0x00001000, 0x00001000); in gk104_gr_init()
250 nvkm_wr32(device, GPC_UNIT(gpc, 0x3038), 0xc0000000); in gk104_gr_init()
251 nvkm_wr32(device, GPC_UNIT(gpc, 0x0420), 0xc0000000); in gk104_gr_init()
252 nvkm_wr32(device, GPC_UNIT(gpc, 0x0900), 0xc0000000); in gk104_gr_init()
253 nvkm_wr32(device, GPC_UNIT(gpc, 0x1028), 0xc0000000); in gk104_gr_init()
254 nvkm_wr32(device, GPC_UNIT(gpc, 0x0824), 0xc0000000); in gk104_gr_init()
256 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x508), 0xffffffff); in gk104_gr_init()
257 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x50c), 0xffffffff); in gk104_gr_init()
258 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x224), 0xc0000000); in gk104_gr_init()
259 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x48c), 0xc0000000); in gk104_gr_init()
260 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x084), 0xc0000000); in gk104_gr_init()
261 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x644), 0x001ffffe); in gk104_gr_init()
262 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x64c), 0x0000000f); in gk104_gr_init()
264 nvkm_wr32(device, GPC_UNIT(gpc, 0x2c90), 0xffffffff); in gk104_gr_init()
265 nvkm_wr32(device, GPC_UNIT(gpc, 0x2c94), 0xffffffff); in gk104_gr_init()
269 nvkm_wr32(device, ROP_UNIT(rop, 0x144), 0xc0000000); in gk104_gr_init()
270 nvkm_wr32(device, ROP_UNIT(rop, 0x070), 0xc0000000); in gk104_gr_init()
271 nvkm_wr32(device, ROP_UNIT(rop, 0x204), 0xffffffff); in gk104_gr_init()
272 nvkm_wr32(device, ROP_UNIT(rop, 0x208), 0xffffffff); in gk104_gr_init()
275 nvkm_wr32(device, 0x400108, 0xffffffff); in gk104_gr_init()
276 nvkm_wr32(device, 0x400138, 0xffffffff); in gk104_gr_init()
277 nvkm_wr32(device, 0x400118, 0xffffffff); in gk104_gr_init()
278 nvkm_wr32(device, 0x400130, 0xffffffff); in gk104_gr_init()
279 nvkm_wr32(device, 0x40011c, 0xffffffff); in gk104_gr_init()
280 nvkm_wr32(device, 0x400134, 0xffffffff); in gk104_gr_init()
282 nvkm_wr32(device, 0x400054, 0x34ce3464); in gk104_gr_init()
327 gk104_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) in gk104_gr_new() argument
329 return gf100_gr_new_(&gk104_gr, device, index, pgr); in gk104_gr_new()