Lines Matching refs:eax
119 u32 eax, edx; in show_crit_alarm() local
125 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); in show_crit_alarm()
128 return sprintf(buf, "%d\n", (eax >> 5) & 1); in show_crit_alarm()
152 u32 eax, edx; in show_temp() local
161 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); in show_temp()
168 tdata->temp = tdata->tjmax - ((eax >> 16) & 0x7f) * 1000; in show_temp()
233 u32 eax, edx; in adjust_tjmax() local
278 err = rdmsr_safe_on_cpu(id, 0x17, &eax, &edx); in adjust_tjmax()
284 } else if (c->x86_model < 0x17 && !(eax & 0x10000000)) { in adjust_tjmax()
312 err = rdmsr_safe_on_cpu(id, 0xee, &eax, &edx); in adjust_tjmax()
317 } else if (eax & 0x40000000) { in adjust_tjmax()
346 u32 eax, edx; in get_tjmax() local
353 err = rdmsr_safe_on_cpu(id, MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); in get_tjmax()
358 val = (eax >> 16) & 0xff; in get_tjmax()
465 u32 eax, edx; in create_core_data() local
491 err = rdmsr_safe_on_cpu(cpu, tdata->status_reg, &eax, &edx); in create_core_data()
505 &eax, &edx); in create_core_data()
508 = tdata->tjmax - ((eax >> 8) & 0xff) * 1000; in create_core_data()