Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg_x86.h62 eax, ebx, ecx, edx, si, di) \ argument
66 "=b"(ebx), \
106 eax, ebx, ecx, edx, si, di) \ argument
113 "=b"(ebx), \
131 eax, ebx, ecx, edx, si, di) \ argument
138 "=b"(ebx), \
165 eax, ebx, ecx, edx, si, di) \ argument
174 "=b"(ebx), \
192 eax, ebx, ecx, edx, si, di) \ argument
201 "=b"(ebx), \
Dvmwgfx_msg_arm64.h51 unsigned long *eax, unsigned long *ebx, in vmw_port() argument
73 *ebx = x1; in vmw_port()
84 unsigned long *eax, unsigned long *ebx, in vmw_port_hb() argument
106 *ebx = x1; in vmw_port_hb()
113 #define VMW_PORT(cmd, in_ebx, in_si, in_di, flags, magic, eax, ebx, ecx, edx, \ argument
115 vmw_port(cmd, in_ebx, in_si, in_di, flags, magic, &eax, &ebx, &ecx, \
118 #define VMW_PORT_HB_OUT(cmd, in_ecx, in_si, in_di, flags, magic, bp, eax, ebx, \ argument
121 0, &eax, &ebx, &ecx, &edx, &si, &di)
123 #define VMW_PORT_HB_IN(cmd, in_ecx, in_si, in_di, flags, magic, bp, eax, ebx, \ argument
126 X86_IO_W7_DIR, &eax, &ebx, &ecx, &edx, &si, &di)
Dvmwgfx_msg.c100 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in vmw_open_channel() local
106 eax, ebx, ecx, edx, si, di); in vmw_open_channel()
129 unsigned long eax, ebx, ecx, edx, si, di; in vmw_close_channel() local
139 eax, ebx, ecx, edx, si, di); in vmw_close_channel()
159 unsigned long si, di, eax, ebx, ecx, edx; in vmw_port_hb_out() local
176 eax, ebx, ecx, edx, si, di); in vmw_port_hb_out()
178 return ebx; in vmw_port_hb_out()
197 eax, ebx, ecx, edx, si, di); in vmw_port_hb_out()
216 unsigned long si, di, eax, ebx, ecx, edx; in vmw_port_hb_in() local
231 eax, ebx, ecx, edx, si, di); in vmw_port_hb_in()
[all …]
/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.c260 bx = regs.ebx & 0xffff; in tosh_ioctl()
362 regs.ebx = 0x0000; in tosh_get_machine_id()
365 bx = (unsigned short) (regs.ebx & 0xffff); in tosh_get_machine_id()
373 pr_debug("toshiba: debugging ID ebx=0x%04x\n", regs.ebx); in tosh_get_machine_id()
426 regs.ebx = 0x0000; in tosh_probe()
/drivers/hwmon/
Ddell-smm-hwmon.c115 unsigned int ebx __packed;
164 int ebx = regs->ebx; in i8k_smm_func() local
229 pr_debug("smm(0x%.4x 0x%.4x) = 0x%.4x (took %7lld usecs)\n", eax, ebx, in i8k_smm_func()
259 regs.ebx = fan & 0xff; in i8k_get_fan_status()
273 regs.ebx = fan & 0xff; in i8k_get_fan_speed()
287 regs.ebx = fan & 0xff; in _i8k_get_fan_type()
310 regs.ebx = (fan & 0xff) | (speed << 8); in i8k_get_fan_nominal_speed()
339 regs.ebx = (fan & 0xff) | (speed << 8); in i8k_set_fan()
348 regs.ebx = sensor & 0xff; in i8k_get_temp_type()
359 .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()
624 task->t.regs.ebx = 0; in uvesafb_vbe_getedid()
634 if ((task->t.regs.ebx & 0x3) == 3) { in uvesafb_vbe_getedid()
636 } else if ((task->t.regs.ebx & 0x3) == 2) { in uvesafb_vbe_getedid()
638 } else if ((task->t.regs.ebx & 0x3) == 1) { in uvesafb_vbe_getedid()
646 task->t.regs.ebx = 1; in uvesafb_vbe_getedid()
780 par->vbe_state_size = 64 * (task->t.regs.ebx & 0xffff); in uvesafb_vbe_getstatesize()
973 task->t.regs.ebx = 0x0; in uvesafb_setpalette()
1145 task->t.regs.ebx = 0x0001; in uvesafb_blank()
1148 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/thermal/intel/
Dx86_pkg_temp_thermal.c334 u32 tj_max, eax, ebx, ecx, edx; in pkg_temp_thermal_device_add() local
341 cpuid(6, &eax, &ebx, &ecx, &edx); in pkg_temp_thermal_device_add()
342 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/platform/x86/
Dacer-wmi.c753 u32 ebx; member
760 u32 ebx; member
854 args.ebx = value ? (1<<8) : 0; in AMW0_set_u32()
861 args.ebx |= ACER_AMW0_MAILLED_MASK; in AMW0_set_u32()
866 args.ebx |= ACER_AMW0_WIRELESS_MASK; in AMW0_set_u32()
871 args.ebx |= ACER_AMW0_BLUETOOTH_MASK; in AMW0_set_u32()
897 args.ebx = args.ecx = args.edx = 0; in AMW0_find_mailled()
962 args.ebx = 0xa2 << 8; in AMW0_set_capabilities()
963 args.ebx |= ACER_AMW0_WIRELESS_MASK; in AMW0_set_capabilities()
981 args.ebx = 2 << 8; in AMW0_set_capabilities()
[all …]
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/platform/x86/dell/
Ddcdbas.h69 __u32 ebx; member
Ddell-smbios-smm.c60 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()
/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.c1479 unsigned int eax, ebx, ecx, edx; in sklh_idle_state_table_update() local
1497 cpuid(7, &eax, &ebx, &ecx, &edx); in sklh_idle_state_table_update()
1500 if (ebx & (1 << 2)) { in sklh_idle_state_table_update()
1724 unsigned int eax, ebx, ecx; in intel_idle_init() local
1751 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()