Lines Matching refs:msr_no

18 	u32			msr_no;  member
331 int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
332 int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
333 int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q);
334 int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q);
335 void rdmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr __percpu *msrs);
336 void wrmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr __percpu *msrs);
337 int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
338 int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
339 int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q);
340 int wrmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 q);
344 static inline int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) in rdmsr_on_cpu() argument
346 rdmsr(msr_no, *l, *h); in rdmsr_on_cpu()
349 static inline int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_on_cpu() argument
351 wrmsr(msr_no, l, h); in wrmsr_on_cpu()
354 static inline int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_on_cpu() argument
356 rdmsrl(msr_no, *q); in rdmsrl_on_cpu()
359 static inline int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_on_cpu() argument
361 wrmsrl(msr_no, q); in wrmsrl_on_cpu()
364 static inline void rdmsr_on_cpus(const struct cpumask *m, u32 msr_no, in rdmsr_on_cpus() argument
367 rdmsr_on_cpu(0, msr_no, raw_cpu_ptr(&msrs->l), raw_cpu_ptr(&msrs->h)); in rdmsr_on_cpus()
369 static inline void wrmsr_on_cpus(const struct cpumask *m, u32 msr_no, in wrmsr_on_cpus() argument
372 wrmsr_on_cpu(0, msr_no, raw_cpu_read(msrs->l), raw_cpu_read(msrs->h)); in wrmsr_on_cpus()
374 static inline int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, in rdmsr_safe_on_cpu() argument
377 return rdmsr_safe(msr_no, l, h); in rdmsr_safe_on_cpu()
379 static inline int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_safe_on_cpu() argument
381 return wrmsr_safe(msr_no, l, h); in wrmsr_safe_on_cpu()
383 static inline int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_safe_on_cpu() argument
385 return rdmsrl_safe(msr_no, q); in rdmsrl_safe_on_cpu()
387 static inline int wrmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_safe_on_cpu() argument
389 return wrmsrl_safe(msr_no, q); in wrmsrl_safe_on_cpu()