xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/priv.h (revision b85d45947951d23cb22d90caecf4c1eb81342c96)
1 #ifndef __NVKM_MXM_PRIV_H__
2 #define __NVKM_MXM_PRIV_H__
3 #define nvkm_mxm(p) container_of((p), struct nvkm_mxm, subdev)
4 #include <subdev/mxm.h>
5 
6 #define MXM_SANITISE_DCB 0x00000001
7 
8 struct nvkm_mxm {
9 	struct nvkm_subdev subdev;
10 	u32 action;
11 	u8 *mxms;
12 };
13 
14 int nvkm_mxm_new_(struct nvkm_device *, int index, struct nvkm_mxm **);
15 #endif
16