These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / gpu / drm / nouveau / include / nvkm / subdev / fuse.h
1 #ifndef __NVKM_FUSE_H__
2 #define __NVKM_FUSE_H__
3 #include <core/subdev.h>
4
5 struct nvkm_fuse {
6         const struct nvkm_fuse_func *func;
7         struct nvkm_subdev subdev;
8         spinlock_t lock;
9 };
10
11 u32 nvkm_fuse_read(struct nvkm_fuse *, u32 addr);
12
13 int nv50_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
14 int gf100_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
15 int gm107_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
16 #endif