Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/8390/
H A 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 …]
H A 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()
/OK3568_Linux_fs/external/xserver/hw/xfree86/x86emu/x86emu/
H A Dprim_asm.h68 parm [edi] [ax] \
69 value [ax] \
70 modify exact [ax];
80 parm [edi] [ax] \
81 value [ax] \
82 modify exact [ax];
92 parm [edi] [ax] \
93 value [ax] \
94 modify exact [ax];
105 value [ax] \
[all …]
/OK3568_Linux_fs/u-boot/arch/x86/lib/
H A Dbios_asm.S58 mov SEG(X86_GDT_ENTRY_16BIT_DS), %ax
59 mov %ax, %ds
60 mov %ax, %es
61 mov %ax, %fs
62 mov %ax, %gs
63 mov %ax, %ss
78 mov $0x0, %ax
79 mov %ax, %ss
82 xor %ax, %ax
83 mov %ax, %ds
[all …]
/OK3568_Linux_fs/u-boot/arch/x86/cpu/
H A Dwakeup.S24 andw $0x0f, %ax
25 movw %ax, (__wakeup_offset)
29 movw %ax, (__wakeup_segment)
42 mov $DATA_SEG, %ax
43 mov %ax, %ds
44 mov %ax, %es
45 mov %ax, %fs
46 mov %ax, %gs
47 mov %ax, %ss
57 movw $0x0, %ax
[all …]
H A Dsipi_vector.S44 movw %cs, %ax
45 movw %ax, %ds
61 movw %ax, %bp
90 movw $DATA_SEG, %ax
91 movw %ax, %ds
92 movw %ax, %es
93 movw %ax, %ss
94 movw %ax, %gs
96 movw $(X86_GDT_ENTRY_32BIT_FS * X86_GDT_ENTRY_SIZE), %ax
97 movw %ax, %fs
H A Dstart.S77 movw %ax, %fs
78 movw %ax, %ds
79 movw %ax, %gs
80 movw %ax, %es
81 movw %ax, %ss
170 movw $0x85, %ax
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/external/xserver/hw/xfree86/vbe/
H A Dvbe.c81 pInt->ax = 0x4F00; in VBEExtendedInit()
88 if ((pInt->ax & 0xff) != 0x4f) { in VBEExtendedInit()
93 switch (pInt->ax & 0xff00) { in VBEExtendedInit()
190 pVbe->pInt10->ax = 0x4F15; in vbeProbeDDC()
199 if ((pVbe->pInt10->ax & 0xff) != 0x4f) { in vbeProbeDDC()
205 switch ((pVbe->pInt10->ax >> 8) & 0xff) { in vbeProbeDDC()
288 pVbe->pInt10->ax = 0x4F15; in vbeReadEDID()
298 if ((pVbe->pInt10->ax & 0xff) != 0x4f) { in vbeReadEDID()
302 switch (pVbe->pInt10->ax & 0xff00) { in vbeReadEDID()
313 pVbe->pInt10->ax & 0xff00); in vbeReadEDID()
[all …]
/OK3568_Linux_fs/kernel/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
H A 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
/OK3568_Linux_fs/kernel/arch/x86/realmode/rm/
H A 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
91 mov %cs, %ax # Code and data in the same place
92 mov %ax, %ds
93 mov %ax, %es
94 mov %ax, %ss
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.S112 andw %ax, %ax
116 movw $0x1000, %ax
117 movw %ax, %ss
119 movw $0x5307, %ax
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/
H A Dunitbezier.hpp39 , ax(1.0 - (3.0 * p1x) - (3.0 * (p2x - p1x) - (3.0 * p1x))) in UnitBezier()
58 return ((ax * t + bx) * t + cx) * t; in sampleCurveX()
66 return (3.0 * ax * t + 2.0 * bx) * t + cx; in sampleCurveDerivativeX()
119 return std::tie(cx, bx, ax, cy, by, ay) == in operator ==()
120 std::tie(rhs.cx, rhs.bx, rhs.ax, rhs.cy, rhs.by, rhs.ay); in operator ==()
126 const double ax; member
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/cartesian/
H A Dside_of_intersection.hpp228 T const ax = get<0, 0>(a); in side_value() local
235 T const dx_a = get<1, 0>(a) - ax; in side_value()
270 ax - bx, ay - by in side_value()
281 d * (ax - cx) + dx_a * da, d * (ay - cy) + dy_a * da in side_value()
293 d * (ax - cx) + dx_a * da, d * (ay - cy) + dy_a * da in side_value()
297 - dy_c * (d * (ax - cx) + dx_a * da)); in side_value()
300 - dy_c * d * (ax - cx) - dy_c * dx_a * da); in side_value()
302 T const result5 = d * (d * (dx_c * (ay - cy) - dy_c * (ax - cx)) in side_value()
319 d, dx_c * (ay - cy) - dy_c * (ax - cx), in side_value()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dsev-es-shared.c149 unsigned int fn = lower_bits(regs->ax, 32); in do_vc_no_ghcb()
161 regs->ax = val >> 32; in do_vc_no_ghcb()
199 if (fn == 0x80000000 && (regs->ax < 0x8000001f)) in do_vc_no_ghcb()
202 else if ((fn == 0x8000001f && !(regs->ax & BIT(1)))) in do_vc_no_ghcb()
458 rax = lower_bits(regs->ax, bits); in vc_handle_ioio()
469 regs->ax = lower_bits(ghcb->save.rax, bits); in vc_handle_ioio()
483 ghcb_set_rax(ghcb, regs->ax); in vc_handle_cpuid()
503 regs->ax = ghcb->save.rax; in vc_handle_cpuid()
526 ctxt->regs->ax = ghcb->save.rax; in vc_handle_rdtsc()
H A Dsignal.c107 regs->ax = sc.ax; in restore_sigcontext()
162 unsafe_put_user(regs->ax, &sc->ax, Efault); in __unsafe_setup_sigcontext()
360 regs->ax = (unsigned long)sig; in __setup_frame()
425 regs->ax = (unsigned long)sig; in __setup_rt_frame()
492 regs->ax = 0; in __setup_rt_frame()
643 return regs->ax; in SYSCALL_DEFINE0()
675 return regs->ax; in SYSCALL_DEFINE0()
737 regs->ax = -EINTR; in handle_signal()
742 regs->ax = -EINTR; in handle_signal()
747 regs->ax = regs->orig_ax; in handle_signal()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/dnn/
H A Dshape_utils.hpp198 inline int clamp(int ax, int dims) in clamp() argument
200 return ax < 0 ? ax + dims : ax; in clamp()
203 inline int clamp(int ax, const MatShape& shape) in clamp() argument
205 return clamp(ax, (int)shape.size()); in clamp()
/OK3568_Linux_fs/kernel/tools/testing/selftests/x86/
H A Dsyscall_arg_fault.c51 long ax = (long)ctx->uc_mcontext.gregs[REG_AX]; in sigsegv_or_sigbus() local
53 if (ax != -EFAULT && ax != -ENOSYS) { in sigsegv_or_sigbus()
55 (unsigned long)ax); in sigsegv_or_sigbus()
/OK3568_Linux_fs/kernel/drivers/char/
H A Dtoshiba.c249 unsigned short ax,bx; in tosh_ioctl() local
260 ax = regs.eax & 0xff00; in tosh_ioctl()
263 if (((ax==0xff00) || (ax==0xfe00)) && (bx>0x0069)) in tosh_ioctl()
269 if (((ax==0xf300) || (ax==0xf400)) && (bx==0x0004)) { in tosh_ioctl()

1234567