1#ifndef __NVBIOS_POWER_BUDGET_H__ 2#define __NVBIOS_POWER_BUDGET_H__ 3 4#include <nvkm/subdev/bios.h> 5 6struct nvbios_power_budget_entry { 7 u32 min_w; 8 u32 avg_w; 9 u32 max_w; 10}; 11 12struct nvbios_power_budget { 13 u32 offset; 14 u8 ver; 15 u8 hlen; 16 u8 elen; 17 u8 ecount; 18 u8 cap_entry; 19}; 20 21int nvbios_power_budget_header(struct nvkm_bios *, 22 struct nvbios_power_budget *); 23int nvbios_power_budget_entry(struct nvkm_bios *, struct nvbios_power_budget *, 24 u8 idx, struct nvbios_power_budget_entry *); 25 26#endif 27