Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.c92 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()
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()
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()
169 return ebx; in vmw_port_hb_out()
188 eax, ebx, ecx, edx, si, di); in vmw_port_hb_out()
207 unsigned long si, di, eax, ebx, ecx, edx; in vmw_port_hb_in() local
221 eax, ebx, ecx, edx, si, di); in vmw_port_hb_in()
[all …]
Dvmwgfx_msg.h59 eax, ebx, ecx, edx, si, di) \ argument
63 "=b"(ebx), \
103 eax, ebx, ecx, edx, si, di) \ argument
110 "=b"(ebx), \
128 eax, ebx, ecx, edx, si, di) \ argument
135 "=b"(ebx), \
162 eax, ebx, ecx, edx, si, di) \ argument
171 "=b"(ebx), \
189 eax, ebx, ecx, edx, si, di) \ argument
198 "=b"(ebx), \
/drivers/cpufreq/
Dspeedstep-lib.c257 u32 ebx, msr_lo, msr_hi; in speedstep_detect_processor() local
271 ebx = cpuid_ebx(0x00000001); in speedstep_detect_processor()
272 ebx &= 0x000000FF; in speedstep_detect_processor()
274 pr_debug("ebx value is %x, x86_stepping is %x\n", ebx, c->x86_stepping); in speedstep_detect_processor()
282 if ((ebx == 0x0e) || (ebx == 0x0f)) in speedstep_detect_processor()
293 if (ebx == 0x0e) in speedstep_detect_processor()
313 if ((ebx == 0x0e) || in speedstep_detect_processor()
328 ebx = cpuid_ebx(0x00000001); in speedstep_detect_processor()
329 pr_debug("ebx is %x\n", ebx); in speedstep_detect_processor()
331 ebx &= 0x000000FF; in speedstep_detect_processor()
[all …]
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()
222 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); 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()
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.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/char/
Dtoshiba.c261 bx = regs.ebx & 0xffff; in tosh_ioctl()
363 regs.ebx = 0x0000; in tosh_get_machine_id()
366 bx = (unsigned short) (regs.ebx & 0xffff); in tosh_get_machine_id()
374 pr_debug("toshiba: debugging ID ebx=0x%04x\n", regs.ebx); in tosh_get_machine_id()
427 regs.ebx = 0x0000; in tosh_probe()
/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()
248 regs.ebx = fan & 0xff; in i8k_get_fan_status()
262 regs.ebx = fan & 0xff; in i8k_get_fan_speed()
276 regs.ebx = fan & 0xff; in _i8k_get_fan_type()
301 regs.ebx = (fan & 0xff) | (speed << 8); in i8k_get_fan_nominal_speed()
330 regs.ebx = (fan & 0xff) | (speed << 8); in i8k_set_fan()
339 regs.ebx = sensor & 0xff; in i8k_get_temp_type()
350 .ebx = sensor & 0xff, in _i8k_get_temp()
/drivers/input/misc/
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()
153 regs.ebx = 0x061C; in bios_pop_queue()
166 regs.ebx = 0x012E; in bios_attach()
176 regs.ebx = 0x002E; in bios_detach()
186 regs.ebx = 0x051C; in bios_get_cmos_address()
198 regs.ebx = 0x0200 | subsys; in bios_get_default_setting()
210 regs.ebx = (enable ? 0x0100 : 0x0000) | subsys; in bios_set_state()
/drivers/video/fbdev/
Duvesafb.c561 task->t.regs.ebx = 0x0; in uvesafb_vbe_getpmi()
622 task->t.regs.ebx = 0; in uvesafb_vbe_getedid()
632 if ((task->t.regs.ebx & 0x3) == 3) { in uvesafb_vbe_getedid()
634 } else if ((task->t.regs.ebx & 0x3) == 2) { in uvesafb_vbe_getedid()
636 } else if ((task->t.regs.ebx & 0x3) == 1) { in uvesafb_vbe_getedid()
644 task->t.regs.ebx = 1; in uvesafb_vbe_getedid()
778 par->vbe_state_size = 64 * (task->t.regs.ebx & 0xffff); in uvesafb_vbe_getstatesize()
971 task->t.regs.ebx = 0x0; in uvesafb_setpalette()
1143 task->t.regs.ebx = 0x0001; in uvesafb_blank()
1146 task->t.regs.ebx = 0x0101; /* standby */ in uvesafb_blank()
[all …]
Dneofb.c1296 regs.ebx = 0x0002; /* HCI_BACKLIGHT */ in neofb_blank()
1337 regs.ebx = 0x0002; /* HCI_BACKLIGHT */ in neofb_blank()
/drivers/platform/x86/
Dacer-wmi.c727 u32 ebx; member
734 u32 ebx; member
828 args.ebx = value ? (1<<8) : 0; in AMW0_set_u32()
835 args.ebx |= ACER_AMW0_MAILLED_MASK; in AMW0_set_u32()
840 args.ebx |= ACER_AMW0_WIRELESS_MASK; in AMW0_set_u32()
845 args.ebx |= ACER_AMW0_BLUETOOTH_MASK; in AMW0_set_u32()
872 args.ebx = args.ecx = args.edx = 0; in AMW0_find_mailled()
937 args.ebx = 0xa2 << 8; in AMW0_set_capabilities()
938 args.ebx |= ACER_AMW0_WIRELESS_MASK; in AMW0_set_capabilities()
956 args.ebx = 2 << 8; in AMW0_set_capabilities()
[all …]
Ddcdbas.h69 __u32 ebx; member
Ddell-smbios-smm.c91 command.ebx = virt_to_phys(buffer); in dell_smbios_smm_call()
Ddcdbas.c258 "b" (smi_cmd->ebx), in raise_smi()
335 smi_cmd->ebx = smi_data_buf_phys_addr + in smi_request_store()
Dtoshiba_acpi.c2492 u32 in[TCI_WORDS] = { regs->eax, regs->ebx, regs->ecx, in toshiba_acpi_smm_bridge()
2505 regs->ebx = out[1]; in toshiba_acpi_smm_bridge()
/drivers/thermal/intel/
Dx86_pkg_temp_thermal.c332 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()
340 thres_count = ebx & 0x07; in pkg_temp_thermal_device_add()
Dintel_powerclamp.c180 unsigned int eax, ebx, ecx, edx; in find_target_mwait() local
188 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in find_target_mwait()
/drivers/acpi/
Dacpi_pad.c36 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()
/drivers/idle/
Dintel_idle.c1439 unsigned int eax, ebx, ecx, edx; in sklh_idle_state_table_update() local
1457 cpuid(7, &eax, &ebx, &ecx, &edx); in sklh_idle_state_table_update()
1460 if (ebx & (1 << 2)) { 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()
/drivers/xen/xenbus/
Dxenbus_xs.c733 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/
Dvisorchipset.c1656 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()
1661 return (ebx == UNISYS_VISOR_ID_EBX) && in visorutil_spar_detect()