Lines Matching defs:msr_no
7 u32 msr_no;
16 rdmsr(rv->msr_no, rv->l, rv->h);
23 rv->err = rdmsr_safe(rv->msr_no, &rv->l, &rv->h);
26 static int _rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h, int safe)
32 err = rdmsr_safe(msr_no, l, h);
34 rdmsr(msr_no, *l, *h);
38 rv.msr_no = msr_no;
57 wrmsr(rv->msr_no, rv->l, rv->h);
64 rv->err = wrmsr_safe(rv->msr_no, rv->l, rv->h);
67 static int _wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h, int safe)
73 err = wrmsr_safe(msr_no, l, h);
75 wrmsr(msr_no, l, h);
79 rv.msr_no = msr_no;
94 void wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h)
96 _wrmsr_on_cpu(cpu, msr_no, l, h, 0);
99 void rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h)
101 _rdmsr_on_cpu(cpu, msr_no, l, h, 0);
106 int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h)
108 return _wrmsr_on_cpu(cpu, msr_no, l, h, 1);
111 int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h)
113 return _rdmsr_on_cpu(cpu, msr_no, l, h, 1);