Lines Matching refs:device

60 	struct nvkm_device *device = root->disp->base.engine.subdev.device;  in nv50_disp_dmac_child_new_()  local
71 ret = sclass->ctor(device, oclass, data, size, &object->oproxy.object); in nv50_disp_dmac_child_new_()
89 struct nvkm_device *device = disp->base.engine.subdev.device; in nv50_disp_dmac_child_get_() local
92 sclass->engine = nvkm_device_engine(device, NVKM_ENGINE_DMAOBJ); in nv50_disp_dmac_child_get_()
140 struct nvkm_device *device = root->disp->base.engine.subdev.device; in nv50_disp_dmac_new_() local
156 dmaobj = nvkm_dma_search(device->dma, client, push); in nv50_disp_dmac_new_()
192 struct nvkm_device *device = subdev->device; in nv50_disp_dmac_fini() local
196 nvkm_mask(device, 0x610200 + (chid * 0x0010), 0x00001010, 0x00001000); in nv50_disp_dmac_fini()
197 nvkm_mask(device, 0x610200 + (chid * 0x0010), 0x00000003, 0x00000000); in nv50_disp_dmac_fini()
198 if (nvkm_msec(device, 2000, in nv50_disp_dmac_fini()
199 if (!(nvkm_rd32(device, 0x610200 + (chid * 0x10)) & 0x001e0000)) in nv50_disp_dmac_fini()
203 nvkm_rd32(device, 0x610200 + (chid * 0x10))); in nv50_disp_dmac_fini()
207 nvkm_mask(device, 0x610028, 0x00010001 << chid, 0x00000000 << chid); in nv50_disp_dmac_fini()
215 struct nvkm_device *device = subdev->device; in nv50_disp_dmac_init() local
219 nvkm_mask(device, 0x610028, 0x00010000 << chid, 0x00010000 << chid); in nv50_disp_dmac_init()
222 nvkm_wr32(device, 0x610204 + (chid * 0x0010), chan->push); in nv50_disp_dmac_init()
223 nvkm_wr32(device, 0x610208 + (chid * 0x0010), 0x00010000); in nv50_disp_dmac_init()
224 nvkm_wr32(device, 0x61020c + (chid * 0x0010), chid); in nv50_disp_dmac_init()
225 nvkm_mask(device, 0x610200 + (chid * 0x0010), 0x00000010, 0x00000010); in nv50_disp_dmac_init()
226 nvkm_wr32(device, 0x640000 + (chid * 0x1000), 0x00000000); in nv50_disp_dmac_init()
227 nvkm_wr32(device, 0x610200 + (chid * 0x0010), 0x00000013); in nv50_disp_dmac_init()
230 if (nvkm_msec(device, 2000, in nv50_disp_dmac_init()
231 if (!(nvkm_rd32(device, 0x610200 + (chid * 0x10)) & 0x80000000)) in nv50_disp_dmac_init()
235 nvkm_rd32(device, 0x610200 + (chid * 0x10))); in nv50_disp_dmac_init()