Searched refs:msr_file_name (Results 1 – 3 of 3) sorted by relevance
/linux/tools/power/cpupower/utils/helpers/ |
H A D | msr.c | 29 char msr_file_name[64]; in read_msr() local 31 sprintf(msr_file_name, "/dev/cpu/%d/msr", cpu); in read_msr() 32 fd = open(msr_file_name, O_RDONLY); in read_msr() 58 char msr_file_name[64]; in write_msr() local 60 sprintf(msr_file_name, "/dev/cpu/%d/msr", cpu); in write_msr() 61 fd = open(msr_file_name, O_WRONLY); in write_msr()
|
/linux/tools/testing/selftests/intel_pstate/ |
H A D | msr.c | 17 char msr_file_name[64]; in main() local 28 sprintf(msr_file_name, "/dev/cpu/%d/msr", cpu); in main() 29 fd = open(msr_file_name, O_RDONLY); in main()
|
H A D | aperf.c | 25 char msr_file_name[64]; in main() local 46 sprintf(msr_file_name, "/dev/cpu/%d/msr", cpu); in main() 47 fd = open(msr_file_name, O_RDONLY); in main()
|