Home
last modified time | relevance | path

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

12345

/Linux-v4.19/drivers/net/hamradio/
Dmkiss.c245 static void ax_bump(struct mkiss *ax) in ax_bump() argument
250 spin_lock_bh(&ax->buflock); in ax_bump()
251 if (ax->rbuff[0] > 0x0f) { in ax_bump()
252 if (ax->rbuff[0] & 0x80) { in ax_bump()
253 if (check_crc_16(ax->rbuff, ax->rcount) < 0) { in ax_bump()
254 ax->dev->stats.rx_errors++; in ax_bump()
255 spin_unlock_bh(&ax->buflock); in ax_bump()
259 if (ax->crcmode != CRC_MODE_SMACK && ax->crcauto) { in ax_bump()
262 ax->dev->name); in ax_bump()
263 ax->crcmode = CRC_MODE_SMACK; in ax_bump()
[all …]
/Linux-v4.19/drivers/isdn/hisax/
Dbkm_a8.c80 return (readreg(cs->hw.ax.base, cs->hw.ax.data_adr, offset | 0x80)); in ReadISAC()
86 writereg(cs->hw.ax.base, cs->hw.ax.data_adr, offset | 0x80, value); in WriteISAC()
92 readfifo(cs->hw.ax.base, cs->hw.ax.data_adr, 0x80, data, size); in ReadISACfifo()
98 writefifo(cs->hw.ax.base, cs->hw.ax.data_adr, 0x80, data, size); in WriteISACfifo()
105 return (readreg(cs->hw.ax.base, cs->hw.ax.data_adr, offset + (hscx ? 0x40 : 0))); in ReadHSCX()
111 writereg(cs->hw.ax.base, cs->hw.ax.data_adr, offset + (hscx ? 0x40 : 0), value); in WriteHSCX()
119 writereg(cs->hw.ax.base, cs->hw.ax.data_adr, IPAC_MASK, in set_ipac_active()
127 #define READHSCX(cs, nr, reg) readreg(cs->hw.ax.base, \
128 cs->hw.ax.data_adr, reg + (nr ? 0x40 : 0))
129 #define WRITEHSCX(cs, nr, reg, data) writereg(cs->hw.ax.base, \
[all …]
Dbkm_a4t.c76 return (readreg(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, offset)); in ReadISAC()
82 writereg(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, offset, value); in WriteISAC()
88 readfifo(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, 0, data, size); in ReadISACfifo()
94 writefifo(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, 0, data, size); in WriteISACfifo()
100 …return (readreg(cs->hw.ax.jade_ale, cs->hw.ax.jade_adr, offset + (jade == -1 ? 0 : (jade ? 0xC0 : … in ReadJADE()
106 …writereg(cs->hw.ax.jade_ale, cs->hw.ax.jade_adr, offset + (jade == -1 ? 0 : (jade ? 0xC0 : 0x80)),… in WriteJADE()
113 #define READJADE(cs, nr, reg) readreg(cs->hw.ax.jade_ale, \
114 cs->hw.ax.jade_adr, reg + (nr == -1 ? 0 : (nr ? 0xC0 : 0x80)))
115 #define WRITEJADE(cs, nr, reg, data) writereg(cs->hw.ax.jade_ale, \
116 cs->hw.ax.jade_adr, reg + (nr == -1 ? 0 : (nr ? 0xC0 : 0x80)), data)
[all …]
/Linux-v4.19/drivers/net/ethernet/8390/
Dax88796.c173 struct ax_device *ax = to_ax_dev(dev); in ax_ei_interrupt_filtered() local
176 if (!ax->plat->check_irq(pdev)) in ax_ei_interrupt_filtered()
334 struct ax_device *ax = to_ax_dev(dev); in ax_handle_link_change() local
338 if (phy_dev->link && ((ax->speed != phy_dev->speed) || in ax_handle_link_change()
339 (ax->duplex != phy_dev->duplex))) { in ax_handle_link_change()
341 ax->speed = phy_dev->speed; in ax_handle_link_change()
342 ax->duplex = phy_dev->duplex; in ax_handle_link_change()
346 if (phy_dev->link != ax->link) { in ax_handle_link_change()
348 ax->speed = 0; in ax_handle_link_change()
349 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-v4.19/arch/x86/boot/
Dvideo-vga.c49 ireg.ax = 0x0f00; in vga_set_basic_mode()
57 ireg.ax = mode; /* AH=0: set mode */ in vga_set_basic_mode()
71 ireg.ax = 0x1112; in vga_set_8font()
76 ireg.ax = 0x1200; in vga_set_8font()
81 ireg.ax = 0x1201; in vga_set_8font()
86 ireg.ax = 0x0100; in vga_set_8font()
99 ireg.ax = 0x1111; in vga_set_14font()
104 ireg.ax = 0x1201; in vga_set_14font()
109 ireg.ax = 0x0100; in vga_set_14font()
122 ireg.ax = 0x1201; in vga_set_80x43()
[all …]
Dvideo-vesa.c44 ireg.ax = 0x4f00; in vesa_probe()
48 if (oreg.ax != 0x004f || in vesa_probe()
67 ireg.ax = 0x4f01; in vesa_probe()
72 if (oreg.ax != 0x004f) in vesa_probe()
115 ireg.ax = 0x4f01; in vesa_set_mode()
120 if (oreg.ax != 0x004f) in vesa_set_mode()
138 ireg.ax = 0x4f02; in vesa_set_mode()
142 if (oreg.ax != 0x004f) in vesa_set_mode()
171 ireg.ax = 0x4f08; in vesa_dac_set_8bits()
174 if (oreg.ax == 0x004f) in vesa_dac_set_8bits()
[all …]
Dmemory.c28 ireg.ax = 0xe820; in detect_memory_e820()
79 ireg.ax = 0xe801; in detect_memory_e801()
87 oreg.ax = oreg.cx; in detect_memory_e801()
91 if (oreg.ax > 15*1024) { in detect_memory_e801()
93 } else if (oreg.ax == 15*1024) { in detect_memory_e801()
94 boot_params.alt_mem_k = (oreg.bx << 6) + oreg.ax; in detect_memory_e801()
103 boot_params.alt_mem_k = oreg.ax; in detect_memory_e801()
117 boot_params.screen_info.ext_mem_k = oreg.ax; in detect_memory_88()
Dbioscall.S63 movw %cs, %ax
64 movw %ax, %ds
65 movw %ax, %es
Dmain.c74 ireg.ax = 0x0305; /* Set keyboard repeat rate */ in keyboard_init()
91 ireg.ax = 0xe980; /* IST Support */ in query_ist()
110 ireg.ax = 0xec00; in set_bios_mode()
/Linux-v4.19/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.S22 movw $__KERNEL_DS, %ax
23 movw %ax, %ss
24 movw %ax, %ds
25 movw %ax, %es
26 movw %ax, %fs
27 movw %ax, %gs
/Linux-v4.19/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-v4.19/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
Dtrampoline_32.S37 mov %cs, %ax # Code and data in the same place
38 mov %ax, %ds
/Linux-v4.19/drivers/usb/wusbcore/
Dcrypto.c126 struct aes_ccm_a ax; member
215 WARN_ON(sizeof(scratch->ax) != sizeof(struct aes_ccm_block)); in wusb_ccm_mac()
273 scratch->ax.flags = 0x01; /* as per WUSB 1.0 spec */ in wusb_ccm_mac()
274 scratch->ax.ccm_nonce = *n; in wusb_ccm_mac()
275 scratch->ax.counter = 0; in wusb_ccm_mac()
276 crypto_cipher_encrypt_one(tfm_aes, (void *)&scratch->ax, in wusb_ccm_mac()
277 (void *)&scratch->ax); in wusb_ccm_mac()
278 bytewise_xor(mic, &scratch->ax, iv, 8); in wusb_ccm_mac()
/Linux-v4.19/tools/testing/selftests/x86/
Dcheck_initial_reg_state.c19 unsigned long ax, bx, cx, dx, si, di, bp, sp, flags; variable
71 if (ax || bx || cx || dx || si || di || bp in main()
78 SHOW(ax); in main()
/Linux-v4.19/drivers/char/
Dtoshiba.c261 unsigned short ax,bx; in tosh_ioctl() local
272 ax = regs.eax & 0xff00; in tosh_ioctl()
275 if (((ax==0xff00) || (ax==0xfe00)) && (bx>0x0069)) in tosh_ioctl()
281 if (((ax==0xf300) || (ax==0xf400)) && (bx==0x0004)) { in tosh_ioctl()
/Linux-v4.19/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_args_syntax.tc26 GOODREG=%ax
31 BADREG=%ax
35 BADREG=%ax
/Linux-v4.19/arch/x86/kernel/
Dsignal.c119 COPY(dx); COPY(cx); COPY(ip); COPY(ax); in restore_sigcontext()
181 put_user_ex(regs->ax, &sc->ax); in setup_sigcontext()
366 regs->ax = (unsigned long)sig; in __setup_frame()
432 regs->ax = (unsigned long)sig; in __setup_rt_frame()
502 regs->ax = 0; in __setup_rt_frame()
628 return regs->ax; in SYSCALL_DEFINE0()
660 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-v4.19/arch/x86/include/asm/
Dsyscall.h55 regs->ax = regs->orig_ax; in syscall_rollback()
61 unsigned long error = regs->ax; in syscall_get_error()
80 return regs->ax; in syscall_get_return_value()
87 regs->ax = (long) error ?: val; in syscall_set_return_value()
Dptrace.h33 unsigned long ax; member
70 unsigned long ax; member
109 return regs->ax; in regs_return_value()
114 regs->ax = rc; in regs_set_return_value()
/Linux-v4.19/sound/pci/asihpi/
Dhpioctl.c437 && hr.u.ax.mode.adapter_mode == HPI_ADAPTER_MODE_LOW_LATENCY) in asihpi_adapter_probe()
448 hm.u.ax.property_set.property = HPI_ADAPTER_PROPERTY_SUPPORTS_IRQ; in asihpi_adapter_probe()
450 if (hr.error || !hr.u.ax.property_get.parameter1) { in asihpi_adapter_probe()
477 hm.u.ax.property_set.property = HPI_ADAPTER_PROPERTY_IRQ_RATE; in asihpi_adapter_probe()
478 hm.u.ax.property_set.parameter1 = 0; in asihpi_adapter_probe()
479 hm.u.ax.property_set.parameter2 = 0; in asihpi_adapter_probe()
540 hm.u.ax.property_set.property = HPI_ADAPTER_PROPERTY_IRQ_RATE; in asihpi_adapter_remove()
541 hm.u.ax.property_set.parameter1 = 0; in asihpi_adapter_remove()
542 hm.u.ax.property_set.parameter2 = 0; in asihpi_adapter_remove()

12345