Home
last modified time | relevance | path

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

123

/arch/x86/boot/
Dmemory.c26 ireg.ax = 0xe820; in detect_memory_e820()
77 ireg.ax = 0xe801; in detect_memory_e801()
85 oreg.ax = oreg.cx; in detect_memory_e801()
89 if (oreg.ax > 15*1024) { in detect_memory_e801()
91 } else if (oreg.ax == 15*1024) { in detect_memory_e801()
92 boot_params.alt_mem_k = (oreg.bx << 6) + oreg.ax; in detect_memory_e801()
101 boot_params.alt_mem_k = oreg.ax; in detect_memory_e801()
113 boot_params.screen_info.ext_mem_k = oreg.ax; in detect_memory_88()
Dvideo-vga.c47 ireg.ax = 0x0f00; in vga_set_basic_mode()
55 ireg.ax = mode; /* AH=0: set mode */ in vga_set_basic_mode()
69 ireg.ax = 0x1112; in vga_set_8font()
74 ireg.ax = 0x1200; in vga_set_8font()
79 ireg.ax = 0x1201; in vga_set_8font()
84 ireg.ax = 0x0100; in vga_set_8font()
97 ireg.ax = 0x1111; in vga_set_14font()
102 ireg.ax = 0x1201; in vga_set_14font()
107 ireg.ax = 0x0100; in vga_set_14font()
120 ireg.ax = 0x1201; in vga_set_80x43()
[all …]
Dvideo-vesa.c42 ireg.ax = 0x4f00; in vesa_probe()
46 if (oreg.ax != 0x004f || in vesa_probe()
65 ireg.ax = 0x4f01; in vesa_probe()
70 if (oreg.ax != 0x004f) in vesa_probe()
113 ireg.ax = 0x4f01; in vesa_set_mode()
118 if (oreg.ax != 0x004f) in vesa_set_mode()
136 ireg.ax = 0x4f02; in vesa_set_mode()
140 if (oreg.ax != 0x004f) in vesa_set_mode()
169 ireg.ax = 0x4f08; in vesa_dac_set_8bits()
172 if (oreg.ax == 0x004f) in vesa_dac_set_8bits()
[all …]
Dbioscall.S60 movw %cs, %ax
61 movw %ax, %ds
62 movw %ax, %es
Dmain.c73 ireg.ax = 0x0305; /* Set keyboard repeat rate */ in keyboard_init()
90 ireg.ax = 0xe980; /* IST Support */ in query_ist()
109 ireg.ax = 0xec00; in set_bios_mode()
Dcopy.S21 movw %ax, %di
36 movw %ax, %di
Dapm.c45 boot_params.apm_bios_info.cseg = oreg.ax; in query_apm_bios()
69 boot_params.apm_bios_info.version = oreg.ax; in query_apm_bios()
Dheader.S53 movw %cs, %ax
54 movw %ax, %ds
55 movw %ax, %es
56 movw %ax, %ss
74 xorw %ax, %ax
586 movw %ds, %ax
587 movw %ax, %es
613 3: movw %ax, %ss
/arch/x86/kernel/acpi/
Dwakeup_32.S13 movw $__KERNEL_DS, %ax
14 movw %ax, %ss
15 movw %ax, %fs
16 movw %ax, %gs
18 movw $__USER_DS, %ax
19 movw %ax, %ds
20 movw %ax, %es
Dwakeup_64.S30 movw $__KERNEL_DS, %ax
31 movw %ax, %ss
32 movw %ax, %ds
33 movw %ax, %es
34 movw %ax, %fs
35 movw %ax, %gs
/arch/x86/realmode/rm/
Dtrampoline_64.S47 mov %cs, %ax # Code and data in the same place
48 mov %ax, %ds
49 mov %ax, %es
50 mov %ax, %ss
91 mov %cs, %ax # Code and data in the same place
92 mov %ax, %ds
93 mov %ax, %es
94 mov %ax, %ss
Dreboot.S112 andw %ax, %ax
116 movw $0x1000, %ax
117 movw %ax, %ss
119 movw $0x5307, %ax
Dwakeup_asm.S68 movw %cs, %ax
69 movw %ax, %ss
71 movw %ax, %ds
72 movw %ax, %es
73 movw %ax, %fs
74 movw %ax, %gs
Dtrampoline_32.S37 mov %cs, %ax # Code and data in the same place
38 mov %ax, %ds
/arch/x86/platform/olpc/
Dxo1-wakeup.S39 movw $__KERNEL_DS, %ax
40 movw %ax, %ss
41 movw %ax, %ds
42 movw %ax, %es
43 movw %ax, %fs
44 movw %ax, %gs
/arch/x86/entry/
Dcommon.c50 regs->ax = sys_call_table[unr](regs); in do_syscall_x64()
67 regs->ax = x32_sys_call_table[xnr](regs); in do_syscall_x32()
82 regs->ax = __x64_sys_ni_syscall(regs); in do_syscall_64()
112 regs->ax = ia32_sys_call_table[unr](regs); in do_syscall_32_irqs_on()
114 regs->ax = __ia32_sys_ni_syscall(regs); in do_syscall_32_irqs_on()
167 regs->ax = -EFAULT; in __do_fast_syscall_32()
/arch/x86/include/asm/
Dsyscall.h46 regs->ax = regs->orig_ax; in syscall_rollback()
52 unsigned long error = regs->ax; in syscall_get_error()
71 return regs->ax; in syscall_get_return_value()
78 regs->ax = (long) error ?: val; in syscall_set_return_value()
Dptrace.h33 unsigned long ax; member
75 unsigned long ax; member
114 return regs->ax; in regs_return_value()
119 regs->ax = rc; in regs_set_return_value()
347 offsetof(struct pt_regs, ax), in regs_get_kernel_argument()
/arch/x86/kernel/
Dsev-shared.c149 unsigned int fn = lower_bits(regs->ax, 32); in do_vc_no_ghcb()
161 regs->ax = val >> 32; in do_vc_no_ghcb()
199 if (fn == 0x80000000 && (regs->ax < 0x8000001f)) in do_vc_no_ghcb()
202 else if ((fn == 0x8000001f && !(regs->ax & BIT(1)))) in do_vc_no_ghcb()
489 rax = lower_bits(regs->ax, bits); in vc_handle_ioio()
500 regs->ax = lower_bits(ghcb->save.rax, bits); in vc_handle_ioio()
514 ghcb_set_rax(ghcb, regs->ax); in vc_handle_cpuid()
534 regs->ax = ghcb->save.rax; in vc_handle_cpuid()
557 ctxt->regs->ax = ghcb->save.rax; in vc_handle_rdtsc()
Dsignal.c107 regs->ax = sc.ax; in restore_sigcontext()
162 unsafe_put_user(regs->ax, &sc->ax, Efault); in __unsafe_setup_sigcontext()
365 regs->ax = (unsigned long)sig; in __setup_frame()
430 regs->ax = (unsigned long)sig; in __setup_rt_frame()
497 regs->ax = 0; in __setup_rt_frame()
648 return regs->ax; in SYSCALL_DEFINE0()
680 return regs->ax; in SYSCALL_DEFINE0()
799 regs->ax = -EINTR; in handle_signal()
804 regs->ax = -EINTR; in handle_signal()
809 regs->ax = regs->orig_ax; in handle_signal()
[all …]
Dperf_regs.c21 PT_REGS_OFFSET(PERF_REG_X86_AX, ax),
163 regs_user_copy->ax = user_regs->ax; in perf_get_regs_user()
Ddoublefault_32.c64 regs.ax = TSS(ax); in doublefault_shim()
/arch/x86/ia32/
Dia32_signal.c78 regs->ax = sc.ax; in ia32_restore_sigcontext()
116 return regs->ax; in COMPAT_SYSCALL_DEFINE0()
144 return regs->ax; in COMPAT_SYSCALL_DEFINE0()
174 unsafe_put_user(regs->ax, &sc->ax, Efault); in __unsafe_setup_sigcontext32()
284 regs->ax = sig; in ia32_setup_frame()
361 regs->ax = sig; in ia32_setup_rt_frame()
/arch/x86/mm/
Dextable.c35 regs->ax = 0; in ex_handler_default()
46 regs->ax = trapnr; in ex_handler_fault()
92 (unsigned int)regs->ax, regs->ip, (void *)regs->ip); in ex_handler_msr()
104 regs->ax = 0; in ex_handler_msr()
/arch/x86/entry/vsyscall/
Dvsyscall_64.c82 regs->sp, regs->ax, regs->si, regs->di); in warn_bad_vsyscall()
224 regs->ax = -ENOSYS; in emulate_vsyscall()
284 regs->ax = ret; in emulate_vsyscall()

123