Home
last modified time | relevance | path

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

12345678910>>...42

/linux-6.14.4/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 …]
Ddrm_plane_helper_test.c1 // SPDX-License-Identifier: GPL-2.0
34 } src, src_expected; member
49 const struct drm_check_plane_state_test *params = test->param_value; in drm_plane_helper_init()
59 fb->width = 2048; in drm_plane_helper_init()
60 fb->height = 2048; in drm_plane_helper_init()
64 mock->plane = plane; in drm_plane_helper_init()
65 mock->crtc = ZERO_SIZE_PTR; in drm_plane_helper_init()
66 mock->fb = fb; in drm_plane_helper_init()
67 mock->rotation = params->rotation; in drm_plane_helper_init()
68 mock->src_x = params->src.x; in drm_plane_helper_init()
[all …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/arch/m68k/math-emu/
Dfp_log.c3 fp_log.c: floating-point math routines for the Linux-m68k
6 Copyright (c) 1998-1999 David Huggins-Daines / Roman Zippel.
26 struct fp_ext *fp_fsqrt(struct fp_ext *dest, struct fp_ext *src) in fp_fsqrt() argument
33 fp_monadic_check(dest, src); in fp_fsqrt()
38 if (dest->sign) { in fp_fsqrt()
46 * sqrt(m) * 2^(p) , if e = 2*p in fp_fsqrt()
47 * sqrt(m*2^e) = in fp_fsqrt()
48 * sqrt(2*m) * 2^(p) , if e = 2*p + 1 in fp_fsqrt()
51 * use the m or 2*m. in fp_fsqrt()
54 * the integer part is assumed to be one, we place a 1 or 2 into in fp_fsqrt()
[all …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
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
11 * the Free Software Foundation; either version 2 of the License, or
31 .device = "pci-6070e",
35 .src = (int[]){
42 .src = (int[]){
48 .dest = NI_PFI(2),
49 .src = (int[]){
56 .src = (int[]){
[all …]
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
11 * the Free Software Foundation; either version 2 of the License, or
31 .device = "pci-6733",
35 .src = (int[]){
42 .src = (int[]){
49 .src = (int[]){
56 .src = (int[]){
63 .src = (int[]){
[all …]
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
11 * the Free Software Foundation; either version 2 of the License, or
31 .device = "pxi-6733",
35 .src = (int[]){
42 .src = (int[]){
49 .src = (int[]){
56 .src = (int[]){
63 .src = (int[]){
[all …]
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
11 * the Free Software Foundation; either version 2 of the License, or
31 .device = "pci-6723",
35 .src = (int[]){
42 .src = (int[]){
49 .src = (int[]){
56 .src = (int[]){
63 .src = (int[]){
[all …]
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
11 * the Free Software Foundation; either version 2 of the License, or
31 .device = "pci-6713",
35 .src = (int[]){
42 .src = (int[]){
49 .src = (int[]){
56 .src = (int[]){
63 .src = (int[]){
[all …]
/linux-6.14.4/arch/parisc/lib/
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
47 2: b $lclu_done
50 ASM_EXCEPTIONTABLE_ENTRY(1b,2b)
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.
[all …]
Dio.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) Matthew Wilcox 2001 for Hewlett-Packard
17 ** Assumes the device can cope with 32-bit transfers. If it can't,
26 ** TODO: only look at src alignment and adjust the stores to dest.
28 void memcpy_fromio(void *dst, const volatile void __iomem *src, int count) in memcpy_fromio() argument
30 /* first compare alignment of src/dst */ in memcpy_fromio()
31 if ( (((unsigned long)dst ^ (unsigned long)src) & 1) || (count < 2) ) in memcpy_fromio()
34 if ( (((unsigned long)dst ^ (unsigned long)src) & 2) || (count < 4) ) in memcpy_fromio()
38 if ((unsigned long)src & 1) { in memcpy_fromio()
39 *(u8 *)dst = readb(src); in memcpy_fromio()
[all …]
/linux-6.14.4/sound/pci/ctxfi/
Dctatc.c1 // SPDX-License-Identifier: GPL-2.0-only
28 #define MONO_SUM_SCALE 0x19a8 /* 2^(-0.5) in 14-bit floating format */
101 .public_name = "IEC958 Non-audio"},
112 [SRC] = { .create = src_mgr_create,
137 if (!apcm->substream) in ct_map_audio_buffer()
140 runtime = apcm->substream->runtime; in ct_map_audio_buffer()
141 vm = atc->vm; in ct_map_audio_buffer()
143 apcm->vm_block = vm->map(vm, apcm->substream, runtime->dma_bytes); in ct_map_audio_buffer()
145 if (!apcm->vm_block) in ct_map_audio_buffer()
146 return -ENOENT; in ct_map_audio_buffer()
[all …]
/linux-6.14.4/arch/hexagon/mm/
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)
63 loopcount = lsr(bytes,#2)
71 w_dbuf = memw(src++#4)
76 bytes -= asl(loopcount,#2)
[all …]
/linux-6.14.4/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c1 // SPDX-License-Identifier: GPL-2.0
61 return !a6[0] && !a6[1] && !a6[2] && a6[3] == bpf_htonl(1); in is_loopback6()
65 const struct bpf_sock *src) in skcpy() argument
67 dst->bound_dev_if = src->bound_dev_if; in skcpy()
68 dst->family = src->family; in skcpy()
69 dst->type = src->type; in skcpy()
70 dst->protocol = src->protocol; in skcpy()
71 dst->mark = src->mark; in skcpy()
72 dst->priority = src->priority; in skcpy()
73 dst->src_ip4 = src->src_ip4; in skcpy()
[all …]
/linux-6.14.4/sound/soc/meson/
Daxg-frddr.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
17 #include <sound/soc-dai.h>
19 #include "axg-fifo.h"
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()
63 regmap_update_bits(fifo->map, FIFO_CTRL1, CTRL1_FRDDR_DEPTH, in axg_frddr_dai_hw_params()
76 ret = clk_prepare_enable(fifo->pclk); in axg_frddr_dai_startup()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dccg/dcn35/
Ddcn35_dccg.c1 /* SPDX-License-Identifier: MIT */
34 (dccg_dcn->regs->reg)
38 dccg_dcn->dccg_shift->field_name, dccg_dcn->dccg_mask->field_name
41 dccg_dcn->base.ctx
43 dccg->ctx->logger
71 DTBCLK_DPREFCLK = 0, // Selects source for DTBCLK_P# as DPREFCLK (src sel 0 and 1 are same)
72 DTBCLK_DPREFCLK_0, // Selects source for DTBCLK_P# as DPREFCLK (src sel 0 and 1 are same)
140 if (!dccg->ctx->dc->debug.root_clock_optimization.bits.dsc && enable) in dccg35_set_dsc_clk_rcg()
150 case 2: in dccg35_set_dsc_clk_rcg()
169 if (!dccg->ctx->dc->debug.root_clock_optimization.bits.symclk32_se && enable) in dccg35_set_symclk32_se_rcg()
[all …]

12345678910>>...42