Home
last modified time | relevance | path

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

12345

/Linux-v5.4/drivers/net/hamradio/
Dmkiss.c235 static void ax_bump(struct mkiss *ax) in ax_bump() argument
240 spin_lock_bh(&ax->buflock); in ax_bump()
241 if (ax->rbuff[0] > 0x0f) { in ax_bump()
242 if (ax->rbuff[0] & 0x80) { in ax_bump()
243 if (check_crc_16(ax->rbuff, ax->rcount) < 0) { in ax_bump()
244 ax->dev->stats.rx_errors++; in ax_bump()
245 spin_unlock_bh(&ax->buflock); in ax_bump()
249 if (ax->crcmode != CRC_MODE_SMACK && ax->crcauto) { in ax_bump()
252 ax->dev->name); in ax_bump()
253 ax->crcmode = CRC_MODE_SMACK; in ax_bump()
[all …]
/Linux-v5.4/drivers/net/ethernet/8390/
Dax88796.c170 struct ax_device *ax = to_ax_dev(dev); in ax_ei_interrupt_filtered() local
173 if (!ax->plat->check_irq(pdev)) in ax_ei_interrupt_filtered()
331 struct ax_device *ax = to_ax_dev(dev); in ax_handle_link_change() local
335 if (phy_dev->link && ((ax->speed != phy_dev->speed) || in ax_handle_link_change()
336 (ax->duplex != phy_dev->duplex))) { in ax_handle_link_change()
338 ax->speed = phy_dev->speed; in ax_handle_link_change()
339 ax->duplex = phy_dev->duplex; in ax_handle_link_change()
343 if (phy_dev->link != ax->link) { in ax_handle_link_change()
345 ax->speed = 0; in ax_handle_link_change()
346 ax->duplex = -1; in ax_handle_link_change()
[all …]
Dxsurf100.c56 struct ax_plat_data ax; member
285 ax88796_data.ax.flags = AXFLG_HAS_EEPROM; in xsurf100_probe()
286 ax88796_data.ax.wordlength = 2; in xsurf100_probe()
287 ax88796_data.ax.dcr_val = 0x48; in xsurf100_probe()
288 ax88796_data.ax.rcr_val = 0x40; in xsurf100_probe()
289 ax88796_data.ax.reg_offsets = reg_offsets; in xsurf100_probe()
290 ax88796_data.ax.check_irq = is_xsurf100_network_irq; in xsurf100_probe()
315 ax88796_data.ax.block_output = xs100_block_output; in xsurf100_probe()
316 ax88796_data.ax.block_input = xs100_block_input; in xsurf100_probe()
/Linux-v5.4/arch/x86/boot/
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 …]
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()
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()
/Linux-v5.4/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
/Linux-v5.4/drivers/staging/wusbcore/
Dcrypto.c119 struct aes_ccm_a ax; member
195 BUILD_BUG_ON(sizeof(scratch->ax) != sizeof(struct aes_ccm_block)); in wusb_ccm_mac()
223 scratch->ax.flags = 0x01; /* as per WUSB 1.0 spec */ in wusb_ccm_mac()
224 scratch->ax.ccm_nonce = *n; in wusb_ccm_mac()
225 scratch->ax.counter = 0; in wusb_ccm_mac()
228 crypto_shash_digest(desc, (u8 *)&scratch->ax, sizeof(scratch->ax), in wusb_ccm_mac()
229 (u8 *)&scratch->ax); in wusb_ccm_mac()
231 crypto_xor_cpy(mic, (u8 *)&scratch->ax, iv, 8); in wusb_ccm_mac()
/Linux-v5.4/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
/Linux-v5.4/arch/x86/realmode/rm/
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
Dreboot.S111 andw %ax, %ax
115 movw $0x1000, %ax
116 movw %ax, %ss
118 movw $0x5307, %ax
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
/Linux-v5.4/tools/testing/selftests/x86/
Dsyscall_arg_fault.c70 long ax = (long)ctx->uc_mcontext.gregs[REG_AX]; in sigsegv_or_sigbus() local
72 if (ax != -EFAULT && ax != -ENOSYS) { in sigsegv_or_sigbus()
74 (unsigned long)ax); in sigsegv_or_sigbus()
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-v5.4/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()
/Linux-v5.4/drivers/char/
Dtoshiba.c251 unsigned short ax,bx; in tosh_ioctl() local
262 ax = regs.eax & 0xff00; in tosh_ioctl()
265 if (((ax==0xff00) || (ax==0xfe00)) && (bx>0x0069)) in tosh_ioctl()
271 if (((ax==0xf300) || (ax==0xf400)) && (bx==0x0004)) { in tosh_ioctl()
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_args_syntax.tc23 GOODREG=%ax
28 BADREG=%ax
32 BADREG=%ax
/Linux-v5.4/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 …]
/Linux-v5.4/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()
/Linux-v5.4/sound/pci/asihpi/
Dhpioctl.c430 && hr.u.ax.mode.adapter_mode == HPI_ADAPTER_MODE_LOW_LATENCY) in asihpi_adapter_probe()
441 hm.u.ax.property_set.property = HPI_ADAPTER_PROPERTY_SUPPORTS_IRQ; in asihpi_adapter_probe()
443 if (hr.error || !hr.u.ax.property_get.parameter1) { in asihpi_adapter_probe()
470 hm.u.ax.property_set.property = HPI_ADAPTER_PROPERTY_IRQ_RATE; in asihpi_adapter_probe()
471 hm.u.ax.property_set.parameter1 = 0; in asihpi_adapter_probe()
472 hm.u.ax.property_set.parameter2 = 0; in asihpi_adapter_probe()
533 hm.u.ax.property_set.property = HPI_ADAPTER_PROPERTY_IRQ_RATE; in asihpi_adapter_remove()
534 hm.u.ax.property_set.parameter1 = 0; in asihpi_adapter_remove()
535 hm.u.ax.property_set.parameter2 = 0; in asihpi_adapter_remove()
/Linux-v5.4/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DEventClass.py60 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf)
63 self.ax = ax

12345