cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

mxms.h (554B)


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