1/* $NetBSD: priv.h,v 1.2 2021/12/18 23:45:37 riastradh Exp $ */ 2 3/* SPDX-License-Identifier: MIT */ 4#ifndef __NVKM_NVDEC_PRIV_H__ 5#define __NVKM_NVDEC_PRIV_H__ 6#include <engine/nvdec.h> 7 8struct nvkm_nvdec_func { 9 const struct nvkm_falcon_func *flcn; 10}; 11 12struct nvkm_nvdec_fwif { 13 int version; 14 int (*load)(struct nvkm_nvdec *, int ver, 15 const struct nvkm_nvdec_fwif *); 16 const struct nvkm_nvdec_func *func; 17}; 18 19int nvkm_nvdec_new_(const struct nvkm_nvdec_fwif *fwif, 20 struct nvkm_device *, int, struct nvkm_nvdec **); 21#endif 22