posix-clock: Fix return code on the poll method's error path
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / nvkm / engine / dma / user.h
blob69a7f103402427000cae267144c38907881119b3
1 #ifndef __NVKM_DMA_USER_H__
2 #define __NVKM_DMA_USER_H__
3 #define nvkm_dmaobj(p) container_of((p), struct nvkm_dmaobj, object)
4 #include "priv.h"
6 int nvkm_dmaobj_ctor(const struct nvkm_dmaobj_func *, struct nvkm_dma *,
7 const struct nvkm_oclass *, void **data, u32 *size,
8 struct nvkm_dmaobj *);
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 **);
18 #endif