Home
last modified time | relevance | path

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

/arch/x86/lib/
Dmsr-smp.c17 rdmsr(rv->msr_no, reg->l, reg->h); in __rdmsr_on_cpu()
31 wrmsr(rv->msr_no, reg->l, reg->h); in __wrmsr_on_cpu()
34 int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) in rdmsr_on_cpu() argument
41 rv.msr_no = msr_no; in rdmsr_on_cpu()
50 int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_on_cpu() argument
57 rv.msr_no = msr_no; in rdmsrl_on_cpu()
65 int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_on_cpu() argument
72 rv.msr_no = msr_no; in wrmsr_on_cpu()
81 int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_on_cpu() argument
88 rv.msr_no = msr_no; in wrmsrl_on_cpu()
[all …]
/arch/x86/include/asm/
Dmsr.h24 u32 msr_no; member
258 int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
259 int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
260 int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q);
261 int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q);
262 void rdmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs);
263 void wrmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs);
264 int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
265 int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
266 int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q);
[all …]
/arch/x86/power/
Dcpu.c43 msr->valid = !rdmsrl_safe(msr->info.msr_no, &msr->info.reg.q); in msr_save_context()
55 wrmsrl(msr->info.msr_no, msr->info.reg.q); in msr_restore_context()
378 msr_array[i].info.msr_no = msr_id[j]; in msr_build_context()