1 #ifndef __NVKM_GSP_H__
2 #define __NVKM_GSP_H__
3 #define nvkm_gsp(p) container_of((p), struct nvkm_gsp, subdev)
4 #include <core/subdev.h>
5 #include <core/falcon.h>
6 
7 struct nvkm_gsp {
8 	const struct nvkm_gsp_func *func;
9 	struct nvkm_subdev subdev;
10 
11 	struct nvkm_falcon falcon;
12 };
13 
14 int gv100_gsp_new(struct nvkm_device *, enum nvkm_subdev_type, int, struct nvkm_gsp **);
15 int ga102_gsp_new(struct nvkm_device *, enum nvkm_subdev_type, int, struct nvkm_gsp **);
16 #endif
17