Lines Matching refs:device

36 	struct nvkm_device *device = disp->base.engine.subdev.device;  in gf119_disp_vblank_init()  local
37 nvkm_mask(device, 0x6100c0 + (head * 0x800), 0x00000001, 0x00000001); in gf119_disp_vblank_init()
43 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_vblank_fini() local
44 nvkm_mask(device, 0x6100c0 + (head * 0x800), 0x00000001, 0x00000000); in gf119_disp_vblank_fini()
53 struct nvkm_bios *bios = subdev->device->bios; in exec_lookup()
98 struct nvkm_device *device = subdev->device; in exec_script() local
99 struct nvkm_bios *bios = device->bios; in exec_script()
107 ctrl = nvkm_rd32(device, 0x640180 + (or * 0x20)); in exec_script()
136 struct nvkm_device *device = subdev->device; in exec_clkcmp() local
137 struct nvkm_bios *bios = device->bios; in exec_clkcmp()
146 ctrl = nvkm_rd32(device, 0x660180 + (or * 0x20)); in exec_clkcmp()
213 .bios = subdev->device->bios, in gf119_disp_intr_unk2_0()
228 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_intr_unk2_1() local
229 struct nvkm_devinit *devinit = device->devinit; in gf119_disp_intr_unk2_1()
230 u32 pclk = nvkm_rd32(device, 0x660450 + (head * 0x300)) / 1000; in gf119_disp_intr_unk2_1()
233 nvkm_wr32(device, 0x612200 + (head * 0x800), 0x00000000); in gf119_disp_intr_unk2_1()
240 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_intr_unk2_2_tu() local
242 const u32 ctrl = nvkm_rd32(device, 0x660200 + (or * 0x020)); in gf119_disp_intr_unk2_2_tu()
243 const u32 conf = nvkm_rd32(device, 0x660404 + (head * 0x300)); in gf119_disp_intr_unk2_2_tu()
244 const s32 vactive = nvkm_rd32(device, 0x660414 + (head * 0x300)) & 0xffff; in gf119_disp_intr_unk2_2_tu()
245 const s32 vblanke = nvkm_rd32(device, 0x66041c + (head * 0x300)) & 0xffff; in gf119_disp_intr_unk2_2_tu()
246 const s32 vblanks = nvkm_rd32(device, 0x660420 + (head * 0x300)) & 0xffff; in gf119_disp_intr_unk2_2_tu()
247 const u32 pclk = nvkm_rd32(device, 0x660450 + (head * 0x300)) / 1000; in gf119_disp_intr_unk2_2_tu()
254 u32 dpctrl = nvkm_rd32(device, 0x61c10c + loff); in gf119_disp_intr_unk2_2_tu()
255 u32 clksor = nvkm_rd32(device, 0x612300 + soff); in gf119_disp_intr_unk2_2_tu()
268 nvkm_mask(device, 0x616620 + hoff, 0x0000ffff, value); in gf119_disp_intr_unk2_2_tu()
275 nvkm_mask(device, 0x616624 + hoff, 0x00ffffff, value); in gf119_disp_intr_unk2_2_tu()
295 nvkm_wr32(device, 0x616610 + hoff, value); in gf119_disp_intr_unk2_2_tu()
301 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_intr_unk2_2() local
303 u32 pclk = nvkm_rd32(device, 0x660450 + (head * 0x300)) / 1000; in gf119_disp_intr_unk2_2()
312 u32 sync = nvkm_rd32(device, 0x660404 + (head * 0x300)); in gf119_disp_intr_unk2_2()
339 nvkm_mask(device, addr, 0x007c0000, 0x00280000); in gf119_disp_intr_unk2_2()
349 nvkm_mask(device, addr, 0x00000707, data); in gf119_disp_intr_unk2_2()
355 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_intr_unk4_0() local
356 u32 pclk = nvkm_rd32(device, 0x660450 + (head * 0x300)) / 1000; in gf119_disp_intr_unk4_0()
368 struct nvkm_device *device = subdev->device; in gf119_disp_intr_supervisor() local
374 mask[head] = nvkm_rd32(device, 0x6101d4 + (head * 0x800)); in gf119_disp_intr_supervisor()
417 nvkm_wr32(device, 0x6101d4 + (head * 0x800), 0x00000000); in gf119_disp_intr_supervisor()
418 nvkm_wr32(device, 0x6101d0, 0x80000000); in gf119_disp_intr_supervisor()
425 struct nvkm_device *device = subdev->device; in gf119_disp_intr_error() local
426 u32 mthd = nvkm_rd32(device, 0x6101f0 + (chid * 12)); in gf119_disp_intr_error()
427 u32 data = nvkm_rd32(device, 0x6101f4 + (chid * 12)); in gf119_disp_intr_error()
428 u32 unkn = nvkm_rd32(device, 0x6101f8 + (chid * 12)); in gf119_disp_intr_error()
443 nvkm_wr32(device, 0x61009c, (1 << chid)); in gf119_disp_intr_error()
444 nvkm_wr32(device, 0x6101f0 + (chid * 12), 0x90000000); in gf119_disp_intr_error()
451 struct nvkm_device *device = subdev->device; in gf119_disp_intr() local
452 u32 intr = nvkm_rd32(device, 0x610088); in gf119_disp_intr()
456 u32 stat = nvkm_rd32(device, 0x61008c); in gf119_disp_intr()
460 nvkm_wr32(device, 0x61008c, 1 << chid); in gf119_disp_intr()
466 u32 stat = nvkm_rd32(device, 0x61009c); in gf119_disp_intr()
474 u32 stat = nvkm_rd32(device, 0x6100ac); in gf119_disp_intr()
478 nvkm_wr32(device, 0x6100ac, disp->super); in gf119_disp_intr()
484 nvkm_wr32(device, 0x6100ac, stat); in gf119_disp_intr()
493 u32 stat = nvkm_rd32(device, 0x6100bc + (i * 0x800)); in gf119_disp_intr()
496 nvkm_mask(device, 0x6100bc + (i * 0x800), 0, 0); in gf119_disp_intr()
497 nvkm_rd32(device, 0x6100c0 + (i * 0x800)); in gf119_disp_intr()
503 gf119_disp_new_(const struct nv50_disp_func *func, struct nvkm_device *device, in gf119_disp_new_() argument
506 u32 heads = nvkm_rd32(device, 0x022448); in gf119_disp_new_()
507 return nv50_disp_new_(func, device, index, heads, pdisp); in gf119_disp_new_()
533 gf119_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) in gf119_disp_new() argument
535 return gf119_disp_new_(&gf119_disp, device, index, pdisp); in gf119_disp_new()