Lines Matching refs:msr_no
25 u32 msr_no; member
339 int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
340 int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
341 int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q);
342 int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q);
343 void rdmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs);
344 void wrmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs);
345 int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
346 int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
347 int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q);
348 int wrmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 q);
352 static inline int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) in rdmsr_on_cpu() argument
354 rdmsr(msr_no, *l, *h); in rdmsr_on_cpu()
357 static inline int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_on_cpu() argument
359 wrmsr(msr_no, l, h); in wrmsr_on_cpu()
362 static inline int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_on_cpu() argument
364 rdmsrl(msr_no, *q); in rdmsrl_on_cpu()
367 static inline int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_on_cpu() argument
369 wrmsrl(msr_no, q); in wrmsrl_on_cpu()
372 static inline void rdmsr_on_cpus(const struct cpumask *m, u32 msr_no, in rdmsr_on_cpus() argument
375 rdmsr_on_cpu(0, msr_no, &(msrs[0].l), &(msrs[0].h)); in rdmsr_on_cpus()
377 static inline void wrmsr_on_cpus(const struct cpumask *m, u32 msr_no, in wrmsr_on_cpus() argument
380 wrmsr_on_cpu(0, msr_no, msrs[0].l, msrs[0].h); in wrmsr_on_cpus()
382 static inline int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, in rdmsr_safe_on_cpu() argument
385 return rdmsr_safe(msr_no, l, h); in rdmsr_safe_on_cpu()
387 static inline int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) in wrmsr_safe_on_cpu() argument
389 return wrmsr_safe(msr_no, l, h); in wrmsr_safe_on_cpu()
391 static inline int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_safe_on_cpu() argument
393 return rdmsrl_safe(msr_no, q); in rdmsrl_safe_on_cpu()
395 static inline int wrmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_safe_on_cpu() argument
397 return wrmsrl_safe(msr_no, q); in wrmsrl_safe_on_cpu()