Home
last modified time | relevance | path

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

1234

/linux/drivers/net/hamradio/
H A Dmkiss.c237 static void ax_bump(struct mkiss *ax) in ax_bump() argument
242 spin_lock_bh(&ax->buflock); in ax_bump()
243 if (ax->rbuff[0] > 0x0f) { in ax_bump()
244 if (ax->rbuff[0] & 0x80) { in ax_bump()
245 if (check_crc_16(ax->rbuff, ax->rcount) < 0) { in ax_bump()
246 ax->dev->stats.rx_errors++; in ax_bump()
247 spin_unlock_bh(&ax->buflock); in ax_bump()
251 if (ax->crcmode != CRC_MODE_SMACK && ax->crcauto) { in ax_bump()
254 ax->dev->name); in ax_bump()
255 ax->crcmode = CRC_MODE_SMACK; in ax_bump()
[all …]
/linux/arch/x86/boot/
H A 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 …]
H A 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 …]
H A 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()
H A Dmain.c74 ireg.ax = 0x0305; /* Set keyboard repeat rate */ in keyboard_init()
93 ireg.ax = 0xe980; /* IST Support */ in query_ist()
112 ireg.ax = 0xec00; in set_bios_mode()
H A 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()
/linux/arch/x86/kernel/acpi/
H A 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
/linux/arch/x86/realmode/rm/
H A 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
H A Dreboot.S113 andw %ax, %ax
117 movw $0x1000, %ax
118 movw %ax, %ss
120 movw $0x5307, %ax
H A Dtrampoline_64.S67 mov %cs, %ax # Code and data in the same place
68 mov %ax, %ds
69 mov %ax, %es
70 mov %ax, %ss
110 mov %cs, %ax # Code and data in the same place
111 mov %ax, %ds
112 mov %ax, %es
113 mov %ax, %ss
H A Dtrampoline_32.S37 mov %cs, %ax # Code and data in the same place
38 mov %ax, %ds
/linux/arch/x86/platform/olpc/
H A 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
/linux/drivers/net/ethernet/8390/
H A Dxsurf100.c51 struct ax_plat_data ax; member
280 ax88796_data.ax.flags = AXFLG_HAS_EEPROM; in xsurf100_probe()
281 ax88796_data.ax.wordlength = 2; in xsurf100_probe()
282 ax88796_data.ax.dcr_val = 0x48; in xsurf100_probe()
283 ax88796_data.ax.rcr_val = 0x40; in xsurf100_probe()
284 ax88796_data.ax.reg_offsets = reg_offsets; in xsurf100_probe()
285 ax88796_data.ax.check_irq = is_xsurf100_network_irq; in xsurf100_probe()
310 ax88796_data.ax.block_output = xs100_block_output; in xsurf100_probe()
311 ax88796_data.ax.block_input = xs100_block_input; in xsurf100_probe()
/linux/drivers/char/
H A Dtoshiba.c248 unsigned short ax,bx; in tosh_ioctl() local
259 ax = regs.eax & 0xff00; in tosh_ioctl()
262 if (((ax==0xff00) || (ax==0xfe00)) && (bx>0x0069)) in tosh_ioctl()
268 if (((ax==0xf300) || (ax==0xf400)) && (bx==0x0004)) { in tosh_ioctl()
/linux/tools/testing/selftests/x86/
H A Dcheck_initial_reg_state.c11 unsigned long ax, bx, cx, dx, si, di, bp, sp, flags; variable
63 if (ax || bx || cx || dx || si || di || bp in main()
70 SHOW(ax); in main()
/linux/tools/testing/selftests/ftrace/test.d/kprobe/
H A Dkprobe_args_syntax.tc20 GOODREG=%ax
25 BADREG=%ax
29 BADREG=%ax
/linux/arch/x86/include/asm/
H A Dsyscall.h51 regs->ax = regs->orig_ax; in syscall_rollback()
57 unsigned long error = regs->ax; in syscall_get_error()
76 return regs->ax; in syscall_get_return_value()
83 regs->ax = (long) error ?: val; in syscall_set_return_value()
/linux/arch/x86/coco/tdx/
H A Dtdx.c487 regs->ax = lower_32_bits(args.r11); in read_msr()
498 .r13 = (u64)regs->dx << 32 | regs->ax, in write_msr()
517 .r12 = regs->ax, in handle_cpuid()
528 if (regs->ax < 0x40000000 || regs->ax > 0x4FFFFFFF) { in handle_cpuid()
529 regs->ax = regs->bx = regs->cx = regs->dx = 0; in handle_cpuid()
546 regs->ax = args.r12; in handle_cpuid()
707 regs->ax &= ~mask; in handle_in()
709 regs->ax |= args.r11 & mask; in handle_in()
724 PORT_WRITE, port, regs->ax & mask); in handle_out()
/linux/sound/pci/asihpi/
H A Dhpioctl.c439 && hr.u.ax.mode.adapter_mode == HPI_ADAPTER_MODE_LOW_LATENCY) in asihpi_adapter_probe()
450 hm.u.ax.property_set.property = HPI_ADAPTER_PROPERTY_SUPPORTS_IRQ; in asihpi_adapter_probe()
452 if (hr.error || !hr.u.ax.property_get.parameter1) { in asihpi_adapter_probe()
479 hm.u.ax.property_set.property = HPI_ADAPTER_PROPERTY_IRQ_RATE; in asihpi_adapter_probe()
480 hm.u.ax.property_set.parameter1 = 0; in asihpi_adapter_probe()
481 hm.u.ax.property_set.parameter2 = 0; in asihpi_adapter_probe()
543 hm.u.ax.property_set.property = HPI_ADAPTER_PROPERTY_IRQ_RATE; in asihpi_adapter_remove()
544 hm.u.ax.property_set.parameter1 = 0; in asihpi_adapter_remove()
545 hm.u.ax.property_set.parameter2 = 0; in asihpi_adapter_remove()
/linux/arch/x86/kernel/
H A Dsignal_32.c125 regs->ax = sc.ax; in ia32_restore_sigcontext()
167 return regs->ax; in SYSCALL32_DEFINE0()
197 return regs->ax; in SYSCALL32_DEFINE0()
233 unsafe_put_user(regs->ax, &sc->ax, Efault); in __unsafe_setup_sigcontext32()
309 regs->ax = ksig->sig; in ia32_setup_frame()
391 regs->ax = ksig->sig; in ia32_setup_rt_frame()
H A Dsignal_64.c68 regs->ax = sc.ax; in restore_sigcontext()
109 unsafe_put_user(regs->ax, &sc->ax, Efault); in __unsafe_setup_sigcontext()
204 regs->ax = 0; in x64_setup_rt_frame()
274 return regs->ax; in SYSCALL_DEFINE0()
393 return regs->ax; in COMPAT_SYSCALL_DEFINE0()
H A Dperf_regs.c21 PT_REGS_OFFSET(PERF_REG_X86_AX, ax),
163 regs_user_copy->ax = user_regs->ax; in perf_get_regs_user()
/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DEventClass.py60 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf)
63 self.ax = ax
/linux/arch/x86/mm/
H A Dextable.c37 regs->ax = 0; in ex_handler_default()
101 regs->ax = trapnr; in ex_handler_fault()
108 regs->ax = trapnr | SGX_ENCLS_FAULT_FLAG; in ex_handler_sgx()
172 (unsigned int)regs->ax, regs->ip, (void *)regs->ip); in ex_handler_msr()
184 regs->ax = 0; in ex_handler_msr()
/linux/tools/perf/arch/x86/util/
H A Dperf_regs.c66 SDT_NAME_REG(eax, ax),
67 SDT_NAME_REG(rax, ax),
68 SDT_NAME_REG(al, ax),
69 SDT_NAME_REG(ah, ax),

1234