1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVKM_NVDEC_PRIV_H__
3 #define __NVKM_NVDEC_PRIV_H__
4 #include <engine/nvdec.h>
5 
6 struct nvkm_nvdec_func {
7 	const struct nvkm_falcon_func *flcn;
8 };
9 
10 struct nvkm_nvdec_fwif {
11 	int version;
12 	int (*load)(struct nvkm_nvdec *, int ver,
13 		    const struct nvkm_nvdec_fwif *);
14 	const struct nvkm_nvdec_func *func;
15 };
16 
17 int nvkm_nvdec_new_(const struct nvkm_nvdec_fwif *fwif, struct nvkm_device *,
18 		    enum nvkm_subdev_type, int, u32 addr, struct nvkm_nvdec **);
19 #endif
20