/drivers/char/ |
D | toshiba.c | 136 unsigned long eax,ecx,flags; in tosh_emulate_fan() local 140 ecx = regs->ecx & 0xffff; in tosh_emulate_fan() 152 regs->ecx = (unsigned int) (al & 0x01); in tosh_emulate_fan() 154 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan() 163 regs->ecx = 0x00; in tosh_emulate_fan() 165 if ((eax==0xff00) && (ecx==0x0001)) { in tosh_emulate_fan() 174 regs->ecx = 0x01; in tosh_emulate_fan() 188 regs->ecx = al & 0x01; in tosh_emulate_fan() 190 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan() 198 regs->ecx = 0x00; in tosh_emulate_fan() [all …]
|
D | i8k.c | 121 unsigned int ecx __packed;
|
/drivers/cpufreq/ |
D | longrun.c | 143 u32 eax, ebx, ecx, edx; in longrun_get() local 148 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_get() 169 u32 eax, ebx, ecx, edx; in longrun_determine_freqs() local 216 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_determine_freqs() 219 for (try_hi = 80; try_hi > 0 && ecx > 90; try_hi -= 10) { in longrun_determine_freqs() 227 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_determine_freqs() 232 pr_debug("percentage is %u %%, freq is %u MHz\n", ecx, eax); in longrun_determine_freqs() 240 ebx = (((cpu_khz / 1000) * ecx) / 100); /* to MHz */ in longrun_determine_freqs() 242 if ((ecx > 95) || (ecx == 0) || (eax < ebx)) in longrun_determine_freqs() 245 edx = ((eax - ebx) * 100) / (100 - ecx); in longrun_determine_freqs()
|
D | powernow-k7.c | 122 unsigned int maxei, eax, ebx, ecx, edx; in check_powernow() local 142 cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in check_powernow()
|
D | powernow-k8.c | 474 u32 eax, ebx, ecx, edx; in check_supported_cpu() local 494 cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx); in check_supported_cpu()
|
/drivers/staging/unisys/visorutil/ |
D | visorkmodutils.c | 52 unsigned int eax, ebx, ecx, edx; in visorutil_spar_detect() local 56 cpuid(UNISYS_SPAR_LEAF_ID, &eax, &ebx, &ecx, &edx); in visorutil_spar_detect() 58 (ecx == UNISYS_SPAR_ID_ECX) && in visorutil_spar_detect()
|
/drivers/hv/ |
D | hv.c | 52 unsigned int ecx; in query_hypervisor_info() local 63 ecx = 0; in query_hypervisor_info() 66 cpuid(op, &eax, &ebx, &ecx, &edx); in query_hypervisor_info() 73 ecx = 0; in query_hypervisor_info() 76 cpuid(op, &eax, &ebx, &ecx, &edx); in query_hypervisor_info() 79 host_info_ecx = ecx; in query_hypervisor_info()
|
/drivers/thermal/ |
D | intel_powerclamp.c | 183 unsigned int eax, ebx, ecx, edx; in find_target_mwait() local 191 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in find_target_mwait() 193 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in find_target_mwait() 194 !(ecx & CPUID5_ECX_INTERRUPT_BREAK)) in find_target_mwait() 440 unsigned long ecx = 1; in clamp_thread() local 449 mwait_idle_with_hints(eax, ecx); in clamp_thread()
|
D | x86_pkg_temp_thermal.c | 402 u32 eax, ebx, ecx, edx; in pkg_temp_thermal_device_add() local 406 cpuid(6, &eax, &ebx, &ecx, &edx); in pkg_temp_thermal_device_add()
|
/drivers/acpi/ |
D | acpi_pad.c | 49 unsigned int eax, ebx, ecx, edx; in power_saving_mwait_init() local 59 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in power_saving_mwait_init() 61 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in power_saving_mwait_init() 62 !(ecx & CPUID5_ECX_INTERRUPT_BREAK)) in power_saving_mwait_init()
|
/drivers/idle/ |
D | intel_idle.c | 569 unsigned long ecx = 1; /* break on interrupt flag */ in intel_idle() local 587 mwait_idle_with_hints(eax, ecx); in intel_idle() 742 unsigned int eax, ebx, ecx; in intel_idle_probe() local 762 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &mwait_substates); in intel_idle_probe() 764 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in intel_idle_probe() 765 !(ecx & CPUID5_ECX_INTERRUPT_BREAK) || in intel_idle_probe()
|
/drivers/lguest/x86/ |
D | switcher_32.S | 175 popl %ecx 212 pushl %ecx; \
|
/drivers/input/misc/ |
D | wistron_btns.c | 69 u32 eax, ebx, ecx; member 82 : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx) in call_bios() 83 : "0" (regs->eax), "1" (regs->ebx), "2" (regs->ecx), in call_bios() 166 regs.ecx = 0x0000; in bios_pop_queue() 201 return regs.ecx; in bios_get_cmos_address()
|
/drivers/firmware/ |
D | dcdbas.h | 77 __u32 ecx; member
|
D | dcdbas.c | 279 "c" (smi_cmd->ecx) in dcdbas_smi_request()
|
/drivers/video/fbdev/ |
D | uvesafb.c | 370 task->t.regs.ecx = 0x000f; in uvesafb_vbe_state_save() 402 task->t.regs.ecx = 0x000f; in uvesafb_vbe_state_restore() 503 task->t.regs.ecx = (u32) *mode; in uvesafb_vbe_getmodes() 627 task->t.regs.ecx = 0; in uvesafb_vbe_getedid() 653 task->t.regs.ecx = task->t.regs.edx = 0; in uvesafb_vbe_getedid() 775 task->t.regs.ecx = 0x000f; in uvesafb_vbe_getstatesize() 985 task->t.regs.ecx = count; in uvesafb_setpalette()
|
D | neofb.c | 1303 regs.ecx = 0x0000; /* HCI_DISABLE */ in neofb_blank() 1344 regs.ecx = 0x0001; /* HCI_ENABLE */ in neofb_blank()
|
/drivers/platform/x86/ |
D | acer-wmi.c | 629 u32 ecx; member 636 u32 ecx; member 730 args.ecx = args.edx = 0; in AMW0_set_u32() 773 args.ebx = args.ecx = args.edx = 0; in AMW0_find_mailled() 843 args.ecx = args.edx = 0; in AMW0_set_capabilities()
|
D | dell-laptop.c | 355 command.ecx = 0x42534931; in dell_send_request()
|
/drivers/xen/xenbus/ |
D | xenbus_xs.c | 664 uint32_t eax, ebx, ecx, edx, base; in xen_strict_xenbus_quirk() local 667 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in xen_strict_xenbus_quirk()
|