1 /* $NetBSD: priv.h,v 1.3 2021/12/18 23:45:39 riastradh Exp $ */ 2 3 /* SPDX-License-Identifier: MIT */ 4 #ifndef __NVKM_FUSE_PRIV_H__ 5 #define __NVKM_FUSE_PRIV_H__ 6 #define nvkm_fuse(p) container_of((p), struct nvkm_fuse, subdev) 7 #include <subdev/fuse.h> 8 9 struct nvkm_fuse_func { 10 u32 (*read)(struct nvkm_fuse *, u32 addr); 11 }; 12 13 int nvkm_fuse_new_(const struct nvkm_fuse_func *, struct nvkm_device *, 14 int index, struct nvkm_fuse **); 15 #endif 16