Lines Matching +full:0 +full:x0000003f
22 #define MSR_FIDVID_STATUS 0xc0010042
24 #define MSR_S_HI_CURRENT_VID 0x0000001f
25 #define MSR_S_LO_CURRENT_FID 0x0000003f
30 uint64_t msr = 0; in get_fidvid()
40 if (fd < 0) in get_fidvid()
46 *fid = ((uint32_t )(msr & 0xffffffffull)) & MSR_S_LO_CURRENT_FID; in get_fidvid()
47 *vid = ((uint32_t )(msr>>32 & 0xffffffffull)) & MSR_S_HI_CURRENT_VID; in get_fidvid()
48 err = 0; in get_fidvid()
75 cpu = 0; in main()
77 cpu = strtoul(argv[1], NULL, 0); in main()
94 return 0; in main()