Lines Matching refs:msr_no
17 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 wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_on_cpu() argument
57 rv.msr_no = msr_no; in wrmsr_on_cpu()
66 static void __rwmsr_on_cpus(const struct cpumask *mask, u32 msr_no, in __rwmsr_on_cpus() argument
76 rv.msr_no = msr_no; in __rwmsr_on_cpus()
94 void rdmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs) in rdmsr_on_cpus() argument
96 __rwmsr_on_cpus(mask, msr_no, msrs, __rdmsr_on_cpu); in rdmsr_on_cpus()
108 void wrmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs) in wrmsr_on_cpus() argument
110 __rwmsr_on_cpus(mask, msr_no, msrs, __wrmsr_on_cpu); in wrmsr_on_cpus()
120 rv->err = rdmsr_safe(rv->msr_no, &rv->reg.l, &rv->reg.h); in __rdmsr_safe_on_cpu()
127 rv->err = wrmsr_safe(rv->msr_no, rv->reg.l, rv->reg.h); in __wrmsr_safe_on_cpu()
130 int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) in rdmsr_safe_on_cpu() argument
137 rv.msr_no = msr_no; in rdmsr_safe_on_cpu()
146 int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_safe_on_cpu() argument
153 rv.msr_no = msr_no; in wrmsr_safe_on_cpu()