| /drivers/char/ |
| A D | toshiba.c | 126 eax = regs->eax & 0xff00; in tosh_emulate_fan() 132 if (eax==0xfe00) { in tosh_emulate_fan() 138 regs->eax = 0x00; in tosh_emulate_fan() 149 regs->eax = 0x00; in tosh_emulate_fan() 160 regs->eax = 0x00; in tosh_emulate_fan() 168 if (eax==0xfe00) { in tosh_emulate_fan() 174 regs->eax = 0x00; in tosh_emulate_fan() 184 regs->eax = 0x00; in tosh_emulate_fan() 208 int eax; in tosh_smm() local 235 : "=a" (eax) in tosh_smm() [all …]
|
| /drivers/cpufreq/ |
| A D | longrun.c | 138 u32 eax, ebx, ecx, edx; in longrun_get() local 143 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_get() 144 pr_debug("cpuid eax is %u\n", eax); in longrun_get() 146 return eax * 1000; in longrun_get() 164 u32 eax, ebx, ecx, edx; in longrun_determine_freqs() local 211 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_determine_freqs() 222 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_determine_freqs() 227 pr_debug("percentage is %u %%, freq is %u MHz\n", ecx, eax); in longrun_determine_freqs() 237 if ((ecx > 95) || (ecx == 0) || (eax < ebx)) in longrun_determine_freqs() 240 edx = ((eax - ebx) * 100) / (100 - ecx); in longrun_determine_freqs()
|
| A D | powernow-k8.c | 462 u32 eax, ebx, ecx, edx; in check_supported_cpu() local 467 eax = cpuid_eax(CPUID_PROCESSOR_SIGNATURE); in check_supported_cpu() 469 if ((eax & CPUID_XFAM) == CPUID_XFAM_K8) { in check_supported_cpu() 470 if (((eax & CPUID_USE_XFAM_XMOD) != CPUID_USE_XFAM_XMOD) || in check_supported_cpu() 471 ((eax & CPUID_XMOD) > CPUID_XMOD_REV_MASK)) { in check_supported_cpu() 472 pr_info("Processor cpuid %x not supported\n", eax); in check_supported_cpu() 476 eax = cpuid_eax(CPUID_GET_MAX_CAPABILITIES); in check_supported_cpu() 477 if (eax < CPUID_FREQ_VOLT_CAPABILITIES) { in check_supported_cpu() 482 cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx); in check_supported_cpu()
|
| A D | powernow-k7.c | 120 unsigned int maxei, eax, ebx, ecx, edx; in check_powernow() local 139 cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in check_powernow()
|
| /drivers/hwmon/ |
| A D | coretemp.c | 163 u32 eax, edx; in adjust_tjmax() local 247 } else if (eax & 0x40000000) { in adjust_tjmax() 277 u32 eax, edx; in get_tjmax() local 293 val = (eax >> 16) & 0xff; in get_tjmax() 314 u32 eax, edx; in get_ttarget() local 328 tjmax = (eax >> 16) & 0xff; in get_ttarget() 331 ttarget_offset = (eax >> 8) & 0xff; in get_ttarget() 356 u32 eax, edx; in show_crit_alarm() local 364 return sprintf(buf, "%d\n", (eax >> 5) & 1); in show_crit_alarm() 398 u32 eax, edx; in show_temp() local [all …]
|
| A D | dell-smm-hwmon.c | 79 unsigned int eax; member 197 "+a" (regs->eax), in i8k_smm_func() 255 ®s->eax, in wmi_parse_response() 286 sizeof(regs->eax), in wmi_smm_call() 287 regs->eax, in wmi_smm_call() 327 unsigned int eax = regs->eax; in dell_smm_call() local 338 eax, ebx, regs->eax & 0xffff, ret, duration); in dell_smm_call() 346 if ((regs->eax & 0xffff) == 0xffff || regs->eax == eax) in dell_smm_call() 358 .eax = I8K_SMM_GET_FAN, in i8k_get_fan_status() 374 .eax = I8K_SMM_GET_SPEED, in i8k_get_fan_speed() [all …]
|
| A D | via-cputemp.c | 68 u32 eax, edx; in temp_show() local 71 err = rdmsr_safe_on_cpu(data->id, data->msr_temp, &eax, &edx); in temp_show() 75 return sprintf(buf, "%lu\n", ((unsigned long)eax & 0xffffff) * 1000); in temp_show() 82 u32 eax, edx; in cpu0_vid_show() local 85 err = rdmsr_safe_on_cpu(data->id, data->msr_vid, &eax, &edx); in cpu0_vid_show() 115 u32 eax, edx; in via_cputemp_probe() local 146 err = rdmsr_safe_on_cpu(data->id, data->msr_temp, &eax, &edx); in via_cputemp_probe()
|
| /drivers/video/fbdev/ |
| A D | uvesafb.c | 371 task->t.regs.eax = 0x4f04; in uvesafb_vbe_state_save() 381 task->t.regs.eax, err); in uvesafb_vbe_state_save() 402 task->t.regs.eax = 0x4f04; in uvesafb_vbe_state_restore() 412 task->t.regs.eax, err); in uvesafb_vbe_state_restore() 422 task->t.regs.eax = 0x4f00; in uvesafb_vbe_getinfo() 502 task->t.regs.eax = 0x4f01; in uvesafb_vbe_getmodes() 560 task->t.regs.eax = 0x4f0a; in uvesafb_vbe_getpmi() 623 task->t.regs.eax = 0x4f15; in uvesafb_vbe_getedid() 645 task->t.regs.eax = 0x4f15; in uvesafb_vbe_getedid() 766 task->t.regs.eax = 0x4f04; in uvesafb_vbe_getstatesize() [all …]
|
| A D | neofb.c | 1296 regs.eax = 0xff00; /* HCI_SET */ in neofb_blank() 1337 regs.eax = 0xff00; /* HCI_SET */ in neofb_blank()
|
| /drivers/input/misc/ |
| A D | wistron_btns.c | 57 u32 eax, ebx, ecx; member 70 : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx) in call_bios() 71 : "0" (regs->eax), "1" (regs->ebx), "2" (regs->ecx), in call_bios() 152 regs.eax = 0x9610; in bios_pop_queue() 157 return regs.eax; in bios_pop_queue() 165 regs.eax = 0x9610; in bios_attach() 175 regs.eax = 0x9610; in bios_detach() 185 regs.eax = 0x9610; in bios_get_cmos_address() 197 regs.eax = 0x9610; in bios_get_default_setting() 201 return regs.eax; in bios_get_default_setting() [all …]
|
| /drivers/thermal/intel/ |
| A D | x86_pkg_temp_thermal.c | 277 u32 mask, shift, eax, edx; in pkg_temp_thermal_trips_init() local 291 &eax, &edx); in pkg_temp_thermal_trips_init() 295 thres_reg_value = (eax & mask) >> shift; in pkg_temp_thermal_trips_init() 315 u32 eax, ebx, ecx, edx; in pkg_temp_thermal_device_add() local 323 cpuid(6, &eax, &ebx, &ecx, &edx); in pkg_temp_thermal_device_add()
|
| /drivers/idle/ |
| A D | intel_idle.c | 148 #define MWAIT2flg(eax) ((eax & 0xFF) << 24) argument 155 unsigned int eax = flg2MWAIT(state->flags); in __intel_idle() local 158 mwait_idle_with_hints(eax, ecx); in __intel_idle() 230 unsigned int eax = flg2MWAIT(state->flags); in intel_idle_s2idle() local 236 mwait_idle_with_hints(eax, ecx); in intel_idle_s2idle() 245 unsigned long eax = flg2MWAIT(state->flags); in intel_idle_enter_dead() local 247 mwait_play_dead(eax); in intel_idle_enter_dead() 1697 unsigned long eax = flg2MWAIT(state->flags); in intel_idle_state_needs_timer_stop() local 1990 unsigned int eax, ebx, ecx, edx; in sklh_idle_state_table_update() local 2008 cpuid(7, &eax, &ebx, &ecx, &edx); in sklh_idle_state_table_update() [all …]
|
| /drivers/dma/ioat/ |
| A D | dca.c | 63 u32 eax; in dca_enabled_in_bios() local 66 eax = cpuid_eax(CPUID_LEAF_DCA); in dca_enabled_in_bios() 67 res = eax & BIT(0); in dca_enabled_in_bios()
|
| /drivers/acpi/ |
| A D | acpi_pad.c | 43 unsigned int eax, ebx, ecx, edx; in power_saving_mwait_init() local 51 cpuid(CPUID_LEAF_MWAIT, &eax, &ebx, &ecx, &edx); in power_saving_mwait_init()
|
| /drivers/xen/xenbus/ |
| A D | xenbus_xs.c | 730 uint32_t eax, ebx, ecx, edx, base; in xen_strict_xenbus_quirk() local 733 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in xen_strict_xenbus_quirk() 735 if ((eax >> 16) < 4) in xen_strict_xenbus_quirk()
|
| /drivers/platform/x86/ |
| A D | acer-wmi.c | 837 u32 eax; member 844 u32 eax; member 938 args.eax = ACER_AMW0_WRITE; in AMW0_set_u32() 981 args.eax = 0x86; in AMW0_find_mailled() 1044 args.eax = ACER_AMW0_WRITE; in AMW0_set_capabilities() 1063 if (ret.eax & 0x1) in AMW0_set_capabilities() 1086 if (ret.eax & 0x1) in AMW0_set_capabilities()
|
| A D | toshiba_acpi.c | 2590 u32 in[TCI_WORDS] = { regs->eax, regs->ebx, regs->ecx, in toshiba_acpi_smm_bridge() 2602 regs->eax = out[0]; in toshiba_acpi_smm_bridge() 2636 if (regs.eax != SCI_GET && regs.eax != SCI_SET) in toshiba_acpi_ioctl()
|