Lines Matching refs:device

37 	struct nvkm_device *device = disp->base.engine.subdev.device;  in gf119_disp_root_scanoutpos()  local
38 const u32 total = nvkm_rd32(device, 0x640414 + (head * 0x300)); in gf119_disp_root_scanoutpos()
39 const u32 blanke = nvkm_rd32(device, 0x64041c + (head * 0x300)); in gf119_disp_root_scanoutpos()
40 const u32 blanks = nvkm_rd32(device, 0x640420 + (head * 0x300)); in gf119_disp_root_scanoutpos()
58 nvkm_rd32(device, 0x616340 + (head * 0x800)) & 0xffff; in gf119_disp_root_scanoutpos()
61 nvkm_rd32(device, 0x616344 + (head * 0x800)) & 0xffff; in gf119_disp_root_scanoutpos()
71 struct nvkm_device *device = root->disp->base.engine.subdev.device; in gf119_disp_root_fini() local
73 nvkm_wr32(device, 0x6100b0, 0x00000000); in gf119_disp_root_fini()
80 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_root_init() local
91 tmp = nvkm_rd32(device, 0x616104 + (i * 0x800)); in gf119_disp_root_init()
92 nvkm_wr32(device, 0x6101b4 + (i * 0x800), tmp); in gf119_disp_root_init()
93 tmp = nvkm_rd32(device, 0x616108 + (i * 0x800)); in gf119_disp_root_init()
94 nvkm_wr32(device, 0x6101b8 + (i * 0x800), tmp); in gf119_disp_root_init()
95 tmp = nvkm_rd32(device, 0x61610c + (i * 0x800)); in gf119_disp_root_init()
96 nvkm_wr32(device, 0x6101bc + (i * 0x800), tmp); in gf119_disp_root_init()
101 tmp = nvkm_rd32(device, 0x61a000 + (i * 0x800)); in gf119_disp_root_init()
102 nvkm_wr32(device, 0x6101c0 + (i * 0x800), tmp); in gf119_disp_root_init()
107 tmp = nvkm_rd32(device, 0x61c000 + (i * 0x800)); in gf119_disp_root_init()
108 nvkm_wr32(device, 0x6301c4 + (i * 0x800), tmp); in gf119_disp_root_init()
112 if (nvkm_rd32(device, 0x6100ac) & 0x00000100) { in gf119_disp_root_init()
113 nvkm_wr32(device, 0x6100ac, 0x00000100); in gf119_disp_root_init()
114 nvkm_mask(device, 0x6194e8, 0x00000001, 0x00000000); in gf119_disp_root_init()
115 if (nvkm_msec(device, 2000, in gf119_disp_root_init()
116 if (!(nvkm_rd32(device, 0x6194e8) & 0x00000002)) in gf119_disp_root_init()
123 nvkm_wr32(device, 0x610010, (root->instmem->addr >> 8) | 9); in gf119_disp_root_init()
126 nvkm_wr32(device, 0x610090, 0x00000000); in gf119_disp_root_init()
127 nvkm_wr32(device, 0x6100a0, 0x00000000); in gf119_disp_root_init()
128 nvkm_wr32(device, 0x6100b0, 0x00000307); in gf119_disp_root_init()
137 nvkm_mask(device, 0x616308 + (i * 0x800), 0x00000111, 0x00000010); in gf119_disp_root_init()