Lines Matching refs:msr_no
16 u32 msr_no; member
314 int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
315 int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
316 int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q);
317 int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q);
318 void rdmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs);
319 void wrmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs);
320 int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
321 int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
322 int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q);
323 int wrmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 q);
327 static inline int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) in rdmsr_on_cpu() argument
329 rdmsr(msr_no, *l, *h); in rdmsr_on_cpu()
332 static inline int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_on_cpu() argument
334 wrmsr(msr_no, l, h); in wrmsr_on_cpu()
337 static inline int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_on_cpu() argument
339 rdmsrl(msr_no, *q); in rdmsrl_on_cpu()
342 static inline int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_on_cpu() argument
344 wrmsrl(msr_no, q); in wrmsrl_on_cpu()
347 static inline void rdmsr_on_cpus(const struct cpumask *m, u32 msr_no, in rdmsr_on_cpus() argument
350 rdmsr_on_cpu(0, msr_no, &(msrs[0].l), &(msrs[0].h)); in rdmsr_on_cpus()
352 static inline void wrmsr_on_cpus(const struct cpumask *m, u32 msr_no, in wrmsr_on_cpus() argument
355 wrmsr_on_cpu(0, msr_no, msrs[0].l, msrs[0].h); in wrmsr_on_cpus()
357 static inline int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, in rdmsr_safe_on_cpu() argument
360 return rdmsr_safe(msr_no, l, h); in rdmsr_safe_on_cpu()
362 static inline int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_safe_on_cpu() argument
364 return wrmsr_safe(msr_no, l, h); in wrmsr_safe_on_cpu()
366 static inline int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_safe_on_cpu() argument
368 return rdmsrl_safe(msr_no, q); in rdmsrl_safe_on_cpu()
370 static inline int wrmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_safe_on_cpu() argument
372 return wrmsrl_safe(msr_no, q); in wrmsrl_safe_on_cpu()