File Index
Files and directories
Sign in
FILE

priv.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/nouveau/nvkm/subdev/top/priv.h C
 1/* SPDX-License-Identifier: MIT */
 2#ifndef __NVKM_TOP_PRIV_H__
 3#define __NVKM_TOP_PRIV_H__
 4#define nvkm_top(p) container_of((p), struct nvkm_top, subdev)
 5#include <subdev/top.h>
 6
 7struct nvkm_top_func {
 8	int (*parse)(struct nvkm_top *);
 9};
10
11int nvkm_top_new_(const struct nvkm_top_func *, struct nvkm_device *, enum nvkm_subdev_type, int,
12		  struct nvkm_top **);
13
14struct nvkm_top_device *nvkm_top_device_new(struct nvkm_top *);
15#endif
~/ Read-only file preview.