Home
last modified time | relevance | path

Searched refs:ebx (Results 1 – 25 of 25) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.h45 eax, ebx, ecx, edx, si, di) \ argument
49 "=b"(ebx), \
89 eax, ebx, ecx, edx, si, di) \ argument
96 "=b"(ebx), \
114 eax, ebx, ecx, edx, si, di) \ argument
121 "=b"(ebx), \
143 eax, ebx, ecx, edx, si, di) \ argument
150 "=b"(ebx), \
168 eax, ebx, ecx, edx, si, di) \ argument
175 "=b"(ebx), \
Dvmwgfx_msg.c91 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in vmw_open_channel() local
97 eax, ebx, ecx, edx, si, di); in vmw_open_channel()
120 unsigned long eax, ebx, ecx, edx, si, di; in vmw_close_channel() local
130 eax, ebx, ecx, edx, si, di); in vmw_close_channel()
150 unsigned long eax, ebx, ecx, edx, si, di, bp; in vmw_send_msg() local
166 eax, ebx, ecx, edx, si, di); in vmw_send_msg()
184 eax, ebx, ecx, edx, si, di); in vmw_send_msg()
186 if ((HIGH_WORD(ebx) & MESSAGE_STATUS_SUCCESS) != 0) { in vmw_send_msg()
188 } else if ((HIGH_WORD(ebx) & MESSAGE_STATUS_CPT) != 0) { in vmw_send_msg()
213 unsigned long eax, ebx, ecx, edx, si, di, bp; in vmw_recv_msg() local
[all …]
/drivers/cpufreq/
Dspeedstep-lib.c258 u32 ebx, msr_lo, msr_hi; in speedstep_detect_processor() local
272 ebx = cpuid_ebx(0x00000001); in speedstep_detect_processor()
273 ebx &= 0x000000FF; in speedstep_detect_processor()
275 pr_debug("ebx value is %x, x86_stepping is %x\n", ebx, c->x86_stepping); in speedstep_detect_processor()
283 if ((ebx == 0x0e) || (ebx == 0x0f)) in speedstep_detect_processor()
294 if (ebx == 0x0e) in speedstep_detect_processor()
314 if ((ebx == 0x0e) || in speedstep_detect_processor()
329 ebx = cpuid_ebx(0x00000001); in speedstep_detect_processor()
330 pr_debug("ebx is %x\n", ebx); in speedstep_detect_processor()
332 ebx &= 0x000000FF; in speedstep_detect_processor()
[all …]
Dlongrun.c143 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()
227 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); 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()
Dpowernow-k7.c120 unsigned int maxei, eax, ebx, ecx, edx; in check_powernow() local
139 cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in check_powernow()
Dpowernow-k8.c467 u32 eax, ebx, ecx, edx; in check_supported_cpu() local
487 cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx); in check_supported_cpu()
/drivers/lguest/x86/
Dswitcher_32.S167 movl %ebx, %cr3
174 popl %ebx
213 pushl %ebx; \
235 movl LGUEST_PAGES_regs_trapnum(%eax), %ebx; \
297 leal (%edx,%ebx,8), %eax
Dcore.c189 return &cpu->regs->ebx; in lguest_arch_regptr()
/drivers/hwmon/
Ddell-smm-hwmon.c122 unsigned int ebx __packed;
146 int ebx = regs->ebx; in i8k_smm_func() local
217 pr_debug("smm(0x%.4x 0x%.4x) = 0x%.4x (took %7lu usecs)\n", eax, ebx, in i8k_smm_func()
245 regs.ebx = fan & 0xff; in i8k_get_fan_status()
256 regs.ebx = fan & 0xff; in i8k_get_fan_speed()
270 regs.ebx = fan & 0xff; in _i8k_get_fan_type()
292 regs.ebx = (fan & 0xff) | (speed << 8); in i8k_get_fan_nominal_speed()
304 regs.ebx = (fan & 0xff) | (speed << 8); in i8k_set_fan()
313 regs.ebx = sensor & 0xff; in i8k_get_temp_type()
324 .ebx = sensor & 0xff, in _i8k_get_temp()
/drivers/char/
Dtoshiba.c273 bx = regs.ebx & 0xffff; in tosh_ioctl()
388 regs.ebx = 0x0000; in tosh_get_machine_id()
391 bx = (unsigned short) (regs.ebx & 0xffff); in tosh_get_machine_id()
399 printk("toshiba: debugging ID ebx=0x%04x\n", regs.ebx); in tosh_get_machine_id()
452 regs.ebx = 0x0000; in tosh_probe()
/drivers/hv/
Dhv.c58 unsigned int ebx; in query_hypervisor_info() local
69 ebx = 0; in query_hypervisor_info()
73 cpuid(op, &eax, &ebx, &ecx, &edx); in query_hypervisor_info()
79 ebx = 0; in query_hypervisor_info()
83 cpuid(op, &eax, &ebx, &ecx, &edx); in query_hypervisor_info()
85 host_info_ebx = ebx; in query_hypervisor_info()
/drivers/input/misc/
Dwistron_btns.c69 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()
165 regs.ebx = 0x061C; in bios_pop_queue()
178 regs.ebx = 0x012E; in bios_attach()
188 regs.ebx = 0x002E; in bios_detach()
198 regs.ebx = 0x051C; in bios_get_cmos_address()
210 regs.ebx = 0x0200 | subsys; in bios_get_default_setting()
222 regs.ebx = (enable ? 0x0100 : 0x0000) | subsys; in bios_set_state()
/drivers/video/fbdev/
Duvesafb.c562 task->t.regs.ebx = 0x0; in uvesafb_vbe_getpmi()
626 task->t.regs.ebx = 0; in uvesafb_vbe_getedid()
636 if ((task->t.regs.ebx & 0x3) == 3) { in uvesafb_vbe_getedid()
639 } else if ((task->t.regs.ebx & 0x3) == 2) { in uvesafb_vbe_getedid()
642 } else if ((task->t.regs.ebx & 0x3) == 1) { in uvesafb_vbe_getedid()
652 task->t.regs.ebx = 1; in uvesafb_vbe_getedid()
789 par->vbe_state_size = 64 * (task->t.regs.ebx & 0xffff); in uvesafb_vbe_getstatesize()
984 task->t.regs.ebx = 0x0; in uvesafb_setpalette()
1155 task->t.regs.ebx = 0x0001; in uvesafb_blank()
1158 task->t.regs.ebx = 0x0101; /* standby */ in uvesafb_blank()
[all …]
Dneofb.c1297 regs.ebx = 0x0002; /* HCI_BACKLIGHT */ in neofb_blank()
1338 regs.ebx = 0x0002; /* HCI_BACKLIGHT */ in neofb_blank()
/drivers/platform/x86/
Dacer-wmi.c666 u32 ebx; member
673 u32 ebx; member
767 args.ebx = value ? (1<<8) : 0; in AMW0_set_u32()
774 args.ebx |= ACER_AMW0_MAILLED_MASK; in AMW0_set_u32()
779 args.ebx |= ACER_AMW0_WIRELESS_MASK; in AMW0_set_u32()
784 args.ebx |= ACER_AMW0_BLUETOOTH_MASK; in AMW0_set_u32()
811 args.ebx = args.ecx = args.edx = 0; in AMW0_find_mailled()
876 args.ebx = 0xa2 << 8; in AMW0_set_capabilities()
877 args.ebx |= ACER_AMW0_WIRELESS_MASK; in AMW0_set_capabilities()
895 args.ebx = 2 << 8; in AMW0_set_capabilities()
[all …]
Ddell-smbios.c85 command.ebx = virt_to_phys(buffer); in dell_smbios_send_request()
Dtoshiba_acpi.c2527 u32 in[TCI_WORDS] = { regs->eax, regs->ebx, regs->ecx, in toshiba_acpi_smm_bridge()
2540 regs->ebx = out[1]; in toshiba_acpi_smm_bridge()
/drivers/thermal/
Dx86_pkg_temp_thermal.c403 u32 eax, ebx, ecx, edx; in pkg_temp_thermal_device_add() local
407 cpuid(6, &eax, &ebx, &ecx, &edx); in pkg_temp_thermal_device_add()
408 thres_count = ebx & 0x07; in pkg_temp_thermal_device_add()
Dintel_powerclamp.c183 unsigned int eax, ebx, ecx, edx; in find_target_mwait() local
191 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in find_target_mwait()
/drivers/idle/
Dintel_idle.c1146 unsigned int eax, ebx, ecx; in intel_idle_probe() local
1166 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &mwait_substates); in intel_idle_probe()
1302 unsigned int eax, ebx, ecx, edx; in sklh_idle_state_table_update() local
1320 cpuid(7, &eax, &ebx, &ecx, &edx); in sklh_idle_state_table_update()
1323 if (ebx & (1 << 2)) { in sklh_idle_state_table_update()
/drivers/firmware/
Ddcdbas.h76 __u32 ebx; member
Ddcdbas.c260 "b" (smi_cmd->ebx), in raise_smi()
326 smi_cmd->ebx = (u32) virt_to_phys(smi_cmd->command_buffer); in smi_request_store()
/drivers/acpi/
Dacpi_pad.c44 unsigned int eax, ebx, ecx, edx; in power_saving_mwait_init() local
54 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in power_saving_mwait_init()
/drivers/xen/xenbus/
Dxenbus_xs.c662 uint32_t eax, ebx, ecx, edx, base; in xen_strict_xenbus_quirk() local
665 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in xen_strict_xenbus_quirk()
/drivers/staging/unisys/visorbus/
Dvisorchipset.c2224 unsigned int eax, ebx, ecx, edx; in visorutil_spar_detect() local
2228 cpuid(UNISYS_SPAR_LEAF_ID, &eax, &ebx, &ecx, &edx); in visorutil_spar_detect()
2229 return (ebx == UNISYS_SPAR_ID_EBX) && in visorutil_spar_detect()