Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 #ifndef __NVKM_MXM_PRIV_H__
0003 #define __NVKM_MXM_PRIV_H__
0004 #define nvkm_mxm(p) container_of((p), struct nvkm_mxm, subdev)
0005 #include <subdev/mxm.h>
0006 
0007 #define MXM_SANITISE_DCB 0x00000001
0008 
0009 struct nvkm_mxm {
0010     struct nvkm_subdev subdev;
0011     u32 action;
0012     u8 *mxms;
0013 };
0014 
0015 int nvkm_mxm_new_(struct nvkm_device *, enum nvkm_subdev_type, int, struct nvkm_mxm **);
0016 #endif