Home
last modified time | relevance | path

Searched refs:eax (Results 1 – 11 of 11) sorted by relevance

/drivers/lguest/x86/
Dswitcher_32.S118 movl %esp, LGUEST_PAGES_host_sp(%eax)
128 movl %eax, %edx
134 lgdt LGUEST_PAGES_guest_gdt_desc(%eax)
138 lidt LGUEST_PAGES_guest_idt_desc(%eax)
154 movl (LGUEST_PAGES_host_gdt_desc+2)(%eax), %edx
167 popl %eax
208 pushl %eax; \
214 movl $(LGUEST_DS), %eax; \
215 movl %eax, %ds; \
224 movl %esp, %eax; \
[all …]
Dcore.c283 cpu->regs->eax = 0xFFFFFFFF; in emulate_insn()
285 cpu->regs->eax |= (0xFFFF << shift); in emulate_insn()
/drivers/char/
Dtoshiba.c134 unsigned long eax,ecx,flags; in tosh_emulate_fan() local
137 eax = regs->eax & 0xff00; in tosh_emulate_fan()
143 if (eax==0xfe00) { in tosh_emulate_fan()
149 regs->eax = 0x00; in tosh_emulate_fan()
152 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan()
160 regs->eax = 0x00; in tosh_emulate_fan()
163 if ((eax==0xff00) && (ecx==0x0001)) { in tosh_emulate_fan()
171 regs->eax = 0x00; in tosh_emulate_fan()
179 if (eax==0xfe00) { in tosh_emulate_fan()
185 regs->eax = 0x00; in tosh_emulate_fan()
[all …]
Di8k.c98 unsigned int eax; member
119 int eax = regs->eax; in i8k_smm() local
173 if (rc != 0 || (regs->eax & 0xffff) == 0xffff || regs->eax == eax) in i8k_smm()
185 struct smm_regs regs = { .eax = I8K_SMM_BIOS_VERSION, }; in i8k_get_bios_version()
187 return i8k_smm(&regs) ? : regs.eax; in i8k_get_bios_version()
195 struct smm_regs regs = { .eax = I8K_SMM_FN_STATUS, }; in i8k_get_fn_status()
201 switch ((regs.eax >> I8K_FN_SHIFT) & I8K_FN_MASK) { in i8k_get_fn_status()
218 struct smm_regs regs = { .eax = I8K_SMM_POWER_STATUS, }; in i8k_get_power_status()
224 return (regs.eax & 0xff) == I8K_POWER_AC ? I8K_AC : I8K_BATTERY; in i8k_get_power_status()
232 struct smm_regs regs = { .eax = I8K_SMM_GET_FAN, }; in i8k_get_fan_status()
[all …]
/drivers/hwmon/
Dcoretemp.c135 u32 eax, edx; in coretemp_update_device() local
138 rdmsr_on_cpu(data->id, MSR_IA32_THERM_STATUS, &eax, &edx); in coretemp_update_device()
139 data->alarm = (eax >> 5) & 1; in coretemp_update_device()
141 if (eax & 0x80000000) { in coretemp_update_device()
142 data->temp = data->tjmax - (((eax >> 16) in coretemp_update_device()
146 dev_dbg(dev, "Temperature data invalid (0x%x)\n", eax); in coretemp_update_device()
162 u32 eax, edx; in adjust_tjmax() local
177 err = rdmsr_safe_on_cpu(id, 0x17, &eax, &edx); in adjust_tjmax()
183 } else if (!(eax & 0x10000000)) { in adjust_tjmax()
190 err = rdmsr_safe_on_cpu(id, 0xee, &eax, &edx); in adjust_tjmax()
[all …]
Dhwmon-vid.c225 u32 eax; in vid_which_vrm() local
231 eax = cpuid_eax(1); in vid_which_vrm()
232 eff_family = ((eax & 0x00000F00)>>8); in vid_which_vrm()
233 eff_model = ((eax & 0x000000F0)>>4); in vid_which_vrm()
234 eff_stepping = eax & 0xF; in vid_which_vrm()
236 eff_family += ((eax & 0x00F00000)>>20); in vid_which_vrm()
237 eff_model += ((eax & 0x000F0000)>>16)<<4; in vid_which_vrm()
/drivers/video/
Duvesafb.c378 task->t.regs.eax = 0x4f04; in uvesafb_vbe_state_save()
386 if (err || (task->t.regs.eax & 0xffff) != 0x004f) { in uvesafb_vbe_state_save()
389 task->t.regs.eax, err); in uvesafb_vbe_state_save()
410 task->t.regs.eax = 0x4f04; in uvesafb_vbe_state_restore()
418 if (err || (task->t.regs.eax & 0xffff) != 0x004f) in uvesafb_vbe_state_restore()
421 task->t.regs.eax, err); in uvesafb_vbe_state_restore()
431 task->t.regs.eax = 0x4f00; in uvesafb_vbe_getinfo()
438 if (err || (task->t.regs.eax & 0xffff) != 0x004f) { in uvesafb_vbe_getinfo()
440 "(eax=0x%x, err=%d)\n", (u32)task->t.regs.eax, in uvesafb_vbe_getinfo()
511 task->t.regs.eax = 0x4f01; in uvesafb_vbe_getmodes()
[all …]
Dneofb.c1302 regs.eax = 0xff00; /* HCI_SET */ in neofb_blank()
1343 regs.eax = 0xff00; /* HCI_SET */ in neofb_blank()
/drivers/md/
Draid6x86.h48 u32 eax = (flag >> 5) ? 0x80000001 : 1; in boot_cpu_has() local
52 : "+a" (eax), "=d" (edx) in boot_cpu_has()
/drivers/input/misc/
Dwistron_btns.c68 u32 eax, ebx, ecx; member
81 : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx) in call_bios()
82 : "0" (regs->eax), "1" (regs->ebx), "2" (regs->ecx), in call_bios()
163 regs.eax = 0x9610; in bios_pop_queue()
168 return regs.eax; in bios_pop_queue()
176 regs.eax = 0x9610; in bios_attach()
186 regs.eax = 0x9610; in bios_detach()
196 regs.eax = 0x9610; in bios_get_cmos_address()
208 regs.eax = 0x9610; in bios_get_default_setting()
212 return regs.eax; in bios_get_default_setting()
[all …]
/drivers/platform/x86/
Dacer-wmi.c389 u32 eax; member
396 u32 eax; member
485 args.eax = ACER_AMW0_WRITE; in AMW0_set_u32()
529 args.eax = 0x86; in AMW0_find_mailled()
569 args.eax = ACER_AMW0_WRITE; in AMW0_set_capabilities()
587 if (ret.eax & 0x1) in AMW0_set_capabilities()
605 if (ret.eax & 0x1) in AMW0_set_capabilities()