Home
last modified time | relevance | path

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

12345678910>>...44

/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_rect.c1 // SPDX-License-Identifier: GPL-2.0
12 #include "test-drm_modeset_common.h"
16 struct drm_rect src, dst, clip; in igt_drm_rect_clip_scaled_div_by_zero() local
23 drm_rect_init(&src, 0, 0, 0, 0); in igt_drm_rect_clip_scaled_div_by_zero()
26 visible = drm_rect_clip_scaled(&src, &dst, &clip); in igt_drm_rect_clip_scaled_div_by_zero()
28 FAIL(drm_rect_visible(&src), "Source should not be visible\n"); in igt_drm_rect_clip_scaled_div_by_zero()
30 drm_rect_init(&src, 0, 0, 0, 0); in igt_drm_rect_clip_scaled_div_by_zero()
33 visible = drm_rect_clip_scaled(&src, &dst, &clip); in igt_drm_rect_clip_scaled_div_by_zero()
35 FAIL(drm_rect_visible(&src), "Source should not be visible\n"); in igt_drm_rect_clip_scaled_div_by_zero()
42 struct drm_rect src, dst, clip; in igt_drm_rect_clip_scaled_not_clipped() local
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
Ddrm_rect_test.c1 // SPDX-License-Identifier: GPL-2.0
19 KUNIT_EXPECT_EQ(test, r->x1, expected->x1); in drm_rect_compare()
20 KUNIT_EXPECT_EQ(test, r->y1, expected->y1); in drm_rect_compare()
27 struct drm_rect src, dst, clip; in drm_test_rect_clip_scaled_div_by_zero() local
34 drm_rect_init(&src, 0, 0, 0, 0); in drm_test_rect_clip_scaled_div_by_zero()
37 visible = drm_rect_clip_scaled(&src, &dst, &clip); in drm_test_rect_clip_scaled_div_by_zero()
40 KUNIT_EXPECT_FALSE_MSG(test, drm_rect_visible(&src), "Source should not be visible\n"); in drm_test_rect_clip_scaled_div_by_zero()
42 drm_rect_init(&src, 0, 0, 0, 0); in drm_test_rect_clip_scaled_div_by_zero()
45 visible = drm_rect_clip_scaled(&src, &dst, &clip); in drm_test_rect_clip_scaled_div_by_zero()
48 KUNIT_EXPECT_FALSE_MSG(test, drm_rect_visible(&src), "Source should not be visible\n"); in drm_test_rect_clip_scaled_div_by_zero()
[all …]
/kernel/linux/linux-6.6/arch/x86/lib/
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 …]
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
Docteon-memcpy.S17 #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 …]
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/
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 …]
/kernel/linux/linux-6.6/arch/arm64/lib/
Dcopy_template.S1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * http://bazaar.launchpad.net/~linaro-toolchain-dev/cortex-strings/trunk/
10 * files/head:/src/aarch64/
15 * Copy a buffer from src to dest (alignment handled by the hardware)
18 * x0 - dest
19 * x1 - src
20 * x2 - n
22 * x0 - dest
25 src .req x1 label
47 neg tmp2, src
[all …]
/kernel/linux/linux-5.10/arch/arm64/lib/
Dcopy_template.S1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * http://bazaar.launchpad.net/~linaro-toolchain-dev/cortex-strings/trunk/
10 * files/head:/src/aarch64/
15 * Copy a buffer from src to dest (alignment handled by the hardware)
18 * x0 - dest
19 * x1 - src
20 * x2 - n
22 * x0 - dest
25 src .req x1 label
47 neg tmp2, src
[all …]
Dmemmove.S1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * http://bazaar.launchpad.net/~linaro-toolchain-dev/cortex-strings/trunk/
10 * files/head:/src/aarch64/
18 * Move a buffer from src to test (alignment handled by the hardware).
19 * If dest <= src, call memcpy, otherwise copy in reverse order.
22 * x0 - dest
23 * x1 - src
24 * x2 - n
26 * x0 - dest
29 src .req x1 label
[all …]
/kernel/linux/linux-5.10/arch/m68k/lib/
Dmemmove.c10 void *memmove(void *dest, const void *src, size_t n) in memmove() argument
18 if (dest < src) { in memmove()
21 const char *csrc = src; in memmove()
24 src = csrc; in memmove()
25 n--; in memmove()
27 if (n > 2 && (long)dest & 2) { in memmove()
29 const short *ssrc = src; in memmove()
32 src = ssrc; in memmove()
33 n -= 2; in memmove()
35 temp = n >> 2; in memmove()
[all …]
/kernel/linux/linux-6.6/arch/m68k/lib/
Dmemmove.c10 void *memmove(void *dest, const void *src, size_t n) in memmove() argument
18 if (dest < src) { in memmove()
21 const char *csrc = src; in memmove()
24 src = csrc; in memmove()
25 n--; in memmove()
27 if (n > 2 && (long)dest & 2) { in memmove()
29 const short *ssrc = src; in memmove()
32 src = ssrc; in memmove()
33 n -= 2; in memmove()
35 temp = n >> 2; in memmove()
[all …]
/kernel/linux/linux-5.10/arch/mips/lib/
Dcsum_partial.S15 #include <asm/asm-offsets.h>
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
90 CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3); \
[all …]
Dmemcpy.S23 * dma-coherent systems.
36 #include <asm/asm-offsets.h>
41 #define src a1 macro
47 * memcpy copies len bytes from src to dst and sets v0 to dst.
49 * - src and dst don't overlap
50 * - src is readable
51 * - dst is writable
54 * __copy_user copies up to len bytes from src to dst and sets a2 (len) to
56 * __copy_user assumes that src and dst don't overlap, and that the call is
59 * - src is readable (no exceptions when reading src)
[all …]
/kernel/linux/linux-6.6/arch/mips/lib/
Dcsum_partial.S16 #include <asm/asm-offsets.h>
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
90 CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3); \
[all …]
Dmemcpy.S23 * dma-coherent systems.
37 #include <asm/asm-offsets.h>
41 #define src a1 macro
47 * memcpy copies len bytes from src to dst and sets v0 to dst.
49 * - src and dst don't overlap
50 * - src is readable
51 * - dst is writable
54 * __copy_user copies up to len bytes from src to dst and sets a2 (len) to
56 * __copy_user assumes that src and dst don't overlap, and that the call is
59 * - src is readable (no exceptions when reading src)
[all …]
/kernel/linux/linux-6.6/arch/m68k/math-emu/
Dfp_log.c3 fp_trig.c: floating-point math routines for the Linux-m68k
6 Copyright (c) 1998-1999 David Huggins-Daines / Roman Zippel.
25 extern struct fp_ext *fp_fadd(struct fp_ext *dest, const struct fp_ext *src);
26 extern struct fp_ext *fp_fdiv(struct fp_ext *dest, const struct fp_ext *src);
29 fp_fsqrt(struct fp_ext *dest, struct fp_ext *src) in fp_fsqrt() argument
36 fp_monadic_check(dest, src); in fp_fsqrt()
41 if (dest->sign) { in fp_fsqrt()
49 * sqrt(m) * 2^(p) , if e = 2*p in fp_fsqrt()
50 * sqrt(m*2^e) = in fp_fsqrt()
51 * sqrt(2*m) * 2^(p) , if e = 2*p + 1 in fp_fsqrt()
[all …]
/kernel/linux/linux-5.10/arch/m68k/math-emu/
Dfp_log.c3 fp_trig.c: floating-point math routines for the Linux-m68k
6 Copyright (c) 1998-1999 David Huggins-Daines / Roman Zippel.
25 extern struct fp_ext *fp_fadd(struct fp_ext *dest, const struct fp_ext *src);
26 extern struct fp_ext *fp_fdiv(struct fp_ext *dest, const struct fp_ext *src);
29 fp_fsqrt(struct fp_ext *dest, struct fp_ext *src) in fp_fsqrt() argument
36 fp_monadic_check(dest, src); in fp_fsqrt()
41 if (dest->sign) { in fp_fsqrt()
49 * sqrt(m) * 2^(p) , if e = 2*p in fp_fsqrt()
50 * sqrt(m*2^e) = in fp_fsqrt()
51 * sqrt(2*m) * 2^(p) , if e = 2*p + 1 in fp_fsqrt()
[all …]
/kernel/linux/linux-5.10/arch/nios2/lib/
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()
31 if (dst & 2) { in memmove()
32 *(short *)dst = *(short *)src; in memmove()
33 src += 2; in memmove()
34 dst += 2; in memmove()
35 count -= 2; in memmove()
[all …]
/kernel/linux/linux-6.6/arch/nios2/lib/
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()
31 if (dst & 2) { in memmove()
32 *(short *)dst = *(short *)src; in memmove()
33 src += 2; in memmove()
34 dst += 2; in memmove()
35 count -= 2; in memmove()
[all …]
/kernel/linux/linux-6.6/net/ceph/
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 …]
/kernel/linux/linux-5.10/net/ceph/
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/
Dmdp_common.xml.h6 This file was generated by the rules-ng-ng headergen tool in this git repository:
10 The rules-ng-ng source files this header was generated from are:
11 - /home/robclark/src/mesa/mesa/src/freedreno/registers/msm.xml ( 944 bytes, fr…
12 - /home/robclark/src/mesa/mesa/src/freedreno/registers/freedreno_copyright.xml ( 1572 bytes, fr…
13 - /home/robclark/src/mesa/mesa/src/freedreno/registers/mdp/mdp4.xml ( 20912 bytes, fr…
14 - /home/robclark/src/mesa/mesa/src/freedreno/registers/mdp/mdp_common.xml ( 2849 bytes, fr…
15 - /home/robclark/src/mesa/mesa/src/freedreno/registers/mdp/mdp5.xml ( 37461 bytes, fr…
16 - /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi.xml ( 18746 bytes, fr…
17 - /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi_phy_v2.xml ( 3236 bytes, fr…
18 - /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi_phy_28nm_8960.xml ( 4935 bytes, fr…
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Dveth.sh2 # SPDX-License-Identifier: GPL-2.0
5 readonly STATS="$(mktemp -p /tmp ns-XXXXXX)"
7 readonly SRC=2
10 readonly NS_SRC=$BASE$SRC
23 readonly jobs="$(jobs -p)"
24 [ -n "${jobs}" ] && kill -1 ${jobs} 2>/dev/null
25 rm -f $STATS
28 ip netns del $ns 2>/dev/null
39 ip -n $ns link set dev lo up
42 ip link add name veth$SRC type veth peer name veth$DST
[all …]
/kernel/linux/linux-5.10/arch/x86/crypto/
Dglue_helper-asm-avx2.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright © 2012-2013 Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
8 #define load_16way(src, x0, x1, x2, x3, x4, x5, x6, x7) \ argument
9 vmovdqu (0*32)(src), x0; \
10 vmovdqu (1*32)(src), x1; \
11 vmovdqu (2*32)(src), x2; \
12 vmovdqu (3*32)(src), x3; \
13 vmovdqu (4*32)(src), x4; \
14 vmovdqu (5*32)(src), x5; \
15 vmovdqu (6*32)(src), x6; \
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/ni_device_routes/
Dpxi-6030e.c1 // SPDX-License-Identifier: GPL-2.0+
4 * comedi/drivers/ni_routing/ni_device_routes/pxi-6030e.c
7 * COMEDI - Linux Control and Measurement Device Interface
12 * the Free Software Foundation; either version 2 of the License, or
32 .device = "pxi-6030e",
36 .src = (int[]){
43 .src = (int[]){
49 .dest = NI_PFI(2),
50 .src = (int[]){
57 .src = (int[]){
[all …]
/kernel/linux/linux-6.6/drivers/comedi/drivers/ni_routing/ni_device_routes/
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
11 * the Free Software Foundation; either version 2 of the License, or
31 .device = "pxi-6030e",
35 .src = (int[]){
42 .src = (int[]){
48 .dest = NI_PFI(2),
49 .src = (int[]){
56 .src = (int[]){
[all …]

12345678910>>...44