posix-clock: Fix return code on the poll method's error path
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / mc.h
blob4de05e718f83825a3f67317213716afb1bd45a24
1 #ifndef __NVKM_MC_H__
2 #define __NVKM_MC_H__
3 #include <core/subdev.h>
5 struct nvkm_mc {
6 const struct nvkm_mc_func *func;
7 struct nvkm_subdev subdev;
8 };
10 void nvkm_mc_intr(struct nvkm_mc *, bool *handled);
11 void nvkm_mc_intr_unarm(struct nvkm_mc *);
12 void nvkm_mc_intr_rearm(struct nvkm_mc *);
13 void nvkm_mc_unk260(struct nvkm_mc *, u32 data);
15 int nv04_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
16 int nv44_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
17 int nv50_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
18 int g98_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
19 int gf100_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
20 int gk20a_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
21 #endif