1/*	$NetBSD: priv.h,v 1.3 2021/12/18 23:45:41 riastradh Exp $	*/
2
3/* SPDX-License-Identifier: MIT */
4#ifndef __NVKM_MXM_PRIV_H__
5#define __NVKM_MXM_PRIV_H__
6#define nvkm_mxm(p) container_of((p), struct nvkm_mxm, subdev)
7#include <subdev/mxm.h>
8
9#define MXM_SANITISE_DCB 0x00000001
10
11struct nvkm_mxm {
12	struct nvkm_subdev subdev;
13	u32 action;
14	u8 *mxms;
15};
16
17int nvkm_mxm_new_(struct nvkm_device *, int index, struct nvkm_mxm **);
18#endif
19