xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fuse/priv.h (revision e58e871becec2d3b04ed91c0c16fe8deac9c9dfa)
1 #ifndef __NVKM_FUSE_PRIV_H__
2 #define __NVKM_FUSE_PRIV_H__
3 #define nvkm_fuse(p) container_of((p), struct nvkm_fuse, subdev)
4 #include <subdev/fuse.h>
5 
6 struct nvkm_fuse_func {
7 	u32 (*read)(struct nvkm_fuse *, u32 addr);
8 };
9 
10 int nvkm_fuse_new_(const struct nvkm_fuse_func *, struct nvkm_device *,
11 		   int index, struct nvkm_fuse **);
12 #endif
13