linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vpstate.h
<<
>>
Prefs
   1#ifndef __NVBIOS_VPSTATE_H__
   2#define __NVBIOS_VPSTATE_H__
   3struct nvbios_vpstate_header {
   4        u32 offset;
   5
   6        u8 version;
   7        u8 hlen;
   8        u8 ecount;
   9        u8 elen;
  10        u8 scount;
  11        u8 slen;
  12
  13        u8 base_id;
  14        u8 boost_id;
  15        u8 tdp_id;
  16};
  17struct nvbios_vpstate_entry {
  18        u8  pstate;
  19        u16 clock_mhz;
  20};
  21int nvbios_vpstate_parse(struct nvkm_bios *, struct nvbios_vpstate_header *);
  22int nvbios_vpstate_entry(struct nvkm_bios *, struct nvbios_vpstate_header *,
  23                         u8 idx, struct nvbios_vpstate_entry *);
  24#endif
  25