Lines Matching refs:fifo
63 struct nv04_fifo *fifo = chan->fifo; in nv40_fifo_dma_engine_fini() local
64 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv40_fifo_dma_engine_fini()
73 spin_lock_irqsave(&fifo->base.lock, flags); in nv40_fifo_dma_engine_fini()
76 chid = nvkm_rd32(device, 0x003204) & (fifo->base.nr - 1); in nv40_fifo_dma_engine_fini()
84 spin_unlock_irqrestore(&fifo->base.lock, flags); in nv40_fifo_dma_engine_fini()
93 struct nv04_fifo *fifo = chan->fifo; in nv40_fifo_dma_engine_init() local
94 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv40_fifo_dma_engine_init()
104 spin_lock_irqsave(&fifo->base.lock, flags); in nv40_fifo_dma_engine_init()
107 chid = nvkm_rd32(device, 0x003204) & (fifo->base.nr - 1); in nv40_fifo_dma_engine_init()
115 spin_unlock_irqrestore(&fifo->base.lock, flags); in nv40_fifo_dma_engine_init()
147 struct nvkm_instmem *imem = chan->fifo->base.engine.subdev.device->imem; in nv40_fifo_dma_object_ctor()
162 mutex_lock(&chan->fifo->base.engine.subdev.mutex); in nv40_fifo_dma_object_ctor()
165 mutex_unlock(&chan->fifo->base.engine.subdev.mutex); in nv40_fifo_dma_object_ctor()
190 struct nv04_fifo *fifo = nv04_fifo(base); in nv40_fifo_dma_new() local
192 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv40_fifo_dma_new()
210 ret = nvkm_fifo_chan_ctor(&nv40_fifo_dma_func, &fifo->base, in nv40_fifo_dma_new()
217 chan->fifo = fifo; in nv40_fifo_dma_new()