user.h revision 1.1
1/* $NetBSD: user.h,v 1.1 2018/08/27 01:34:56 riastradh Exp $ */ 2 3#ifndef __NVKM_DMA_USER_H__ 4#define __NVKM_DMA_USER_H__ 5#define nvkm_dmaobj(p) container_of((p), struct nvkm_dmaobj, object) 6#include "priv.h" 7 8int nvkm_dmaobj_ctor(const struct nvkm_dmaobj_func *, struct nvkm_dma *, 9 const struct nvkm_oclass *, void **data, u32 *size, 10 struct nvkm_dmaobj *); 11 12int nv04_dmaobj_new(struct nvkm_dma *, const struct nvkm_oclass *, void *, u32, 13 struct nvkm_dmaobj **); 14int nv50_dmaobj_new(struct nvkm_dma *, const struct nvkm_oclass *, void *, u32, 15 struct nvkm_dmaobj **); 16int gf100_dmaobj_new(struct nvkm_dma *, const struct nvkm_oclass *, void *, u32, 17 struct nvkm_dmaobj **); 18int gf119_dmaobj_new(struct nvkm_dma *, const struct nvkm_oclass *, void *, u32, 19 struct nvkm_dmaobj **); 20#endif 21