Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/lib/
Dmsr-smp.c19 rdmsr(rv->msr_no, reg->l, reg->h); in __rdmsr_on_cpu()
33 wrmsr(rv->msr_no, reg->l, reg->h); in __wrmsr_on_cpu()
36 int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) in rdmsr_on_cpu() argument
43 rv.msr_no = msr_no; in rdmsr_on_cpu()
52 int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_on_cpu() argument
59 rv.msr_no = msr_no; in rdmsrl_on_cpu()
67 int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_on_cpu() argument
74 rv.msr_no = msr_no; in wrmsr_on_cpu()
83 int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_on_cpu() argument
90 rv.msr_no = msr_no; in wrmsrl_on_cpu()
[all …]
/Linux-v5.4/arch/x86/include/asm/
Dmsr.h25 u32 msr_no; member
339 int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
340 int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
341 int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q);
342 int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q);
343 void rdmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs);
344 void wrmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs);
345 int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
346 int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
347 int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q);
[all …]
/Linux-v5.4/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()
424 msr_array[i].info.msr_no = msr_id[j]; in msr_build_context()