Lines Matching refs:msr_no
18 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()
97 static void __rwmsr_on_cpus(const struct cpumask *mask, u32 msr_no, in __rwmsr_on_cpus() argument
107 rv.msr_no = msr_no; in __rwmsr_on_cpus()
125 void rdmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr __percpu *msrs) in rdmsr_on_cpus() argument
127 __rwmsr_on_cpus(mask, msr_no, msrs, __rdmsr_on_cpu); in rdmsr_on_cpus()
139 void wrmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr __percpu *msrs) in wrmsr_on_cpus() argument
141 __rwmsr_on_cpus(mask, msr_no, msrs, __wrmsr_on_cpu); in wrmsr_on_cpus()
156 rv->msr.err = rdmsr_safe(rv->msr.msr_no, &rv->msr.reg.l, &rv->msr.reg.h); in __rdmsr_safe_on_cpu()
164 rv->err = wrmsr_safe(rv->msr_no, rv->reg.l, rv->reg.h); in __wrmsr_safe_on_cpu()
167 int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) in rdmsr_safe_on_cpu() argument
177 rv.msr.msr_no = msr_no; in rdmsr_safe_on_cpu()
191 int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_safe_on_cpu() argument
198 rv.msr_no = msr_no; in wrmsr_safe_on_cpu()
207 int wrmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_safe_on_cpu() argument
214 rv.msr_no = msr_no; in wrmsrl_safe_on_cpu()
223 int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_safe_on_cpu() argument
228 err = rdmsr_safe_on_cpu(cpu, msr_no, &low, &high); in rdmsrl_safe_on_cpu()