1 #ifndef __NVKM_TOP_H__
2 #define __NVKM_TOP_H__
3 #include <core/subdev.h>
4 
5 struct nvkm_top {
6 	const struct nvkm_top_func *func;
7 	struct nvkm_subdev subdev;
8 	struct list_head device;
9 };
10 
11 u32 nvkm_top_reset(struct nvkm_device *, enum nvkm_devidx);
12 u32 nvkm_top_intr(struct nvkm_device *, u32 intr, u64 *subdevs);
13 u32 nvkm_top_intr_mask(struct nvkm_device *, enum nvkm_devidx);
14 enum nvkm_devidx nvkm_top_fault(struct nvkm_device *, int fault);
15 enum nvkm_devidx nvkm_top_engine(struct nvkm_device *, int, int *runl, int *engn);
16 
17 int gk104_top_new(struct nvkm_device *, int, struct nvkm_top **);
18 #endif
19