Home
last modified time | relevance | path

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

/arch/x86/lib/
Dmsr-on-cpu.c7 u32 msr_no; member
16 rdmsr(rv->msr_no, rv->l, rv->h); in __rdmsr_on_cpu()
23 wrmsr(rv->msr_no, rv->l, rv->h); in __wrmsr_on_cpu()
26 int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) in rdmsr_on_cpu() argument
31 rv.msr_no = msr_no; in rdmsr_on_cpu()
39 int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_on_cpu() argument
44 rv.msr_no = msr_no; in wrmsr_on_cpu()
58 rv->err = rdmsr_safe(rv->msr_no, &rv->l, &rv->h); in __rdmsr_safe_on_cpu()
65 rv->err = wrmsr_safe(rv->msr_no, rv->l, rv->h); in __wrmsr_safe_on_cpu()
68 int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) in rdmsr_safe_on_cpu() argument
[all …]
/arch/x86/include/asm/
Dmsr.h217 int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
218 int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
219 int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
220 int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
222 static inline int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) in rdmsr_on_cpu() argument
224 rdmsr(msr_no, *l, *h); in rdmsr_on_cpu()
227 static inline int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_on_cpu() argument
229 wrmsr(msr_no, l, h); in wrmsr_on_cpu()
232 static inline int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, in rdmsr_safe_on_cpu() argument
235 return rdmsr_safe(msr_no, l, h); in rdmsr_safe_on_cpu()
[all …]