Staging
v0.8.1
swh:1:snp:a902887e4be9191b7c6c4406aa06b31c1ce2c7cc
Raw File
Tip revision: 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c authored by Linus Torvalds on 02 July 2017, 23:07:02 UTC
Linux 4.12
Tip revision: 6f7da29
mxms.h
#ifndef __NVMXM_MXMS_H__
#define __NVMXM_MXMS_H__
#include "priv.h"

struct mxms_odev {
	u8 outp_type;
	u8 conn_type;
	u8 ddc_port;
	u8 dig_conn;
};

void mxms_output_device(struct nvkm_mxm *, u8 *, struct mxms_odev *);

u16  mxms_version(struct nvkm_mxm *);
u16  mxms_headerlen(struct nvkm_mxm *);
u16  mxms_structlen(struct nvkm_mxm *);
bool mxms_checksum(struct nvkm_mxm *);
bool mxms_valid(struct nvkm_mxm *);

bool mxms_foreach(struct nvkm_mxm *, u8,
		  bool (*)(struct nvkm_mxm *, u8 *, void *), void *);
#endif
back to top