| /drivers/char/ |
| A D | toshiba.c | 123 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 D | longrun.c | 138 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 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()
|
| A D | powernow-k8.c | 462 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 D | vmwgfx_msg.c | 132 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 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() 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 D | intel_idle.c | 156 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 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() 154 regs.ecx = 0x0000; in bios_pop_queue() 189 return regs.ecx; in bios_get_cmos_address()
|
| /drivers/platform/x86/dell/ |
| A D | dcdbas.h | 62 __u32 ecx; member
|
| A D | dell-smbios-smm.c | 62 command.ecx = 0x42534931; in dell_smbios_smm_call()
|
| A D | dcdbas.c | 273 "c" (smi_cmd->ecx) in raise_smi()
|
| /drivers/hwmon/ |
| A D | dell-smm-hwmon.c | 81 unsigned int ecx; member 199 "+c" (regs->ecx), in i8k_smm_func() 257 ®s->ecx, in wmi_parse_response() 290 sizeof(regs->ecx), in wmi_smm_call() 291 regs->ecx, in wmi_smm_call()
|
| /drivers/thermal/intel/ |
| A D | x86_pkg_temp_thermal.c | 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/video/fbdev/ |
| A D | uvesafb.c | 372 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 D | neofb.c | 1298 regs.ecx = 0x0000; /* HCI_DISABLE */ in neofb_blank() 1339 regs.ecx = 0x0001; /* HCI_ENABLE */ in neofb_blank()
|
| /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()
|
| /drivers/platform/x86/ |
| A D | acer-wmi.c | 839 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 D | toshiba_acpi.c | 2590 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()
|