Home
last modified time | relevance | path

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

12345678910>>...41

/linux/drivers/gpu/drm/tests/
H A 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 …]
H A 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/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/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/m68k/lib/
H A 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/arch/mips/lib/
H A 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 …]
H A 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/arch/m68k/math-emu/
H A 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/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()
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/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/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
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 …]
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
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 …]
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
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 …]
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
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 …]
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
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 …]
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
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 …]
/linux/sound/pci/ctxfi/
H A 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->substrea in ct_map_audio_buffer()
245 struct src *src; atc_pcm_playback_prepare() local
377 struct src *src = apcm->src; atc_pcm_playback_start() local
401 struct src *src; atc_pcm_stop() local
428 struct src *src = apcm->src; atc_pcm_playback_position() local
506 struct src *src; atc_pcm_capture_get_resources() local
645 struct src *src; atc_pcm_capture_prepare() local
723 struct src *src; atc_pcm_capture_start() local
774 struct src *src = apcm->src; atc_pcm_capture_position() local
788 struct src *src; spdif_passthru_playback_get_resources() local
895 struct src *src; spdif_passthru_playback_prepare() local
941 struct src *src; atc_select_line_in() local
963 struct src *src; atc_select_mic_in() local
1452 struct src *src; atc_connect_dai() local
1490 struct src *src; atc_connect_resources() local
[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
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 …]
/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
29 // 2. Redistributions in binary form must reproduce the above copyright
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
69 .quad 2, 0
[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)
63 loopcount = lsr(bytes,#2)
71 w_dbuf = memw(src++#4)
76 bytes -= asl(loopcount,#2)
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A 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/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"
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/drivers/gpu/drm/amd/display/dc/dccg/dcn35/
H A 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
44 dccg->ctx->logger
72 DTBCLK_DPREFCLK = 0, // Selects source for DTBCLK_P# as DPREFCLK (src sel 0 and 1 are same)
73 DTBCLK_DPREFCLK_0, // Selects source for DTBCLK_P# as DPREFCLK (src sel 0 and 1 are same)
141 if (!dccg->ctx->dc->debug.root_clock_optimization.bits.dsc && allow_rcg) in dccg35_set_dsc_clk_rcg()
151 case 2: in dccg35_set_dsc_clk_rcg()
174 if (!dccg->ctx->dc->debug.root_clock_optimization.bits.symclk32_se && enable) in dccg35_set_symclk32_se_rcg()
[all …]
/linux/sound/soc/renesas/rcar/
H A Dsrc.c1 // SPDX-License-Identifier: GPL-2.0
3 // Renesas R-Car SRC support
11 * amixer set "SRC Out Rate" on
13 * amixer set "SRC Out Rate" 96000 // convert rate to 96000Hz
14 * amixer set "SRC Out Rate" 22050 // convert rate to 22050Hz
28 #define SRC_NAME "src"
44 #define rsnd_src_get(priv, id) ((struct rsnd_src *)(priv->sr
95 struct rsnd_src *src = rsnd_mod_to_src(mod); rsnd_src_convert_rate() local
207 struct rsnd_src *src = rsnd_mod_to_src(mod); rsnd_src_set_convert_rate() local
414 struct rsnd_src *src = rsnd_mod_to_src(mod); rsnd_src_irq() local
518 struct rsnd_src *src = rsnd_mod_to_src(mod); rsnd_src_init() local
542 struct rsnd_src *src = rsnd_mod_to_src(mod); rsnd_src_quit() local
608 struct rsnd_src *src = rsnd_mod_to_src(mod); rsnd_src_probe_() local
636 struct rsnd_src *src = rsnd_mod_to_src(mod); rsnd_src_pcm_new() local
719 struct rsnd_src *src; rsnd_src_probe() local
790 struct rsnd_src *src; rsnd_src_remove() local
[all...]
/linux/arch/alpha/lib/
H A Dcsum_partial_copy.c1 // SPDX-License-Identifier: GPL-2.0
3 * csum_partial_copy - do IP checksumming and copy
7 * Rick Gorton <rick.gorton@alpha-processor.com>
9 * Don't look at this too closely - you'll go mad. The things
26 __asm__ __volatile__("extql %1,%2,%0":"=r" (z):"r" (x),"r" (y))
29 __asm__ __volatile__("extqh %1,%2,%0":"=r" (z):"r" (x),"r" (y))
32 __asm__ __volatile__("mskql %1,%2,%0":"=r" (z):"r" (x),"r" (y))
35 __asm__ __volatile__("mskqh %1,%2,%0":"=r" (z):"r" (x),"r" (y))
38 __asm__ __volatile__("insql %1,%2,%0":"=r" (z):"r" (x),"r" (y))
41 __asm__ __volatile__("insqh %1,%2,%0":"=r" (z):"r" (x),"r" (y))
[all …]

12345678910>>...41