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

M0205.h (822B)


      1/* SPDX-License-Identifier: MIT */
      2#ifndef __NVBIOS_M0205_H__
      3#define __NVBIOS_M0205_H__
      4struct nvbios_M0205T {
      5	u16 freq;
      6};
      7
      8u32 nvbios_M0205Te(struct nvkm_bios *,
      9		   u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz);
     10u32 nvbios_M0205Tp(struct nvkm_bios *,
     11		   u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz,
     12		   struct nvbios_M0205T *);
     13
     14struct nvbios_M0205E {
     15	u8 type;
     16};
     17
     18u32 nvbios_M0205Ee(struct nvkm_bios *, int idx,
     19		   u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
     20u32 nvbios_M0205Ep(struct nvkm_bios *, int idx,
     21		   u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0205E *);
     22
     23struct nvbios_M0205S {
     24	u8 data;
     25};
     26
     27u32 nvbios_M0205Se(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr);
     28u32 nvbios_M0205Sp(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr,
     29		   struct nvbios_M0205S *);
     30#endif