1 #ifndef __NVMXM_MXMS_H__
2 #define __NVMXM_MXMS_H__
3 #include "priv.h"
4 
5 struct mxms_odev {
6 	u8 outp_type;
7 	u8 conn_type;
8 	u8 ddc_port;
9 	u8 dig_conn;
10 };
11 
12 void mxms_output_device(struct nvkm_mxm *, u8 *, struct mxms_odev *);
13 
14 u16  mxms_version(struct nvkm_mxm *);
15 u16  mxms_headerlen(struct nvkm_mxm *);
16 u16  mxms_structlen(struct nvkm_mxm *);
17 bool mxms_checksum(struct nvkm_mxm *);
18 bool mxms_valid(struct nvkm_mxm *);
19 
20 bool mxms_foreach(struct nvkm_mxm *, u8,
21 		  bool (*)(struct nvkm_mxm *, u8 *, void *), void *);
22 #endif
23