]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[mirror_ubuntu-bionic-kernel.git] / drivers / gpu / drm / nouveau / nvkm / subdev / mxm / mxms.h
CommitLineData
d38ac521
BS
1#ifndef __NVMXM_MXMS_H__
2#define __NVMXM_MXMS_H__
a4f7bd36 3#include "priv.h"
d38ac521
BS
4
5struct mxms_odev {
6 u8 outp_type;
7 u8 conn_type;
8 u8 ddc_port;
9 u8 dig_conn;
10};
11
be83cd4e 12void mxms_output_device(struct nvkm_mxm *, u8 *, struct mxms_odev *);
d38ac521 13
be83cd4e
BS
14u16 mxms_version(struct nvkm_mxm *);
15u16 mxms_headerlen(struct nvkm_mxm *);
16u16 mxms_structlen(struct nvkm_mxm *);
17bool mxms_checksum(struct nvkm_mxm *);
18bool mxms_valid(struct nvkm_mxm *);
d38ac521 19
be83cd4e
BS
20bool mxms_foreach(struct nvkm_mxm *, u8,
21 bool (*)(struct nvkm_mxm *, u8 *, void *), void *);
d38ac521 22#endif