Lines Matching defs:eax
154 u32 eax, edx;
199 err = rdmsr_safe_on_cpu(id, 0x17, &eax, &edx);
205 } else if (c->x86_model < 0x17 && !(eax & 0x10000000)) {
233 err = rdmsr_safe_on_cpu(id, 0xee, &eax, &edx);
238 } else if (eax & 0x40000000) {
268 u32 eax, edx;
279 err = rdmsr_safe_on_cpu(tdata->cpu, MSR_IA32_TEMPERATURE_TARGET, &eax, &edx);
284 val = (eax >> 16) & 0xff;
305 u32 eax, edx;
315 ret = rdmsr_safe_on_cpu(tdata->cpu, MSR_IA32_TEMPERATURE_TARGET, &eax, &edx);
319 tjmax = (eax >> 16) & 0xff;
322 ttarget_offset = (eax >> 8) & 0xff;
348 u32 eax, edx;
354 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx);
357 return sprintf(buf, "%d\n", (eax >> 5) & 1);
395 u32 eax, edx;
406 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx);
413 tdata->temp = tjmax - ((eax >> 16) & 0x7f) * 1000;
504 u32 eax, edx;
533 err = rdmsr_safe_on_cpu(cpu, tdata->status_reg, &eax, &edx);