Lines Matching refs:device

32 	struct nvkm_device *device = fifo->base.engine.subdev.device;  in nv50_fifo_runlist_update_locked()  local
41 if (nvkm_rd32(device, 0x002600 + (i * 4)) & 0x80000000) in nv50_fifo_runlist_update_locked()
46 nvkm_wr32(device, 0x0032f4, nvkm_memory_addr(cur) >> 12); in nv50_fifo_runlist_update_locked()
47 nvkm_wr32(device, 0x0032ec, p); in nv50_fifo_runlist_update_locked()
48 nvkm_wr32(device, 0x002500, 0x00000101); in nv50_fifo_runlist_update_locked()
63 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv50_fifo_oneinit() local
66 ret = nvkm_memory_new(device, NVKM_MEM_TARGET_INST, 128 * 4, 0x1000, in nv50_fifo_oneinit()
71 return nvkm_memory_new(device, NVKM_MEM_TARGET_INST, 128 * 4, 0x1000, in nv50_fifo_oneinit()
79 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv50_fifo_init() local
82 nvkm_mask(device, 0x000200, 0x00000100, 0x00000000); in nv50_fifo_init()
83 nvkm_mask(device, 0x000200, 0x00000100, 0x00000100); in nv50_fifo_init()
84 nvkm_wr32(device, 0x00250c, 0x6f3cfc34); in nv50_fifo_init()
85 nvkm_wr32(device, 0x002044, 0x01003fff); in nv50_fifo_init()
87 nvkm_wr32(device, 0x002100, 0xffffffff); in nv50_fifo_init()
88 nvkm_wr32(device, 0x002140, 0xbfffffff); in nv50_fifo_init()
91 nvkm_wr32(device, 0x002600 + (i * 4), 0x00000000); in nv50_fifo_init()
94 nvkm_wr32(device, 0x003200, 0x00000001); in nv50_fifo_init()
95 nvkm_wr32(device, 0x003250, 0x00000001); in nv50_fifo_init()
96 nvkm_wr32(device, 0x002500, 0x00000001); in nv50_fifo_init()
109 nv50_fifo_new_(const struct nvkm_fifo_func *func, struct nvkm_device *device, in nv50_fifo_new_() argument
119 ret = nvkm_fifo_ctor(func, device, index, 128, &fifo->base); in nv50_fifo_new_()
144 nv50_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) in nv50_fifo_new() argument
146 return nv50_fifo_new_(&nv50_fifo, device, index, pfifo); in nv50_fifo_new()