/linux-3.4.99/drivers/net/hamradio/ |
D | mkiss.c | 246 static void ax_bump(struct mkiss *ax) in ax_bump() argument 251 spin_lock_bh(&ax->buflock); in ax_bump() 252 if (ax->rbuff[0] > 0x0f) { in ax_bump() 253 if (ax->rbuff[0] & 0x80) { in ax_bump() 254 if (check_crc_16(ax->rbuff, ax->rcount) < 0) { in ax_bump() 255 ax->dev->stats.rx_errors++; in ax_bump() 256 spin_unlock_bh(&ax->buflock); in ax_bump() 260 if (ax->crcmode != CRC_MODE_SMACK && ax->crcauto) { in ax_bump() 263 ax->dev->name); in ax_bump() 264 ax->crcmode = CRC_MODE_SMACK; in ax_bump() [all …]
|
/linux-3.4.99/drivers/net/ethernet/8390/ |
D | ax88796.c | 322 struct ax_device *ax = to_ax_dev(dev); in ax_handle_link_change() local 323 struct phy_device *phy_dev = ax->phy_dev; in ax_handle_link_change() 326 if (phy_dev->link && ((ax->speed != phy_dev->speed) || in ax_handle_link_change() 327 (ax->duplex != phy_dev->duplex))) { in ax_handle_link_change() 329 ax->speed = phy_dev->speed; in ax_handle_link_change() 330 ax->duplex = phy_dev->duplex; in ax_handle_link_change() 334 if (phy_dev->link != ax->link) { in ax_handle_link_change() 336 ax->speed = 0; in ax_handle_link_change() 337 ax->duplex = -1; in ax_handle_link_change() 339 ax->link = phy_dev->link; in ax_handle_link_change() [all …]
|
/linux-3.4.99/drivers/isdn/hisax/ |
D | bkm_a8.c | 80 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 …]
|
D | bkm_a4t.c | 76 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-3.4.99/arch/mips/math-emu/ |
D | ieee754.c | 101 struct ieee754xctx ax; in ieee754si_xcpt() local 105 ax.op = op; in ieee754si_xcpt() 106 ax.rt = IEEE754_RT_SI; in ieee754si_xcpt() 107 ax.rv.si = r; in ieee754si_xcpt() 108 va_start(ax.ap, op); in ieee754si_xcpt() 109 ieee754_xcpt(&ax); in ieee754si_xcpt() 110 va_end(ax.ap); in ieee754si_xcpt() 111 return ax.rv.si; in ieee754si_xcpt() 116 struct ieee754xctx ax; in ieee754di_xcpt() local 120 ax.op = op; in ieee754di_xcpt() [all …]
|
D | ieee754dp.c | 50 struct ieee754xctx ax; in ieee754dp_xcpt() local 54 ax.op = op; in ieee754dp_xcpt() 55 ax.rt = IEEE754_RT_DP; in ieee754dp_xcpt() 56 ax.rv.dp = r; in ieee754dp_xcpt() 57 va_start(ax.ap, op); in ieee754dp_xcpt() 58 ieee754_xcpt(&ax); in ieee754dp_xcpt() 59 va_end(ax.ap); in ieee754dp_xcpt() 60 return ax.rv.dp; in ieee754dp_xcpt() 65 struct ieee754xctx ax; in ieee754dp_nanxcpt() local 81 ax.op = op; in ieee754dp_nanxcpt() [all …]
|
D | ieee754sp.c | 50 struct ieee754xctx ax; in ieee754sp_xcpt() local 55 ax.op = op; in ieee754sp_xcpt() 56 ax.rt = IEEE754_RT_SP; in ieee754sp_xcpt() 57 ax.rv.sp = r; in ieee754sp_xcpt() 58 va_start(ax.ap, op); in ieee754sp_xcpt() 59 ieee754_xcpt(&ax); in ieee754sp_xcpt() 60 va_end(ax.ap); in ieee754sp_xcpt() 61 return ax.rv.sp; in ieee754sp_xcpt() 66 struct ieee754xctx ax; in ieee754sp_nanxcpt() local 82 ax.op = op; in ieee754sp_nanxcpt() [all …]
|
/linux-3.4.99/arch/x86/boot/ |
D | video-vga.c | 49 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 …]
|
D | video-vesa.c | 43 ireg.ax = 0x4f00; in vesa_probe() 47 if (oreg.ax != 0x004f || in vesa_probe() 66 ireg.ax = 0x4f01; in vesa_probe() 71 if (oreg.ax != 0x004f) in vesa_probe() 114 ireg.ax = 0x4f01; in vesa_set_mode() 119 if (oreg.ax != 0x004f) in vesa_set_mode() 137 ireg.ax = 0x4f02; in vesa_set_mode() 141 if (oreg.ax != 0x004f) in vesa_set_mode() 170 ireg.ax = 0x4f08; in vesa_dac_set_8bits() 173 if (oreg.ax == 0x004f) in vesa_dac_set_8bits() [all …]
|
D | memory.c | 28 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()
|
D | bioscall.S | 63 movw %cs, %ax 64 movw %ax, %ds 65 movw %ax, %es
|
D | header.S | 58 movw %cs, %ax 59 movw %ax, %ds 60 movw %ax, %es 61 movw %ax, %ss 79 xorw %ax, %ax 392 movw $0x0000, %ax # Reset disk controller 398 movw %ds, %ax 399 movw %ax, %es 425 3: movw %ax, %ss
|
/linux-3.4.99/arch/cris/arch-v10/lib/ |
D | checksum.S | 40 ax 42 ax 44 ax 46 ax 48 ax 50 ax 52 ax 54 ax 56 ax 62 ax
|
D | checksumcopy.S | 46 ax 48 ax 50 ax 52 ax 54 ax 56 ax 58 ax 60 ax 62 ax 68 ax
|
/linux-3.4.99/arch/x86/kernel/acpi/ |
D | wakeup_32.S | 13 movw $__KERNEL_DS, %ax 14 movw %ax, %ss 15 movw %ax, %ds 16 movw %ax, %es 17 movw %ax, %fs 18 movw %ax, %gs
|
D | wakeup_64.S | 21 movw $__KERNEL_DS, %ax 22 movw %ax, %ss 23 movw %ax, %ds 24 movw %ax, %es 25 movw %ax, %fs 26 movw %ax, %gs
|
/linux-3.4.99/arch/x86/platform/olpc/ |
D | xo1-wakeup.S | 38 movw $__KERNEL_DS, %ax 39 movw %ax, %ss 40 movw %ax, %ds 41 movw %ax, %es 42 movw %ax, %fs 43 movw %ax, %gs
|
/linux-3.4.99/arch/x86/kernel/ |
D | reboot_32.S | 31 movw (dispatch_table - r_base)(%ebx,%eax,2),%ax 32 movw %ax, (101f - r_base)(%ebx) 102 movw $0x1000, %ax 103 movw %ax, %ss 105 movw $0x5307, %ax
|
D | signal.c | 115 get_user_ex(*pax, &sc->ax); in restore_sigcontext() 142 put_user_ex(regs->ax, &sc->ax); in setup_sigcontext() 327 regs->ax = (unsigned long)sig; in __setup_frame() 394 regs->ax = (unsigned long)sig; in __setup_rt_frame() 455 regs->ax = 0; in __setup_rt_frame() 555 unsigned long ax; in sys_sigreturn() local 570 if (restore_sigcontext(regs, &frame->sc, &ax)) in sys_sigreturn() 572 return ax; in sys_sigreturn() 584 unsigned long ax; in sys_rt_sigreturn() local 596 if (restore_sigcontext(regs, &frame->uc.uc_mcontext, &ax)) in sys_rt_sigreturn() [all …]
|
D | trampoline_64.S | 43 mov %cs, %ax # Code and data in the same place 44 mov %ax, %ds 45 mov %ax, %es 46 mov %ax, %ss
|
/linux-3.4.99/arch/x86/net/ |
D | bpf_jit.S | 54 rol $8,%ax # ntohs() 117 mov -12(%rbp),%ax 118 rol $8,%ax 119 movzwl %ax,%eax 168 mov (%rax),%ax 169 rol $8,%ax 170 movzwl %ax,%eax
|
/linux-3.4.99/drivers/usb/wusbcore/ |
D | crypto.c | 208 struct aes_ccm_a ax; in wusb_ccm_mac() local 222 WARN_ON(sizeof(ax) != sizeof(struct aes_ccm_block)); in wusb_ccm_mac() 281 ax.flags = 0x01; /* as per WUSB 1.0 spec */ in wusb_ccm_mac() 282 ax.ccm_nonce = *n; in wusb_ccm_mac() 283 ax.counter = 0; in wusb_ccm_mac() 284 crypto_cipher_encrypt_one(tfm_aes, (void *)&ax, (void *)&ax); in wusb_ccm_mac() 285 bytewise_xor(mic, &ax, iv, 8); in wusb_ccm_mac()
|
/linux-3.4.99/drivers/char/ |
D | toshiba.c | 261 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-3.4.99/arch/x86/include/asm/ |
D | syscall.h | 36 regs->ax = regs->orig_ax; in syscall_rollback() 42 unsigned long error = regs->ax; in syscall_get_error() 61 return regs->ax; in syscall_get_return_value() 68 regs->ax = (long) error ?: val; in syscall_set_return_value()
|
/linux-3.4.99/arch/x86/kernel/acpi/realmode/ |
D | wakeup.S | 71 movw %cs, %ax 72 movw %ax, %ds 73 movw %ax, %es 74 movw %ax, %ss
|