Lines Matching refs:msr_no
25 u32 msr_no; member
328 int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
329 int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
330 int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q);
331 int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q);
332 void rdmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs);
333 void wrmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs);
334 int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
335 int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
336 int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q);
337 int wrmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 q);
341 static inline int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) in rdmsr_on_cpu() argument
343 rdmsr(msr_no, *l, *h); in rdmsr_on_cpu()
346 static inline int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_on_cpu() argument
348 wrmsr(msr_no, l, h); in wrmsr_on_cpu()
351 static inline int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_on_cpu() argument
353 rdmsrl(msr_no, *q); in rdmsrl_on_cpu()
356 static inline int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_on_cpu() argument
358 wrmsrl(msr_no, q); in wrmsrl_on_cpu()
361 static inline void rdmsr_on_cpus(const struct cpumask *m, u32 msr_no, in rdmsr_on_cpus() argument
364 rdmsr_on_cpu(0, msr_no, &(msrs[0].l), &(msrs[0].h)); in rdmsr_on_cpus()
366 static inline void wrmsr_on_cpus(const struct cpumask *m, u32 msr_no, in wrmsr_on_cpus() argument
369 wrmsr_on_cpu(0, msr_no, msrs[0].l, msrs[0].h); in wrmsr_on_cpus()
371 static inline int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, in rdmsr_safe_on_cpu() argument
374 return rdmsr_safe(msr_no, l, h); in rdmsr_safe_on_cpu()
376 static inline int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_safe_on_cpu() argument
378 return wrmsr_safe(msr_no, l, h); in wrmsr_safe_on_cpu()
380 static inline int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_safe_on_cpu() argument
382 return rdmsrl_safe(msr_no, q); in rdmsrl_safe_on_cpu()
384 static inline int wrmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_safe_on_cpu() argument
386 return wrmsrl_safe(msr_no, q); in wrmsrl_safe_on_cpu()