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