]>
git.ipfire.org Git - people/arne_f/kernel.git/blob - drivers/gpu/drm/nouveau/nvkm/subdev/fuse/priv.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_FUSE_PRIV_H__
3 #define __NVKM_FUSE_PRIV_H__
4 #define nvkm_fuse(p) container_of((p), struct nvkm_fuse, subdev)
5 #include <subdev/fuse.h>
7 struct nvkm_fuse_func
{
8 u32 (*read
)(struct nvkm_fuse
*, u32 addr
);
11 int nvkm_fuse_new_(const struct nvkm_fuse_func
*, struct nvkm_device
*,
12 int index
, struct nvkm_fuse
**);