Searched refs:msr_file_name (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/tools/power/cpupower/utils/helpers/ |
D | msr.c | 30 char msr_file_name[64]; in read_msr() local 32 sprintf(msr_file_name, "/dev/cpu/%d/msr", cpu); in read_msr() 33 fd = open(msr_file_name, O_RDONLY); in read_msr() 59 char msr_file_name[64]; in write_msr() local 61 sprintf(msr_file_name, "/dev/cpu/%d/msr", cpu); in write_msr() 62 fd = open(msr_file_name, O_WRONLY); in write_msr()
|
/Linux-v5.4/tools/testing/selftests/intel_pstate/ |
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()
|
D | aperf.c | 21 char msr_file_name[64]; in main() local 42 sprintf(msr_file_name, "/dev/cpu/%d/msr", cpu); in main() 43 fd = open(msr_file_name, O_RDONLY); in main()
|