Lines Matching refs:fifo
39 struct nvkm_instmem *imem = chan->fifo->base.engine.subdev.device->imem; in nv04_fifo_dma_object_dtor()
41 mutex_lock(&chan->fifo->base.engine.subdev.mutex); in nv04_fifo_dma_object_dtor()
43 mutex_unlock(&chan->fifo->base.engine.subdev.mutex); in nv04_fifo_dma_object_dtor()
51 struct nvkm_instmem *imem = chan->fifo->base.engine.subdev.device->imem; in nv04_fifo_dma_object_ctor()
66 mutex_lock(&chan->fifo->base.engine.subdev.mutex); in nv04_fifo_dma_object_ctor()
69 mutex_unlock(&chan->fifo->base.engine.subdev.mutex); in nv04_fifo_dma_object_ctor()
77 struct nv04_fifo *fifo = chan->fifo; in nv04_fifo_dma_fini() local
78 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv04_fifo_dma_fini()
82 u32 mask = fifo->base.nr - 1; in nv04_fifo_dma_fini()
87 spin_lock_irqsave(&fifo->base.lock, flags); in nv04_fifo_dma_fini()
97 c = fifo->ramfc; in nv04_fifo_dma_fini()
108 c = fifo->ramfc; in nv04_fifo_dma_fini()
123 spin_unlock_irqrestore(&fifo->base.lock, flags); in nv04_fifo_dma_fini()
130 struct nv04_fifo *fifo = chan->fifo; in nv04_fifo_dma_init() local
131 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv04_fifo_dma_init()
134 spin_lock_irqsave(&fifo->base.lock, flags); in nv04_fifo_dma_init()
136 spin_unlock_irqrestore(&fifo->base.lock, flags); in nv04_fifo_dma_init()
143 struct nv04_fifo *fifo = chan->fifo; in nv04_fifo_dma_dtor() local
144 struct nvkm_instmem *imem = fifo->base.engine.subdev.device->imem; in nv04_fifo_dma_dtor()
145 const struct nv04_fifo_ramfc *c = fifo->ramfc; in nv04_fifo_dma_dtor()
172 struct nv04_fifo *fifo = nv04_fifo(base); in nv04_fifo_dma_new() local
174 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv04_fifo_dma_new()
192 ret = nvkm_fifo_chan_ctor(&nv04_fifo_dma_func, &fifo->base, in nv04_fifo_dma_new()
198 chan->fifo = fifo; in nv04_fifo_dma_new()