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

boost.h (749B)


      1/* SPDX-License-Identifier: MIT */
      2#ifndef __NVBIOS_BOOST_H__
      3#define __NVBIOS_BOOST_H__
      4u32 nvbios_boostTe(struct nvkm_bios *, u8 *, u8 *, u8 *, u8 *, u8 *, u8 *);
      5
      6struct nvbios_boostE {
      7	u8  pstate;
      8	u32 min;
      9	u32 max;
     10};
     11
     12u32 nvbios_boostEe(struct nvkm_bios *, int idx, u8 *, u8 *, u8 *, u8 *);
     13u32 nvbios_boostEp(struct nvkm_bios *, int idx, u8 *, u8 *, u8 *, u8 *,
     14		   struct nvbios_boostE *);
     15u32 nvbios_boostEm(struct nvkm_bios *, u8, u8 *, u8 *, u8 *, u8 *,
     16		   struct nvbios_boostE *);
     17
     18struct nvbios_boostS {
     19	u8  domain;
     20	u8  percent;
     21	u32 min;
     22	u32 max;
     23};
     24
     25u32 nvbios_boostSe(struct nvkm_bios *, int, u32, u8 *, u8 *, u8, u8);
     26u32 nvbios_boostSp(struct nvkm_bios *, int, u32, u8 *, u8 *, u8, u8,
     27		   struct nvbios_boostS *);
     28#endif