Home | History | Annotate | Line # | Download | only in bios
      1 /*	$NetBSD: boost.h,v 1.3 2021/12/18 23:45:33 riastradh Exp $	*/
      2 
      3 /* SPDX-License-Identifier: MIT */
      4 #ifndef __NVBIOS_BOOST_H__
      5 #define __NVBIOS_BOOST_H__
      6 u32 nvbios_boostTe(struct nvkm_bios *, u8 *, u8 *, u8 *, u8 *, u8 *, u8 *);
      7 
      8 struct nvbios_boostE {
      9 	u8  pstate;
     10 	u32 min;
     11 	u32 max;
     12 };
     13 
     14 u32 nvbios_boostEe(struct nvkm_bios *, int idx, u8 *, u8 *, u8 *, u8 *);
     15 u32 nvbios_boostEp(struct nvkm_bios *, int idx, u8 *, u8 *, u8 *, u8 *,
     16 		   struct nvbios_boostE *);
     17 u32 nvbios_boostEm(struct nvkm_bios *, u8, u8 *, u8 *, u8 *, u8 *,
     18 		   struct nvbios_boostE *);
     19 
     20 struct nvbios_boostS {
     21 	u8  domain;
     22 	u8  percent;
     23 	u32 min;
     24 	u32 max;
     25 };
     26 
     27 u32 nvbios_boostSe(struct nvkm_bios *, int, u32, u8 *, u8 *, u8, u8);
     28 u32 nvbios_boostSp(struct nvkm_bios *, int, u32, u8 *, u8 *, u8, u8,
     29 		   struct nvbios_boostS *);
     30 #endif
     31