1#ifndef __NV04_FIFO_CHAN_H__ 2#define __NV04_FIFO_CHAN_H__ 3#define nv04_fifo_chan(p) container_of((p), struct nv04_fifo_chan, base) 4#include "chan.h" 5#include "nv04.h" 6 7struct nv04_fifo_chan { 8 struct nvkm_fifo_chan base; 9 struct nv04_fifo *fifo; 10 u32 ramfc; 11 struct nvkm_gpuobj *engn[NVKM_SUBDEV_NR]; 12}; 13 14extern const struct nvkm_fifo_chan_func nv04_fifo_dma_func; 15void *nv04_fifo_dma_dtor(struct nvkm_fifo_chan *); 16void nv04_fifo_dma_init(struct nvkm_fifo_chan *); 17void nv04_fifo_dma_fini(struct nvkm_fifo_chan *); 18void nv04_fifo_dma_object_dtor(struct nvkm_fifo_chan *, int); 19 20extern const struct nvkm_fifo_chan_oclass nv04_fifo_dma_oclass; 21extern const struct nvkm_fifo_chan_oclass nv10_fifo_dma_oclass; 22extern const struct nvkm_fifo_chan_oclass nv17_fifo_dma_oclass; 23extern const struct nvkm_fifo_chan_oclass nv40_fifo_dma_oclass; 24#endif 25