Home
last modified time | relevance | path

Searched refs:ecx (Results 1 – 18 of 18) sorted by relevance

/drivers/char/
A Dtoshiba.c123 unsigned long eax,ecx,flags; in tosh_emulate_fan() local
127 ecx = regs->ecx & 0xffff; in tosh_emulate_fan()
141 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan()
150 regs->ecx = 0x00; in tosh_emulate_fan()
152 if ((eax==0xff00) && (ecx==0x0001)) { in tosh_emulate_fan()
161 regs->ecx = 0x01; in tosh_emulate_fan()
175 regs->ecx = al & 0x01; in tosh_emulate_fan()
185 regs->ecx = 0x00; in tosh_emulate_fan()
195 regs->ecx = 0x01; in tosh_emulate_fan()
363 regs.ecx = 0x0000; in tosh_get_machine_id()
[all …]
/drivers/cpufreq/
A Dlongrun.c138 u32 eax, ebx, ecx, edx; in longrun_get() local
143 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); 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()
214 for (try_hi = 80; try_hi > 0 && ecx > 90; try_hi -= 10) { 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()
235 ebx = (((cpu_khz / 1000) * ecx) / 100); /* to MHz */ 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 Dpowernow-k7.c120 unsigned int maxei, eax, ebx, ecx, edx; in check_powernow() local
139 cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in check_powernow()
A Dpowernow-k8.c462 u32 eax, ebx, ecx, edx; in check_supported_cpu() local
482 cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx); in check_supported_cpu()
/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_msg.c132 u32 ecx; in vmw_close_channel() local
138 &ecx); in vmw_close_channel()
158 u32 ebx, ecx; in vmw_port_hb_out() local
189 &ecx); in vmw_port_hb_out()
192 return ecx; in vmw_port_hb_out()
208 u32 ebx, ecx, edx; in vmw_port_hb_in() local
244 return ecx; in vmw_port_hb_in()
258 u32 ebx, ecx; in vmw_send_msg() local
269 &ecx); in vmw_send_msg()
307 u32 ebx, ecx, edx; in vmw_recv_msg() local
[all …]
/drivers/acpi/
A Dacpi_pad.c43 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()
53 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in power_saving_mwait_init()
54 !(ecx & CPUID5_ECX_INTERRUPT_BREAK)) in power_saving_mwait_init()
/drivers/idle/
A Dintel_idle.c156 unsigned int ecx = 1*irqoff; /* break on interrupt flag */ in __intel_idle() local
158 mwait_idle_with_hints(eax, ecx); in __intel_idle()
231 unsigned int ecx = 1; /* break on interrupt flag */ in intel_idle_s2idle() local
236 mwait_idle_with_hints(eax, ecx); in intel_idle_s2idle()
1990 unsigned int eax, ebx, ecx, edx; in sklh_idle_state_table_update() local
2007 ecx = 0; in sklh_idle_state_table_update()
2008 cpuid(7, &eax, &ebx, &ecx, &edx); in sklh_idle_state_table_update()
2426 unsigned int eax, ebx, ecx; in intel_idle_init() local
2450 cpuid(CPUID_LEAF_MWAIT, &eax, &ebx, &ecx, &mwait_substates); in intel_idle_init()
2452 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in intel_idle_init()
[all …]
/drivers/input/misc/
A Dwistron_btns.c57 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()
154 regs.ecx = 0x0000; in bios_pop_queue()
189 return regs.ecx; in bios_get_cmos_address()
/drivers/platform/x86/dell/
A Ddcdbas.h62 __u32 ecx; member
A Ddell-smbios-smm.c62 command.ecx = 0x42534931; in dell_smbios_smm_call()
A Ddcdbas.c273 "c" (smi_cmd->ecx) in raise_smi()
/drivers/hwmon/
A Ddell-smm-hwmon.c81 unsigned int ecx; member
199 "+c" (regs->ecx), in i8k_smm_func()
257 &regs->ecx, in wmi_parse_response()
290 sizeof(regs->ecx), in wmi_smm_call()
291 regs->ecx, in wmi_smm_call()
/drivers/thermal/intel/
A Dx86_pkg_temp_thermal.c315 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/video/fbdev/
A Duvesafb.c372 task->t.regs.ecx = 0x000f; in uvesafb_vbe_state_save()
403 task->t.regs.ecx = 0x000f; in uvesafb_vbe_state_restore()
503 task->t.regs.ecx = (u32) *mode; in uvesafb_vbe_getmodes()
625 task->t.regs.ecx = 0; in uvesafb_vbe_getedid()
647 task->t.regs.ecx = task->t.regs.edx = 0; in uvesafb_vbe_getedid()
767 task->t.regs.ecx = 0x000f; in uvesafb_vbe_getstatesize()
974 task->t.regs.ecx = count; in uvesafb_setpalette()
A Dneofb.c1298 regs.ecx = 0x0000; /* HCI_DISABLE */ in neofb_blank()
1339 regs.ecx = 0x0001; /* HCI_ENABLE */ in neofb_blank()
/drivers/xen/xenbus/
A Dxenbus_xs.c730 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()
/drivers/platform/x86/
A Dacer-wmi.c839 u32 ecx; member
846 u32 ecx; member
940 args.ecx = args.edx = 0; in AMW0_set_u32()
982 args.ebx = args.ecx = args.edx = 0; in AMW0_find_mailled()
1045 args.ecx = args.edx = 0; in AMW0_set_capabilities()
A Dtoshiba_acpi.c2590 u32 in[TCI_WORDS] = { regs->eax, regs->ebx, regs->ecx, in toshiba_acpi_smm_bridge()
2604 regs->ecx = out[2]; in toshiba_acpi_smm_bridge()

Completed in 76 milliseconds