/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_msg.c | 92 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in vmw_open_channel() local 98 eax, ebx, ecx, edx, si, di); in vmw_open_channel() 100 if ((HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS) == 0) in vmw_open_channel() 121 unsigned long eax, ebx, ecx, edx, si, di; in vmw_close_channel() local 131 eax, ebx, ecx, edx, si, di); in vmw_close_channel() 133 if ((HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS) == 0) in vmw_close_channel() 151 unsigned long si, di, eax, ebx, ecx, edx; in vmw_port_hb_out() local 167 eax, ebx, ecx, edx, si, di); in vmw_port_hb_out() 173 ecx = MESSAGE_STATUS_SUCCESS << 16; in vmw_port_hb_out() 174 while (msg_len && (HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS)) { in vmw_port_hb_out() [all …]
|
D | vmwgfx_msg.h | 59 eax, ebx, ecx, edx, si, di) \ argument 64 "=c"(ecx), \ 103 eax, ebx, ecx, edx, si, di) \ argument 111 "=c"(ecx), \ 128 eax, ebx, ecx, edx, si, di) \ argument 136 "=c"(ecx), \ 162 eax, ebx, ecx, edx, si, di) \ argument 172 "=c"(ecx), \ 189 eax, ebx, ecx, edx, si, di) \ argument 199 "=c"(ecx), \
|
/drivers/char/ |
D | toshiba.c | 124 unsigned long eax,ecx,flags; in tosh_emulate_fan() local 128 ecx = regs->ecx & 0xffff; in tosh_emulate_fan() 140 regs->ecx = (unsigned int) (al & 0x01); in tosh_emulate_fan() 142 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan() 151 regs->ecx = 0x00; in tosh_emulate_fan() 153 if ((eax==0xff00) && (ecx==0x0001)) { in tosh_emulate_fan() 162 regs->ecx = 0x01; in tosh_emulate_fan() 176 regs->ecx = al & 0x01; in tosh_emulate_fan() 178 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan() 186 regs->ecx = 0x00; in tosh_emulate_fan() [all …]
|
/drivers/cpufreq/ |
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()
|
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()
|
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/idle/ |
D | intel_idle.c | 136 unsigned long ecx = 1; /* break on interrupt flag */ in intel_idle() local 138 mwait_idle_with_hints(eax, ecx); in intel_idle() 177 unsigned long ecx = 1; /* break on interrupt flag */ in intel_idle_s2idle() local 179 mwait_idle_with_hints(eax, ecx); in intel_idle_s2idle() 1439 unsigned int eax, ebx, ecx, edx; in sklh_idle_state_table_update() local 1456 ecx = 0; in sklh_idle_state_table_update() 1457 cpuid(7, &eax, &ebx, &ecx, &edx); in sklh_idle_state_table_update() 1651 unsigned int eax, ebx, ecx; in intel_idle_init() local 1678 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &mwait_substates); in intel_idle_init() 1680 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in intel_idle_init() [all …]
|
/drivers/acpi/ |
D | acpi_pad.c | 36 unsigned int eax, ebx, ecx, edx; in power_saving_mwait_init() local 46 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in power_saving_mwait_init() 48 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in power_saving_mwait_init() 49 !(ecx & CPUID5_ECX_INTERRUPT_BREAK)) in power_saving_mwait_init()
|
/drivers/thermal/intel/ |
D | intel_powerclamp.c | 180 unsigned int eax, ebx, ecx, edx; in find_target_mwait() local 188 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in find_target_mwait() 190 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in find_target_mwait() 191 !(ecx & CPUID5_ECX_INTERRUPT_BREAK)) in find_target_mwait()
|
D | x86_pkg_temp_thermal.c | 332 u32 tj_max, eax, ebx, ecx, edx; in pkg_temp_thermal_device_add() local 339 cpuid(6, &eax, &ebx, &ecx, &edx); in pkg_temp_thermal_device_add()
|
/drivers/input/misc/ |
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/ |
D | dcdbas.h | 70 __u32 ecx; member
|
D | dell-smbios-smm.c | 92 command.ecx = 0x42534931; in dell_smbios_smm_call()
|
D | acer-wmi.c | 728 u32 ecx; member 735 u32 ecx; member 829 args.ecx = args.edx = 0; in AMW0_set_u32() 872 args.ebx = args.ecx = args.edx = 0; in AMW0_find_mailled() 935 args.ecx = args.edx = 0; in AMW0_set_capabilities()
|
D | dcdbas.c | 259 "c" (smi_cmd->ecx) in raise_smi()
|
D | toshiba_acpi.c | 2492 u32 in[TCI_WORDS] = { regs->eax, regs->ebx, regs->ecx, in toshiba_acpi_smm_bridge() 2506 regs->ecx = out[2]; in toshiba_acpi_smm_bridge()
|
/drivers/video/fbdev/ |
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() 623 task->t.regs.ecx = 0; in uvesafb_vbe_getedid() 645 task->t.regs.ecx = task->t.regs.edx = 0; in uvesafb_vbe_getedid() 765 task->t.regs.ecx = 0x000f; in uvesafb_vbe_getstatesize() 972 task->t.regs.ecx = count; in uvesafb_setpalette()
|
D | neofb.c | 1297 regs.ecx = 0x0000; /* HCI_DISABLE */ in neofb_blank() 1338 regs.ecx = 0x0001; /* HCI_ENABLE */ in neofb_blank()
|
/drivers/xen/xenbus/ |
D | xenbus_xs.c | 733 uint32_t eax, ebx, ecx, edx, base; in xen_strict_xenbus_quirk() local 736 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in xen_strict_xenbus_quirk()
|
/drivers/visorbus/ |
D | visorchipset.c | 1656 unsigned int eax, ebx, ecx, edx; in visorutil_spar_detect() local 1660 cpuid(UNISYS_VISOR_LEAF_ID, &eax, &ebx, &ecx, &edx); in visorutil_spar_detect() 1662 (ecx == UNISYS_VISOR_ID_ECX) && in visorutil_spar_detect()
|
/drivers/hwmon/ |
D | dell-smm-hwmon.c | 123 unsigned int ecx __packed;
|