/kernel/linux/linux-5.10/drivers/net/hamradio/ |
H A D | mkiss.c | 237 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 in ax_bump() 301 kiss_unesc(struct mkiss *ax, unsigned char s) kiss_unesc() argument 358 ax_changedmtu(struct mkiss *ax) ax_changedmtu() argument 427 struct mkiss *ax = netdev_priv(dev); ax_encaps() local 522 struct mkiss *ax = netdev_priv(dev); ax_xmit() local 561 struct mkiss *ax = netdev_priv(dev); ax_open_dev() local 572 struct mkiss *ax = netdev_priv(dev); ax_open() local 622 struct mkiss *ax = netdev_priv(dev); ax_close() local 669 struct mkiss *ax; mkiss_get() local 680 mkiss_put(struct mkiss *ax) mkiss_put() argument 691 struct mkiss *ax; mkiss_open() local 775 struct mkiss *ax; mkiss_close() local 812 struct mkiss *ax = mkiss_get(tty); mkiss_ioctl() local 880 struct mkiss *ax = mkiss_get(tty); mkiss_receive_buf() local 914 struct mkiss *ax = mkiss_get(tty); mkiss_write_wakeup() local [all...] |
/kernel/linux/linux-6.6/drivers/net/hamradio/ |
H A D | mkiss.c | 237 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 in ax_bump() 301 kiss_unesc(struct mkiss *ax, unsigned char s) kiss_unesc() argument 358 ax_changedmtu(struct mkiss *ax) ax_changedmtu() argument 427 struct mkiss *ax = netdev_priv(dev); ax_encaps() local 522 struct mkiss *ax = netdev_priv(dev); ax_xmit() local 561 struct mkiss *ax = netdev_priv(dev); ax_open_dev() local 572 struct mkiss *ax = netdev_priv(dev); ax_open() local 622 struct mkiss *ax = netdev_priv(dev); ax_close() local 669 struct mkiss *ax; mkiss_get() local 680 mkiss_put(struct mkiss *ax) mkiss_put() argument 691 struct mkiss *ax; mkiss_open() local 775 struct mkiss *ax; mkiss_close() local 812 struct mkiss *ax = mkiss_get(tty); mkiss_ioctl() local 880 struct mkiss *ax = mkiss_get(tty); mkiss_receive_buf() local 914 struct mkiss *ax = mkiss_get(tty); mkiss_write_wakeup() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/ |
H A D | ax88796.c | 170 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 in ax_handle_link_change() 359 struct ax_device *ax = to_ax_dev(dev); ax_mii_probe() local 388 struct ax_device *ax = to_ax_dev(dev); ax_phy_switch() local 402 struct ax_device *ax = container_of(ctrl, struct ax_device, bb_ctrl); ax_bb_mdc() local 414 struct ax_device *ax = container_of(ctrl, struct ax_device, bb_ctrl); ax_bb_dir() local 426 struct ax_device *ax = container_of(ctrl, struct ax_device, bb_ctrl); ax_bb_set_data() local 438 struct ax_device *ax = container_of(ctrl, struct ax_device, bb_ctrl); ax_bb_get_data() local 456 struct ax_device *ax = to_ax_dev(dev); ax_mii_init() local 486 struct ax_device *ax = to_ax_dev(dev); ax_open() local 535 struct ax_device *ax = to_ax_dev(dev); ax_close() local 656 struct ax_device *ax = to_ax_dev(dev); ax_initial_setup() local 677 struct ax_device *ax = to_ax_dev(dev); ax_init_dev() local 809 struct ax_device *ax = to_ax_dev(dev); ax_remove() local 841 struct ax_device *ax; ax_probe() local 970 struct ax_device *ax = to_ax_dev(ndev); ax_suspend() local 983 struct ax_device *ax = to_ax_dev(ndev); ax_resume() local [all...] |
H A D | xsurf100.c | 56 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/8390/ |
H A D | ax88796.c | 177 struct ax_device *ax = to_ax_dev(dev); in ax_ei_interrupt_filtered() local 180 if (!ax->plat->check_irq(pdev)) in ax_ei_interrupt_filtered() 338 struct ax_device *ax = to_ax_dev(dev); in ax_handle_link_change() local 342 if (phy_dev->link && ((ax->speed != phy_dev->speed) || in ax_handle_link_change() 343 (ax->duplex != phy_dev->duplex))) { in ax_handle_link_change() 345 ax->speed = phy_dev->speed; in ax_handle_link_change() 346 ax->duplex = phy_dev->duplex; in ax_handle_link_change() 350 if (phy_dev->link != ax->link) { in ax_handle_link_change() 352 ax->speed = 0; in ax_handle_link_change() 353 ax in ax_handle_link_change() 366 struct ax_device *ax = to_ax_dev(dev); ax_mii_probe() local 395 struct ax_device *ax = to_ax_dev(dev); ax_phy_switch() local 409 struct ax_device *ax = container_of(ctrl, struct ax_device, bb_ctrl); ax_bb_mdc() local 421 struct ax_device *ax = container_of(ctrl, struct ax_device, bb_ctrl); ax_bb_dir() local 433 struct ax_device *ax = container_of(ctrl, struct ax_device, bb_ctrl); ax_bb_set_data() local 445 struct ax_device *ax = container_of(ctrl, struct ax_device, bb_ctrl); ax_bb_get_data() local 463 struct ax_device *ax = to_ax_dev(dev); ax_mii_init() local 493 struct ax_device *ax = to_ax_dev(dev); ax_open() local 542 struct ax_device *ax = to_ax_dev(dev); ax_close() local 663 struct ax_device *ax = to_ax_dev(dev); ax_initial_setup() local 684 struct ax_device *ax = to_ax_dev(dev); ax_init_dev() local 818 struct ax_device *ax = to_ax_dev(dev); ax_remove() local 850 struct ax_device *ax; ax_probe() local 979 struct ax_device *ax = to_ax_dev(ndev); ax_suspend() local 992 struct ax_device *ax = to_ax_dev(ndev); ax_resume() local [all...] |
H A D | xsurf100.c | 51 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()
|
/kernel/linux/linux-5.10/arch/x86/boot/ |
H A D | video-vga.c | 47 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 in vga_set_80x43() [all...] |
H A D | video-vesa.c | 42 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 in vesa_dac_set_8bits() [all...] |
H A D | memory.c | 26 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()
|
/kernel/linux/linux-6.6/arch/x86/boot/ |
H A D | video-vga.c | 47 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 in vga_set_80x43() [all...] |
H A D | video-vesa.c | 42 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 in vesa_dac_set_8bits() [all...] |
H A D | memory.c | 26 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()
|
/kernel/linux/linux-5.10/arch/x86/kernel/acpi/ |
H A D | wakeup_32.S | 13 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
|
H A D | wakeup_64.S | 28 movw $__KERNEL_DS, %ax 29 movw %ax, %ss 30 movw %ax, %ds 31 movw %ax, %es 32 movw %ax, %fs 33 movw %ax, %gs
|
/kernel/linux/linux-6.6/arch/x86/kernel/acpi/ |
H A D | wakeup_32.S | 13 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
|
H A D | wakeup_64.S | 30 movw $__KERNEL_DS, %ax 31 movw %ax, %ss 32 movw %ax, %ds 33 movw %ax, %es 34 movw %ax, %fs 35 movw %ax, %gs
|
/kernel/linux/linux-5.10/arch/x86/realmode/rm/ |
H A D | trampoline_64.S | 47 mov %cs, %ax # Code and data in the same place 48 mov %ax, %ds 49 mov %ax, %es 50 mov %ax, %ss 91 mov %cs, %ax # Code and data in the same place 92 mov %ax, %ds 93 mov %ax, %es 94 mov %ax, %ss 105 .section ".text32","ax" 164 .section ".text64","ax" [all...] |
H A D | wakeup_asm.S | 68 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 D | reboot.S | 20 .section ".text32", "ax" 112 andw %ax, %ax 116 movw $0x1000, %ax 117 movw %ax, %ss 119 movw $0x5307, %ax
|
/kernel/linux/linux-5.10/arch/x86/platform/olpc/ |
H A D | xo1-wakeup.S | 39 movw $__KERNEL_DS, %ax 40 movw %ax, %ss 41 movw %ax, %ds 42 movw %ax, %es 43 movw %ax, %fs 44 movw %ax, %gs
|
/kernel/linux/linux-6.6/arch/x86/realmode/rm/ |
H A D | wakeup_asm.S | 68 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 D | trampoline_64.S | 65 mov %cs, %ax # Code and data in the same place 66 mov %ax, %ds 67 mov %ax, %es 68 mov %ax, %ss 108 mov %cs, %ax # Code and data in the same place 109 mov %ax, %ds 110 mov %ax, %es 111 mov %ax, %ss 121 .section ".text32","ax" 204 .section ".text64","ax" [all...] |
H A D | reboot.S | 20 .section ".text32", "ax" 112 andw %ax, %ax 116 movw $0x1000, %ax 117 movw %ax, %ss 119 movw $0x5307, %ax
|
/kernel/linux/linux-6.6/arch/x86/platform/olpc/ |
H A D | xo1-wakeup.S | 39 movw $__KERNEL_DS, %ax 40 movw %ax, %ss 41 movw %ax, %ds 42 movw %ax, %es 43 movw %ax, %fs 44 movw %ax, %gs
|
/kernel/linux/linux-6.6/arch/x86/entry/ |
H A D | common.c | 51 regs->ax = sys_call_table[unr](regs); in do_syscall_x64() 68 regs->ax = x32_sys_call_table[xnr](regs); in do_syscall_x32() 83 regs->ax = __x64_sys_ni_syscall(regs); in do_syscall_64() 117 regs->ax = ia32_sys_call_table[unr](regs); in do_syscall_32_irqs_on() 119 regs->ax = __ia32_sys_ni_syscall(regs); in do_syscall_32_irqs_on() 189 * and regs::ax contains the syscall number. in DEFINE_IDTENTRY_RAW() 196 * syscall number in regs::orig_ax and by invalidating regs::ax. in DEFINE_IDTENTRY_RAW() 198 regs->orig_ax = regs->ax & GENMASK(31, 0); in DEFINE_IDTENTRY_RAW() 199 regs->ax = -ENOSYS; in DEFINE_IDTENTRY_RAW() 262 regs->ax in __do_fast_syscall_32() [all...] |