Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 #ifndef __NVKM_TOP_PRIV_H__
0003 #define __NVKM_TOP_PRIV_H__
0004 #define nvkm_top(p) container_of((p), struct nvkm_top, subdev)
0005 #include <subdev/top.h>
0006 
0007 struct nvkm_top_func {
0008     int (*oneinit)(struct nvkm_top *);
0009 };
0010 
0011 int nvkm_top_new_(const struct nvkm_top_func *, struct nvkm_device *, enum nvkm_subdev_type, int,
0012           struct nvkm_top **);
0013 
0014 struct nvkm_top_device *nvkm_top_device_new(struct nvkm_top *);
0015 #endif