1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVKM_GSP_PRIV_H__
3 #define __NVKM_GSP_PRIV_H__
4 #include <subdev/gsp.h>
5 enum nvkm_acr_lsf_id;
6 
7 struct nvkm_gsp_func {
8 	const struct nvkm_falcon_func *flcn;
9 };
10 
11 struct nvkm_gsp_fwif {
12 	int version;
13 	int (*load)(struct nvkm_gsp *, int ver, const struct nvkm_gsp_fwif *);
14 	const struct nvkm_gsp_func *func;
15 };
16 
17 int nvkm_gsp_new_(const struct nvkm_gsp_fwif *, struct nvkm_device *, enum nvkm_subdev_type, int,
18 		  struct nvkm_gsp **);
19 #endif
20