Lines Matching refs:device
35 struct nvkm_device *device = disp->engine.subdev.device; in nv04_disp_vblank_init() local
36 nvkm_wr32(device, 0x600140 + (head * 0x2000) , 0x00000001); in nv04_disp_vblank_init()
42 struct nvkm_device *device = disp->engine.subdev.device; in nv04_disp_vblank_fini() local
43 nvkm_wr32(device, 0x600140 + (head * 0x2000) , 0x00000000); in nv04_disp_vblank_fini()
50 struct nvkm_device *device = subdev->device; in nv04_disp_intr() local
51 u32 crtc0 = nvkm_rd32(device, 0x600100); in nv04_disp_intr()
52 u32 crtc1 = nvkm_rd32(device, 0x602100); in nv04_disp_intr()
57 nvkm_wr32(device, 0x600100, 0x00000001); in nv04_disp_intr()
62 nvkm_wr32(device, 0x602100, 0x00000001); in nv04_disp_intr()
65 if (device->chipset >= 0x10 && device->chipset <= 0x40) { in nv04_disp_intr()
66 pvideo = nvkm_rd32(device, 0x8100); in nv04_disp_intr()
69 nvkm_wr32(device, 0x8100, pvideo); in nv04_disp_intr()
82 nv04_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) in nv04_disp_new() argument
84 return nvkm_disp_new_(&nv04_disp, device, index, 2, pdisp); in nv04_disp_new()