Home
last modified time | relevance | path

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

/drivers/cpufreq/
Dspeedstep-lib.c256 u32 ebx, msr_lo, msr_hi; in speedstep_detect_processor() local
270 ebx = cpuid_ebx(0x00000001); in speedstep_detect_processor()
271 ebx &= 0x000000FF; in speedstep_detect_processor()
273 pr_debug("ebx value is %x, x86_stepping is %x\n", ebx, c->x86_stepping); in speedstep_detect_processor()
281 if ((ebx == 0x0e) || (ebx == 0x0f)) in speedstep_detect_processor()
292 if (ebx == 0x0e) in speedstep_detect_processor()
312 if ((ebx == 0x0e) || in speedstep_detect_processor()
327 ebx = cpuid_ebx(0x00000001); in speedstep_detect_processor()
328 pr_debug("ebx is %x\n", ebx); in speedstep_detect_processor()
330 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.c121 unsigned int maxei, eax, ebx, ecx, edx; in check_powernow() local
141 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/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/hwmon/
Ddell-smm-hwmon.c118 unsigned int ebx __packed;
222 regs.ebx = fan & 0xff; in i8k_get_fan_status()
233 regs.ebx = fan & 0xff; in i8k_get_fan_speed()
247 regs.ebx = fan & 0xff; in _i8k_get_fan_type()
269 regs.ebx = (fan & 0xff) | (speed << 8); in i8k_get_fan_nominal_speed()
281 regs.ebx = (fan & 0xff) | (speed << 8); in i8k_set_fan()
290 regs.ebx = sensor & 0xff; in i8k_get_temp_type()
301 .ebx = sensor & 0xff, in _i8k_get_temp()
Dfam15h_power.c209 u32 val, eax, ebx, ecx, edx; in fam15h_power_init_data() local
236 cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in fam15h_power_init_data()
/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()
1156 task->t.regs.ebx = 0x0001; in uvesafb_blank()
1159 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.c632 u32 ebx; member
639 u32 ebx; member
733 args.ebx = value ? (1<<8) : 0; in AMW0_set_u32()
740 args.ebx |= ACER_AMW0_MAILLED_MASK; in AMW0_set_u32()
745 args.ebx |= ACER_AMW0_WIRELESS_MASK; in AMW0_set_u32()
750 args.ebx |= ACER_AMW0_BLUETOOTH_MASK; in AMW0_set_u32()
777 args.ebx = args.ecx = args.edx = 0; in AMW0_find_mailled()
850 args.ebx = 0xa2 << 8; in AMW0_set_capabilities()
851 args.ebx |= ACER_AMW0_WIRELESS_MASK; in AMW0_set_capabilities()
869 args.ebx = 2 << 8; in AMW0_set_capabilities()
[all …]
Dtoshiba_acpi.c2175 u32 in[TCI_WORDS] = { regs->eax, regs->ebx, regs->ecx, in toshiba_acpi_smm_bridge()
2188 regs->ebx = out[1]; in toshiba_acpi_smm_bridge()
Ddell-laptop.c404 command.ebx = virt_to_phys(buffer); in dell_send_request()
/drivers/idle/
Dintel_idle.c958 unsigned int eax, ebx, ecx; in intel_idle_probe() local
978 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &mwait_substates); in intel_idle_probe()
1058 unsigned int eax, ebx, ecx, edx; in sklh_idle_state_table_update() local
1076 cpuid(7, &eax, &ebx, &ecx, &edx); in sklh_idle_state_table_update()
1079 if (ebx & (1 << 2)) { in sklh_idle_state_table_update()
/drivers/thermal/
Dx86_pkg_temp_thermal.c402 u32 eax, ebx, ecx, edx; in pkg_temp_thermal_device_add() local
406 cpuid(6, &eax, &ebx, &ecx, &edx); in pkg_temp_thermal_device_add()
407 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/firmware/
Ddcdbas.h76 __u32 ebx; member
Ddcdbas.c278 "b" (smi_cmd->ebx), in dcdbas_smi_request()
325 smi_cmd->ebx = (u32) virt_to_phys(smi_cmd->command_buffer); in smi_request_store()
/drivers/acpi/
Dacpi_pad.c43 unsigned int eax, ebx, ecx, edx; in power_saving_mwait_init() local
53 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in power_saving_mwait_init()
/drivers/xen/xenbus/
Dxenbus_xs.c664 uint32_t eax, ebx, ecx, edx, base; in xen_strict_xenbus_quirk() local
667 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in xen_strict_xenbus_quirk()
/drivers/staging/unisys/visorbus/
Dvisorchipset.c2391 unsigned int eax, ebx, ecx, edx; in visorutil_spar_detect() local
2395 cpuid(UNISYS_SPAR_LEAF_ID, &eax, &ebx, &ecx, &edx); in visorutil_spar_detect()
2396 return (ebx == UNISYS_SPAR_ID_EBX) && in visorutil_spar_detect()