fuse.h 479 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __NVKM_FUSE_H__
  3. #define __NVKM_FUSE_H__
  4. #include <core/subdev.h>
  5. struct nvkm_fuse {
  6. const struct nvkm_fuse_func *func;
  7. struct nvkm_subdev subdev;
  8. spinlock_t lock;
  9. };
  10. u32 nvkm_fuse_read(struct nvkm_fuse *, u32 addr);
  11. int nv50_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
  12. int gf100_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
  13. int gm107_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
  14. #endif