Home
last modified time | relevance | path

Searched refs:ax (Results 1 – 25 of 70) 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()
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()
Dcopy.S21 movw %ax, %di
36 movw %ax, %di
Dheader.S54 movw %cs, %ax
55 movw %ax, %ds
56 movw %ax, %es
57 movw %ax, %ss
75 xorw %ax, %ax
576 movw %ds, %ax
577 movw %ax, %es
603 3: movw %ax, %ss
/arch/x86/kernel/acpi/
Dwakeup_32.S14 movw $__KERNEL_DS, %ax
15 movw %ax, %ss
16 movw %ax, %fs
17 movw %ax, %gs
19 movw $__USER_DS, %ax
20 movw %ax, %ds
21 movw %ax, %es
Dwakeup_64.S28 movw $__KERNEL_DS, %ax
29 movw %ax, %ss
30 movw %ax, %ds
31 movw %ax, %es
32 movw %ax, %fs
33 movw %ax, %gs
/arch/x86/realmode/rm/
Dreboot.S111 andw %ax, %ax
115 movw $0x1000, %ax
116 movw %ax, %ss
118 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_64.S47 mov %cs, %ax # Code and data in the same place
48 mov %ax, %ds
49 mov %ax, %es
50 mov %ax, %ss
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/include/asm/
Dsyscall.h56 regs->ax = regs->orig_ax; in syscall_rollback()
62 unsigned long error = regs->ax; in syscall_get_error()
81 return regs->ax; in syscall_get_return_value()
88 regs->ax = (long) error ?: val; in syscall_set_return_value()
Dptrace.h33 unsigned long ax; member
72 unsigned long ax; member
109 return regs->ax; in regs_return_value()
114 regs->ax = rc; in regs_set_return_value()
311 offsetof(struct pt_regs, ax), in regs_get_kernel_argument()
Dasm-prototypes.h33 INDIRECT_THUNK(ax)
Dkexec.h91 asm volatile("movl %%eax,%0" : "=m"(newregs->ax)); in crash_setup_regs()
105 asm volatile("movq %%rax,%0" : "=m"(newregs->ax)); in crash_setup_regs()
/arch/x86/entry/
Dcommon.c234 trace_sys_exit(regs, regs->ax); in syscall_slow_exit_work()
290 regs->ax = sys_call_table[nr](regs); in do_syscall_64()
296 regs->ax = x32_sys_call_table[nr](regs); in do_syscall_64()
333 regs->ax = ia32_sys_call_table[nr](regs); in do_syscall_32_irqs_on()
341 regs->ax = ia32_sys_call_table[nr]( in do_syscall_32_irqs_on()
398 regs->ax = -EFAULT; in do_fast_syscall_32()
/arch/x86/kernel/
Dsignal.c119 COPY(dx); COPY(cx); COPY(ip); COPY(ax); in restore_sigcontext()
180 put_user_ex(regs->ax, &sc->ax); in setup_sigcontext()
363 regs->ax = (unsigned long)sig; in __setup_frame()
429 regs->ax = (unsigned long)sig; in __setup_rt_frame()
502 regs->ax = 0; in __setup_rt_frame()
631 return regs->ax; in SYSCALL_DEFINE0()
663 return regs->ax; in SYSCALL_DEFINE0()
725 regs->ax = -EINTR; in handle_signal()
730 regs->ax = -EINTR; in handle_signal()
735 regs->ax = regs->orig_ax; in handle_signal()
[all …]
Dperf_regs.c21 PT_REGS_OFFSET(PERF_REG_X86_AX, ax),
156 regs_user_copy->ax = user_regs->ax; in perf_get_regs_user()
/arch/x86/ia32/
Dia32_signal.c89 COPY(dx); COPY(cx); COPY(ip); COPY(ax); in ia32_restore_sigcontext()
141 return regs->ax; in COMPAT_SYSCALL_DEFINE0()
169 return regs->ax; in COMPAT_SYSCALL_DEFINE0()
199 put_user_ex(regs->ax, &sc->ax); in ia32_setup_sigcontext()
317 regs->ax = sig; in ia32_setup_frame()
396 regs->ax = sig; in ia32_setup_rt_frame()
/arch/sh/lib64/
Dmemset.S21 .section .text..SHmedia32,"ax"
/arch/x86/mm/
Dextable.c42 regs->ax = trapnr; in ex_handler_fault()
155 regs->ax = 0; in ex_handler_rdmsr_unsafe()
168 (unsigned int)regs->ax, regs->ip, (void *)regs->ip)) in ex_handler_wrmsr_unsafe()

123