1 #ifndef _MACHINE_CPUFREQ_H_ 2 #define _MACHINE_CPUFREQ_H_ 3 4 struct amd0f_fidvid { 5 uint32_t fid; 6 uint32_t vid; 7 }; 8 9 struct amd0f_xsit { 10 uint32_t rvo; 11 uint32_t mvs; 12 uint32_t vst; 13 uint32_t pll_time; 14 uint32_t irt; 15 }; 16 17 void amd0f_fidvid_limit(struct amd0f_fidvid *, struct amd0f_fidvid *); 18 int amd0f_set_fidvid(const struct amd0f_fidvid *, 19 const struct amd0f_xsit *); 20 int amd0f_get_fidvid(struct amd0f_fidvid *); 21 22 #endif /* !_MACHINE_CPUFREQ_H_ */ 23