Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / fuse.h
blob092193b7f98ea1c7cc422b28c0f176858a03e67c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_FUSE_H__
3 #define __NVKM_FUSE_H__
4 #include <core/subdev.h>
6 struct nvkm_fuse {
7 const struct nvkm_fuse_func *func;
8 struct nvkm_subdev subdev;
9 spinlock_t lock;
12 u32 nvkm_fuse_read(struct nvkm_fuse *, u32 addr);
14 int nv50_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
15 int gf100_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
16 int gm107_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
17 #endif