1 /* SPDX-License-Identifier: MIT */ 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 *, enum nvkm_subdev_type, int, struct nvkm_mxm **); 16 #endif 17