Lines Matching refs:device

37 	struct nvkm_device *device = subdev->device;  in gp102_disp_dmac_init()  local
42 nvkm_wr32(device, 0x611494 + (ctrl * 0x0010), chan->push); in gp102_disp_dmac_init()
43 nvkm_wr32(device, 0x611498 + (ctrl * 0x0010), 0x00010000); in gp102_disp_dmac_init()
44 nvkm_wr32(device, 0x61149c + (ctrl * 0x0010), 0x00000001); in gp102_disp_dmac_init()
45 nvkm_mask(device, 0x610490 + (ctrl * 0x0010), 0x00000010, 0x00000010); in gp102_disp_dmac_init()
46 nvkm_wr32(device, 0x640000 + (ctrl * 0x1000), chan->suspend_put); in gp102_disp_dmac_init()
47 nvkm_wr32(device, 0x610490 + (ctrl * 0x0010), 0x00000013); in gp102_disp_dmac_init()
50 if (nvkm_msec(device, 2000, in gp102_disp_dmac_init()
51 if (!(nvkm_rd32(device, 0x610490 + (ctrl * 0x10)) & 0x80000000)) in gp102_disp_dmac_init()
55 nvkm_rd32(device, 0x610490 + (ctrl * 0x10))); in gp102_disp_dmac_init()
106 struct nvkm_device *device = subdev->device; in gp102_disp_core_init() local
109 nvkm_wr32(device, 0x611494, chan->push); in gp102_disp_core_init()
110 nvkm_wr32(device, 0x611498, 0x00010000); in gp102_disp_core_init()
111 nvkm_wr32(device, 0x61149c, 0x00000001); in gp102_disp_core_init()
112 nvkm_mask(device, 0x610490, 0x00000010, 0x00000010); in gp102_disp_core_init()
113 nvkm_wr32(device, 0x640000, chan->suspend_put); in gp102_disp_core_init()
114 nvkm_wr32(device, 0x610490, 0x01000013); in gp102_disp_core_init()
117 if (nvkm_msec(device, 2000, in gp102_disp_core_init()
118 if (!(nvkm_rd32(device, 0x610490) & 0x80000000)) in gp102_disp_core_init()
122 nvkm_rd32(device, 0x610490)); in gp102_disp_core_init()
151 struct nvkm_device *device = subdev->device; in gp102_disp_intr_error() local
152 u32 mthd = nvkm_rd32(device, 0x6111f0 + (chid * 12)); in gp102_disp_intr_error()
153 u32 data = nvkm_rd32(device, 0x6111f4 + (chid * 12)); in gp102_disp_intr_error()
154 u32 unkn = nvkm_rd32(device, 0x6111f8 + (chid * 12)); in gp102_disp_intr_error()
169 nvkm_wr32(device, 0x61009c, (1 << chid)); in gp102_disp_intr_error()
170 nvkm_wr32(device, 0x6111f0 + (chid * 12), 0x90000000); in gp102_disp_intr_error()
196 gp102_disp_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in gp102_disp_new() argument
199 return nvkm_disp_new_(&gp102_disp, device, type, inst, pdisp); in gp102_disp_new()