Home
last modified time | relevance | path

Searched refs:msr_num (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/arch/x86/include/asm/
H A Dmsr.h210 static inline struct msr_t msr_read(unsigned msr_num) in msr_read() argument
214 rdmsr(msr_num, msr.lo, msr.hi); in msr_read()
219 static inline void msr_write(unsigned msr_num, msr_t msr) in msr_write() argument
221 wrmsr(msr_num, msr.lo, msr.hi); in msr_write()
/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.c63 unsigned int msr_num; member
1951 if (mp->msr_num != 0) { in get_mp()
1952 if (get_msr(cpu, mp->msr_num, counterp)) in get_mp()
6265 int add_counter(unsigned int msr_num, char *path, char *name, in add_counter() argument
6277 msrp->msr_num = msr_num; in add_counter()
6324 int msr_num = 0; in parse_add_command() local
6335 if (sscanf(add_command, "msr0x%x", &msr_num) == 1) in parse_add_command()
6338 if (sscanf(add_command, "msr%d", &msr_num) == 1) in parse_add_command()
6405 if ((msr_num == 0) && (path == NULL)) { in parse_add_command()
6413 sprintf(name_buffer, "M0x%x%s", msr_num, format == FORMAT_PERCENT ? "%" : ""); in parse_add_command()
[all …]