Home
last modified time | relevance | path

Searched refs:dx (Results 1 – 25 of 69) sorted by relevance

123

/arch/x86/include/asm/
Dsyscall.h115 *args++ = regs->dx; in syscall_get_arguments()
124 *args++ = regs->dx; in syscall_get_arguments()
139 regs->dx = *args++; in syscall_set_arguments()
148 regs->dx = *args++; in syscall_set_arguments()
Dapm.h52 int cx, dx, si; in apm_bios_call_simple_asm() local
67 : "=a" (*eax), "=b" (error), "=c" (cx), "=d" (dx), in apm_bios_call_simple_asm()
Dptrace.h29 unsigned long dx; member
74 unsigned long dx; member
345 offsetof(struct pt_regs, dx), in regs_get_kernel_argument()
351 offsetof(struct pt_regs, dx), in regs_get_kernel_argument()
Dasm.h45 #define _ASM_DX __ASM_REG(dx)
63 #define _ASM_ARG2W dx
96 #define _ASM_ARG3W dx
Delf.h109 _r->bx = 0; _r->cx = 0; _r->dx = 0; \
123 pr_reg[2] = regs->dx; \
174 /*regs->ax = */ regs->bx = regs->cx = regs->dx = 0; in elf_common_init()
219 (pr_reg)[12] = (regs)->dx; \
Dkexec.h83 asm volatile("movl %%edx,%0" : "=m"(newregs->dx)); in crash_setup_regs()
97 asm volatile("movq %%rdx,%0" : "=m"(newregs->dx)); in crash_setup_regs()
Duser_32.h81 unsigned long dx; member
Duser_64.h82 unsigned long dx; member
/arch/x86/realmode/rm/
Dtrampoline_32.S53 movw $1, %dx # protected mode (PE) bit
54 lmsw %dx # into protected mode
/arch/x86/boot/
Dmemory.c84 if (oreg.cx || oreg.dx) { in detect_memory_e801()
86 oreg.bx = oreg.dx; in detect_memory_e801()
Dapm.c48 boot_params.apm_bios_info.dseg = oreg.dx; in query_apm_bios()
Dcopy.S22 movw %dx, %si
/arch/x86/kernel/
Dsev-es-shared.c182 regs->dx = val >> 32; in do_vc_no_ghcb()
322 port = ctxt->regs->dx & 0xffff; in vc_ioio_exitinfo()
330 port = ctxt->regs->dx & 0xffff; in vc_ioio_exitinfo()
351 port = ctxt->regs->dx & 0xffff; in vc_ioio_exitinfo()
358 port = ctxt->regs->dx & 0xffff; in vc_ioio_exitinfo()
541 regs->dx = ghcb->save.rdx; in vc_handle_cpuid()
562 ctxt->regs->dx = ghcb->save.rdx; in vc_handle_rdtsc()
Dperf_regs.c24 PT_REGS_OFFSET(PERF_REG_X86_DX, dx),
165 regs_user_copy->dx = user_regs->dx; in perf_get_regs_user()
Ddoublefault_32.c68 regs.dx = TSS(dx); in doublefault_shim()
Dsignal.c103 regs->dx = sc.dx; in restore_sigcontext()
160 unsafe_put_user(regs->dx, &sc->dx, Efault); in __unsafe_setup_sigcontext()
361 regs->dx = 0; in __setup_frame()
426 regs->dx = (unsigned long)&frame->info; in __setup_rt_frame()
497 regs->dx = (unsigned long)&frame->uc; in __setup_rt_frame()
600 regs->dx = (unsigned long) &frame->uc; in x32_setup_rt_frame()
Dapm_32.c1633 unsigned short dx; in proc_apm_show() local
1643 !(error = apm_get_power_status(&bx, &cx, &dx))) { in proc_apm_show()
1651 if (dx != 0xffff) { in proc_apm_show()
1652 units = (dx & 0x8000) ? "min" : "sec"; in proc_apm_show()
1653 time_units = dx & 0x7fff; in proc_apm_show()
1714 unsigned short dx; in apm() local
1775 error = apm_get_power_status(&bx, &cx, &dx); in apm()
1821 if (dx == 0xffff) in apm()
1824 printk("%d %s\n", dx & 0x7fff, in apm()
1825 (dx & 0x8000) ? in apm()
/arch/x86/ia32/
Dia32_signal.c74 regs->dx = sc.dx; in ia32_restore_sigcontext()
172 unsafe_put_user(regs->dx, &sc->dx, Efault); in __unsafe_setup_sigcontext32()
285 regs->dx = 0; in ia32_setup_frame()
362 regs->dx = (unsigned long) &frame->info; in ia32_setup_rt_frame()
/arch/x86/lib/
Dhweight.S16 __ASM_SIZE(push,) %__ASM_REG(dx)
34 __ASM_SIZE(pop,) %__ASM_REG(dx)
/arch/m68k/include/asm/
Datarikb.h22 void ikbd_mouse_kbd_mode(int dx, int dy);
/arch/x86/entry/vsyscall/
Dvsyscall_64.c256 orig_dx = regs->dx; in emulate_vsyscall()
257 regs->dx = 0; in emulate_vsyscall()
260 regs->dx = orig_dx; in emulate_vsyscall()
/arch/x86/mm/
Dextable.c108 regs->dx = 0; in ex_handler_rdmsr_unsafe()
119 (unsigned int)regs->cx, (unsigned int)regs->dx, in ex_handler_wrmsr_unsafe()
Dpf_in.c251 rv = (unsigned char *)&regs->dx; in get_reg_w8()
319 rv = 1 + (unsigned char *)&regs->dx; in get_reg_w8()
347 rv = &regs->dx; in get_reg_w32()
/arch/x86/xen/
Denlighten_pv.c166 unsigned int *cx, unsigned int *dx) in xen_cpuid() argument
180 *dx = cpuid_leaf5_edx_val; in xen_cpuid()
193 "=d" (*dx) in xen_cpuid()
209 unsigned int ax, bx, cx, dx; in xen_check_mwait() local
233 native_cpuid(&ax, &bx, &cx, &dx); in xen_check_mwait()
248 dx = 0; in xen_check_mwait()
250 native_cpuid(&ax, &bx, &cx, &dx); in xen_check_mwait()
264 cpuid_leaf5_edx_val = dx; in xen_check_mwait()
/arch/x86/kvm/
Dtss.h47 u16 dx; member

123