1 #ifndef __NVKM_DMA_USER_H__
2 #define __NVKM_DMA_USER_H__
3 #define nvkm_dmaobj(p) container_of((p), struct nvkm_dmaobj, object)
6 int nvkm_dmaobj_ctor(const struct nvkm_dmaobj_func
*, struct nvkm_dma
*,
7 const struct nvkm_oclass
*, void **data
, u32
*size
,
10 int nv04_dmaobj_new(struct nvkm_dma
*, const struct nvkm_oclass
*, void *, u32
,
11 struct nvkm_dmaobj
**);
12 int nv50_dmaobj_new(struct nvkm_dma
*, const struct nvkm_oclass
*, void *, u32
,
13 struct nvkm_dmaobj
**);
14 int gf100_dmaobj_new(struct nvkm_dma
*, const struct nvkm_oclass
*, void *, u32
,
15 struct nvkm_dmaobj
**);
16 int gf119_dmaobj_new(struct nvkm_dma
*, const struct nvkm_oclass
*, void *, u32
,
17 struct nvkm_dmaobj
**);