Home | History | Annotate | Line # | Download | only in subdev
      1 /*	$NetBSD: fuse.h,v 1.3 2021/12/18 23:45:33 riastradh Exp $	*/
      2 
      3 /* SPDX-License-Identifier: MIT */
      4 #ifndef __NVKM_FUSE_H__
      5 #define __NVKM_FUSE_H__
      6 #include <core/subdev.h>
      7 
      8 struct nvkm_fuse {
      9 	const struct nvkm_fuse_func *func;
     10 	struct nvkm_subdev subdev;
     11 	spinlock_t lock;
     12 };
     13 
     14 u32 nvkm_fuse_read(struct nvkm_fuse *, u32 addr);
     15 
     16 int nv50_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
     17 int gf100_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
     18 int gm107_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
     19 #endif
     20