D | powernow-k8-decode.c | 27 static int get_fidvid(uint32_t cpu, uint32_t *fid, uint32_t *vid) in get_fidvid() argument 47 *vid = ((uint32_t )(msr>>32 & 0xffffffffull)) & MSR_S_HI_CURRENT_VID; in get_fidvid() 63 static uint32_t find_millivolts_from_vid(uint32_t vid) in find_millivolts_from_vid() argument 65 return 1550-vid*25; in find_millivolts_from_vid() 72 uint32_t fid, vid; in main() local 79 err = get_fidvid(cpu, &fid, &vid); in main() 92 find_millivolts_from_vid(vid)); in main()
|