Lines Matching defs:val
19 unsigned long long val;
21 asm volatile("rdmsr" : "=A" (val) : "c" (msr));
22 return val;
28 unsigned long long val;
39 : "=r" (*err), "=A" (val)
42 return val;
45 static inline void native_write_msr(unsigned int msr, unsigned long long val)
47 asm volatile("wrmsr" : : "c" (msr), "A"(val));
51 unsigned long long val)
64 : "c" (msr), "0" ((u32)val), "d" ((u32)(val>>32)),
71 unsigned long long val;
72 asm volatile("rdtsc" : "=A" (val));
73 return val;
78 unsigned long long val;
79 asm volatile("rdpmc" : "=A" (val));
80 return val;
105 #define rdmsrl(msr,val) \
106 ((val) = native_read_msr(msr))
108 #define wrmsrl(msr,val) native_write_msr(msr, val)
129 #define rdtscll(val) \
130 ((val) = native_read_tsc())
184 #define rdmsrl(msr,val) do { unsigned long a__,b__; \
188 val = a__ | (b__<<32); \
196 #define wrmsrl(msr,val) wrmsr(msr,(__u32)((__u64)(val)),((__u64)(val))>>32)
207 #define rdtscll(val) do { \
210 (val) = ((unsigned long)__a) | (((unsigned long)__d)<<32); \
213 #define rdtscpll(val, aux) do { \
216 (val) = (__d << 32) | __a; \
221 #define write_rdtscp_aux(val) wrmsr(0xc0000103, val, 0)
313 #define checking_wrmsrl(msr,val) wrmsr_safe(msr,(u32)(val),(u32)((val)>>32))