1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_MXM_PRIV_H__
3 #define __NVKM_MXM_PRIV_H__
4 #define nvkm_mxm(p) container_of((p), struct nvkm_mxm, subdev)
5 #include <subdev/mxm.h>
6 
7 #define MXM_SANITISE_DCB 0x00000001
8 
9 struct nvkm_mxm {
10 	struct nvkm_subdev subdev;
11 	u32 action;
12 	u8 *mxms;
13 };
14 
15 int nvkm_mxm_new_(struct nvkm_device *, int index, struct nvkm_mxm **);
16 #endif
17