Home
last modified time | relevance | path

Searched +full:src +full:- +full:4 (Results 1 – 25 of 1480) sorted by relevance

12345678910>>...60

/linux/arch/x86/lib/
H A Dmemmove_32.S1 /* SPDX-License-Identifier: GPL-2.0 */
9 * -mregparm=3 passes these in registers:
15 * n can remain in %ecx, but for `rep movsl`, we'll need dest in %edi and src
21 .set src, %esi define
31 * Save all callee-saved registers, because this function is going to clobber
42 movl src_in, src
50 cmpl dest, src
60 movl src, tmp0
70 movl 0*4(src), tmp0
71 movl 1*4(src), tmp1
[all …]
/linux/arch/parisc/lib/
H A Dlusercopy.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (C) 2000-2002 Hewlett-Packard (John Marvin)
6 * Copyright (C) 2000 Richard Hirst <rhirst with parisc-linux.org>
8 * Copyright (C) 2003 Randolph Chung <tausq with parisc-linux.org>
40 addib,<> -1,%r25,$lclu_loop
58 * - sr1 already contains space of source region
59 * - sr2 already contains space of destination region
62 * - number of bytes that could not be copied.
65 * This code is based on a C-implementation of a copy routine written by
69 * conditions. In the optimal case, we copy by loops that copy 32- or 16-bytes
[all …]
/linux/arch/mips/cavium-octeon/
H A Docteon-memcpy.S18 #include <asm/asm-offsets.h>
22 #define src a1 macro
28 * memcpy copies len bytes from src to dst and sets v0 to dst.
30 * - src and dst don't overlap
31 * - src is readable
32 * - dst is writable
35 * __copy_user copies up to len bytes from src to dst and sets a2 (len) to
37 * __copy_user assumes that src and dst don't overlap, and that the call is
40 * - src is readable (no exceptions when reading src)
42 * - dst is writable (no exceptions when writing dst)
[all …]
/linux/net/ceph/
H A Darmor.c1 // SPDX-License-Identifier: GPL-2.0
5 int ceph_armor(char *dst, const char *src, const char *end);
6 int ceph_unarmor(char *dst, const char *src, const char *end);
23 return c - 'A'; in decode_bits()
25 return c - 'a' + 26; in decode_bits()
27 return c - '0' + 52; in decode_bits()
33 return 0; /* just non-negative, please */ in decode_bits()
34 return -EINVAL; in decode_bits()
37 int ceph_armor(char *dst, const char *src, const char *end) in ceph_armor() argument
42 while (src < end) { in ceph_armor()
[all …]
/linux/lib/crypto/x86/
H A Dchacha.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
14 u8 *dst, const u8 *src,
17 u8 *dst, const u8 *src,
23 u8 *dst, const u8 *src,
26 u8 *dst, const u8 *src,
29 u8 *dst, const u8 *src,
33 u8 *dst, const u8 *src,
36 u8 *dst, const u8 *src,
39 u8 *dst, const u8 *src,
52 static void chacha_dosimd(struct chacha_state *state, u8 *dst, const u8 *src, in chacha_dosimd() argument
[all …]
/linux/arch/mips/lib/
H A Dcsum_partial.S16 #include <asm/asm-offsets.h>
53 #define NBYTES 4
75 #define CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3) \ argument
76 LOAD _t0, (offset + UNIT(0))(src); \
77 LOAD _t1, (offset + UNIT(1))(src); \
78 LOAD _t2, (offset + UNIT(2))(src); \
79 LOAD _t3, (offset + UNIT(3))(src); \
86 #define CSUM_BIGCHUNK(src, offset, sum, _t0, _t1, _t2, _t3) \ argument
87 CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3)
89 #define CSUM_BIGCHUNK(src, offset, sum, _t0, _t1, _t2, _t3) \ argument
[all …]
/linux/arch/nios2/lib/
H A Dmemmove.c15 unsigned long dst, src; in memmove() local
22 src = (unsigned long) s; in memmove()
24 if ((count < 8) || ((dst ^ src) & 3)) in memmove()
28 *(char *)dst++ = *(char *)src++; in memmove()
29 count--; in memmove()
32 *(short *)dst = *(short *)src; in memmove()
33 src += 2; in memmove()
35 count -= 2; in memmove()
38 *(long *)dst = *(long *)src; in memmove()
39 src += 4; in memmove()
[all …]
/linux/arch/microblaze/lib/
H A Dmemmove.c2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
6 * Reasonably optimised generic C-code for memcpy on Microblaze
7 * This is generic C code to do efficient, alignment-aware memmove.
36 const char *src = v_src; in memmove() local
55 /* Do a descending copy - this is a bit trickier! */ in memmove()
57 src += c; in memmove()
59 if (c >= 4) { in memmove()
67 *--dst = *--src; in memmove()
68 --c; in memmove()
[all …]
H A Dmemcpy.c2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
6 * Reasonably optimised generic C-code for memcpy on Microblaze
7 * This is generic C code to do efficient, alignment-aware memcpy.
37 const char *src = v_src; in memcpy() local
49 if (likely(c >= 4)) { in memcpy()
56 *dst++ = *src++; in memcpy()
57 --c; in memcpy()
60 *dst++ = *src++; in memcpy()
61 --c; in memcpy()
[all …]
/linux/drivers/comedi/drivers/ni_routing/ni_device_routes/
H A Dpxi-6030e.c1 // SPDX-License-Identifier: GPL-2.0+
3 * comedi/drivers/ni_routing/ni_device_routes/pxi-6030e.c
6 * COMEDI - Linux Control and Measurement Device Interface
31 .device = "pxi-6030e",
35 .src = (int[]){
42 .src = (int[]){
49 .src = (int[]){
56 .src = (int[]){
62 .dest = NI_PFI(4),
63 .src = (int[]){
[all …]
H A Dpci-6070e.c1 // SPDX-License-Identifier: GPL-2.0+
3 * comedi/drivers/ni_routing/ni_device_routes/pci-6070e.c
6 * COMEDI - Linux Control and Measurement Device Interface
31 .device = "pci-6070e",
35 .src = (int[]){
42 .src = (int[]){
49 .src = (int[]){
56 .src = (int[]){
62 .dest = NI_PFI(4),
63 .src = (int[]){
[all …]
H A Dpxi-6733.c1 // SPDX-License-Identifier: GPL-2.0+
3 * comedi/drivers/ni_routing/ni_device_routes/pxi-6733.c
6 * COMEDI - Linux Control and Measurement Device Interface
31 .device = "pxi-6733",
35 .src = (int[]){
41 .dest = NI_PFI(4),
42 .src = (int[]){
49 .src = (int[]){
56 .src = (int[]){
63 .src = (int[]){
[all …]
H A Dpci-6733.c1 // SPDX-License-Identifier: GPL-2.0+
3 * comedi/drivers/ni_routing/ni_device_routes/pci-6733.c
6 * COMEDI - Linux Control and Measurement Device Interface
31 .device = "pci-6733",
35 .src = (int[]){
41 .dest = NI_PFI(4),
42 .src = (int[]){
49 .src = (int[]){
56 .src = (int[]){
63 .src = (int[]){
[all …]
H A Dpci-6713.c1 // SPDX-License-Identifier: GPL-2.0+
3 * comedi/drivers/ni_routing/ni_device_routes/pci-6713.c
6 * COMEDI - Linux Control and Measurement Device Interface
31 .device = "pci-6713",
35 .src = (int[]){
41 .dest = NI_PFI(4),
42 .src = (int[]){
49 .src = (int[]){
56 .src = (int[]){
63 .src = (int[]){
[all …]
H A Dpci-6723.c1 // SPDX-License-Identifier: GPL-2.0+
3 * comedi/drivers/ni_routing/ni_device_routes/pci-6723.c
6 * COMEDI - Linux Control and Measurement Device Interface
31 .device = "pci-6723",
35 .src = (int[]){
41 .dest = NI_PFI(4),
42 .src = (int[]){
49 .src = (int[]){
56 .src = (int[]){
63 .src = (int[]){
[all …]
H A Dpci-6534.c1 // SPDX-License-Identifier: GPL-2.0+
3 * comedi/drivers/ni_routing/ni_device_routes/pci-6534.c
6 * COMEDI - Linux Control and Measurement Device Interface
31 .device = "pci-6534",
35 .src = (int[]){
40 TRIGGER_LINE(4),
48 .src = (int[]){
53 TRIGGER_LINE(4),
61 .src = (int[]){
66 TRIGGER_LINE(4),
[all …]
H A Dpxie-6535.c1 // SPDX-License-Identifier: GPL-2.0+
3 * comedi/drivers/ni_routing/ni_device_routes/pxie-6535.c
6 * COMEDI - Linux Control and Measurement Device Interface
31 .device = "pxie-6535",
35 .src = (int[]){
39 NI_PFI(4),
45 TRIGGER_LINE(4),
65 .src = (int[]){
69 NI_PFI(4),
75 TRIGGER_LINE(4),
[all …]
H A Dpxi-6225.c1 // SPDX-License-Identifier: GPL-2.0+
3 * comedi/drivers/ni_routing/ni_device_routes/pxi-6225.c
6 * COMEDI - Linux Control and Measurement Device Interface
31 .device = "pxi-6225",
35 .src = (int[]){
40 TRIGGER_LINE(4),
65 .src = (int[]){
70 TRIGGER_LINE(4),
95 .src = (int[]){
100 TRIGGER_LINE(4),
[all …]
H A Dpci-6229.c1 // SPDX-License-Identifier: GPL-2.0+
3 * comedi/drivers/ni_routing/ni_device_routes/pci-6229.c
6 * COMEDI - Linux Control and Measurement Device Interface
31 .device = "pci-6229",
35 .src = (int[]){
40 TRIGGER_LINE(4),
65 .src = (int[]){
70 TRIGGER_LINE(4),
95 .src = (int[]){
100 TRIGGER_LINE(4),
[all …]
H A Dpci-6259.c1 // SPDX-License-Identifier: GPL-2.0+
3 * comedi/drivers/ni_routing/ni_device_routes/pci-6259.c
6 * COMEDI - Linux Control and Measurement Device Interface
31 .device = "pci-6259",
35 .src = (int[]){
40 TRIGGER_LINE(4),
66 .src = (int[]){
71 TRIGGER_LINE(4),
97 .src = (int[]){
102 TRIGGER_LINE(4),
[all …]
/linux/arch/x86/crypto/
H A Daes-ctr-avx-x86_64.S1 /* SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause */
7 // This file is dual-licensed, meaning that you can use it under your choice of
13 // http://www.apache.org/licenses/LICENSE-2.0
45 //------------------------------------------------------------------------------
47 // This file contains x86_64 assembly implementations of AES-CTR and AES-XCTR
49 // - AES-NI && AVX
50 // - VAES && AVX2
51 // - VAES && AVX512BW && AVX512VL && BMI2
59 .p2align 4
73 .quad 4, 0
[all …]
H A Dglue_helper-asm-avx.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright © 2012-2013 Jussi Kivilinna <jussi.kivilinna@iki.fi>
8 #define load_8way(src, x0, x1, x2, x3, x4, x5, x6, x7) \ argument
9 vmovdqu (0*16)(src), x0; \
10 vmovdqu (1*16)(src), x1; \
11 vmovdqu (2*16)(src), x2; \
12 vmovdqu (3*16)(src), x3; \
13 vmovdqu (4*16)(src), x4; \
14 vmovdqu (5*16)(src), x5; \
15 vmovdqu (6*16)(src), x6; \
[all …]
/linux/arch/hexagon/mm/
H A Dcopy_user_template.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
21 r3 = or(dst,src)
22 r4 = xor(dst,src)
28 src_dst_sav = combine(src,dst)
41 d_dbuf = memd(src++#8)
46 bytes -= asl(loopcount,#3)
70 if (p3) memw(dst++#4) = w_dbuf
71 w_dbuf = memw(src++#4)
75 memw(dst++#4) = w_dbuf
[all …]
/linux/tools/testing/selftests/net/
H A Dxfrm_policy.sh2 # SPDX-License-Identifier: GPL-2.0
8 # ns1 ---- ns3 ----- ns4 ---- ns2
34 local lnet=$4
38 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu…
40 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
47 local lnet=$4
52 …ip -net $ns xfrm state add src $remote dst $me proto esp spi $spi_in enc aes $KEY_AES auth sha1 …
53 …ip -net $ns xfrm state add src $me dst $remote proto esp spi $spi_out enc aes $KEY_AES auth sha1 …
60 # re-built.
75 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
[all …]
/linux/sound/soc/meson/
H A Daxg-frddr.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
17 #include <sound/soc-dai.h>
19 #include "axg-fifo.h"
23 #define CTRL0_SEL2_SHIFT 4
29 #define CTRL2_SEL1_EN_SHIFT 4
41 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_frddr_dai_prepare()
43 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_frddr_dai_prepare()
45 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_frddr_dai_prepare()
61 depth = min(period, fifo->depth); in axg_frddr_dai_hw_params()
62 val = (depth / AXG_FIFO_BURST) - 1; in axg_frddr_dai_hw_params()
[all …]

12345678910>>...60