priv.h 338 B

123456789101112
  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. struct nvkm_fuse_func {
  6. u32 (*read)(struct nvkm_fuse *, u32 addr);
  7. };
  8. int nvkm_fuse_new_(const struct nvkm_fuse_func *, struct nvkm_device *,
  9. int index, struct nvkm_fuse **);
  10. #endif