Lines Matching refs:eax
136 u32 eax, edx; in show_crit_alarm() local
141 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); in show_crit_alarm()
143 return sprintf(buf, "%d\n", (eax >> 5) & 1); in show_crit_alarm()
167 u32 eax, edx; in show_temp() local
176 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); in show_temp()
183 tdata->temp = tdata->tjmax - ((eax >> 16) & 0x7f) * 1000; in show_temp()
248 u32 eax, edx; in adjust_tjmax() local
289 err = rdmsr_safe_on_cpu(id, 0x17, &eax, &edx); in adjust_tjmax()
295 } else if (c->x86_model < 0x17 && !(eax & 0x10000000)) { in adjust_tjmax()
323 err = rdmsr_safe_on_cpu(id, 0xee, &eax, &edx); in adjust_tjmax()
328 } else if (eax & 0x40000000) { in adjust_tjmax()
357 u32 eax, edx; in get_tjmax() local
364 err = rdmsr_safe_on_cpu(id, MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); in get_tjmax()
369 val = (eax >> 16) & 0xff; in get_tjmax()
477 u32 eax, edx; in create_core_data() local
506 err = rdmsr_safe_on_cpu(cpu, tdata->status_reg, &eax, &edx); in create_core_data()
520 &eax, &edx); in create_core_data()
523 = tdata->tjmax - ((eax >> 8) & 0xff) * 1000; in create_core_data()