Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 05d3ef8bba77c1b5f98d941d8b2d4aeab8118ef1 authored by Linus Torvalds on 22 October 2023, 22:11:21 UTC
Linux 6.6-rc7
Tip revision: 05d3ef8
priv.h
/* SPDX-License-Identifier: MIT */
#ifndef __NVKM_FUSE_PRIV_H__
#define __NVKM_FUSE_PRIV_H__
#define nvkm_fuse(p) container_of((p), struct nvkm_fuse, subdev)
#include <subdev/fuse.h>

struct nvkm_fuse_func {
	u32 (*read)(struct nvkm_fuse *, u32 addr);
};

int nvkm_fuse_new_(const struct nvkm_fuse_func *, struct nvkm_device *, enum nvkm_subdev_type, int,
		   struct nvkm_fuse **);
#endif
back to top