Lines Matching refs:eax
135 u32 eax, edx; in coretemp_update_device() local
138 rdmsr_on_cpu(data->id, MSR_IA32_THERM_STATUS, &eax, &edx); in coretemp_update_device()
139 data->alarm = (eax >> 5) & 1; in coretemp_update_device()
141 if (eax & 0x80000000) { in coretemp_update_device()
142 data->temp = data->tjmax - (((eax >> 16) in coretemp_update_device()
146 dev_dbg(dev, "Temperature data invalid (0x%x)\n", eax); in coretemp_update_device()
162 u32 eax, edx; in adjust_tjmax() local
177 err = rdmsr_safe_on_cpu(id, 0x17, &eax, &edx); in adjust_tjmax()
183 } else if (!(eax & 0x10000000)) { in adjust_tjmax()
190 err = rdmsr_safe_on_cpu(id, 0xee, &eax, &edx); in adjust_tjmax()
195 } else if (eax & 0x40000000) { in adjust_tjmax()
210 u32 eax, edx; in coretemp_probe() local
223 err = rdmsr_safe_on_cpu(data->id, MSR_IA32_THERM_STATUS, &eax, &edx); in coretemp_probe()
237 rdmsr_on_cpu(data->id, MSR_IA32_UCODE_REV, &eax, &edx); in coretemp_probe()
254 err = rdmsr_safe_on_cpu(data->id, 0x1a2, &eax, &edx); in coretemp_probe()
260 (((eax >> 8) & 0xff) * 1000); in coretemp_probe()