Home
last modified time | relevance | path

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

12345678910>>...43

/linux/sound/pci/ctxfi/
H A Dctsrc.c1 // SPDX-License-Identifier: GPL-2.0-only
24 static int src_default_config_memrd(struct src *src);
25 static int src_default_config_memwr(struct src *src);
26 static int src_default_config_arcrw(struct src *src);
34 src_set_state(struct src * src,unsigned int state) src_set_state() argument
44 src_set_bm(struct src * src,unsigned int bm) src_set_bm() argument
54 src_set_sf(struct src * src,unsigned int sf) src_set_sf() argument
64 src_set_pm(struct src * src,unsigned int pm) src_set_pm() argument
74 src_set_rom(struct src * src,unsigned int rom) src_set_rom() argument
84 src_set_vo(struct src * src,unsigned int vo) src_set_vo() argument
94 src_set_st(struct src * src,unsigned int st) src_set_st() argument
104 src_set_bp(struct src * src,unsigned int bp) src_set_bp() argument
114 src_set_cisz(struct src * src,unsigned int cisz) src_set_cisz() argument
124 src_set_ca(struct src * src,unsigned int ca) src_set_ca() argument
134 src_set_sa(struct src * src,unsigned int sa) src_set_sa() argument
144 src_set_la(struct src * src,unsigned int la) src_set_la() argument
154 src_set_pitch(struct src * src,unsigned int pitch) src_set_pitch() argument
164 src_set_clear_zbufs(struct src * src) src_set_clear_zbufs() argument
174 src_commit_write(struct src * src) src_commit_write() argument
204 src_get_ca(struct src * src) src_get_ca() argument
213 src_init(struct src * src) src_init() argument
220 src_next_interleave(struct src * src) src_next_interleave() argument
225 src_default_config_memrd(struct src * src) src_default_config_memrd() argument
265 src_default_config_memwr(struct src * src) src_default_config_memwr() argument
293 src_default_config_arcrw(struct src * src) src_default_config_arcrw() argument
356 src_rsc_init(struct src * src,u32 idx,const struct src_desc * desc,struct src_mgr * mgr) src_rsc_init() argument
392 src_rsc_uninit(struct src * src,struct src_mgr * mgr) src_rsc_uninit() argument
416 struct src *src; get_src_rsc() local
467 put_src_rsc(struct src_mgr * mgr,struct src * src) put_src_rsc() argument
486 src_enable_s(struct src_mgr * mgr,struct src * src) src_enable_s() argument
502 src_enable(struct src_mgr * mgr,struct src * src) src_enable() argument
518 src_disable(struct src_mgr * mgr,struct src * src) src_disable() argument
617 srcimp_map(struct srcimp * srcimp,struct src * src,struct rsc * input) srcimp_map() argument
[all...]
H A Dctsrc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
34 /* Define the descriptor of a src resource */
44 struct src { struct
46 struct src *intlv; /* Pointer to next interleaved SRC in a series */ argument
47 const struct src_rsc_ops *ops; /* SRC specific operations */
50 unsigned char mode; /* Working mode of this SRC resource */
54 int (*set_state)(struct src *src, unsigned int state); argument
55 int (*set_bm)(struct src *src, unsigned int bm);
56 int (*set_sf)(struct src *src, unsigned int sf);
57 int (*set_pm)(struct src *src, unsigned int pm);
[all …]
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->substream) in ct_map_audio_buffer()
140 runtime = 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/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/m68k/math-emu/
H A Dfp_arith.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 fp_arith.c: floating-point math routines for the Linux-m68k
7 Copyright (c) 1998-1999 David Huggins-Daines.
10 Mosberger-Tang.
31 struct fp_ext *fp_fabs(struct fp_ext *dest, struct fp_ext *src) in fp_fabs() argument
35 fp_monadic_check(dest, src); in fp_fabs()
37 dest->sign = 0; in fp_fabs()
42 struct fp_ext *fp_fneg(struct fp_ext *dest, struct fp_ext *src) in fp_fneg() argument
46 fp_monadic_check(dest, src); in fp_fneg()
48 dest->sign = !dest->sign; in fp_fneg()
[all …]
H A Dfp_trig.c3 fp_trig.c: floating-point math routines for the Linux-m68k
6 Copyright (c) 1998-1999 David Huggins-Daines / Roman Zippel.
21 struct fp_ext *fp_fsin(struct fp_ext *dest, struct fp_ext *src) in fp_fsin() argument
25 fp_monadic_check(dest, src); in fp_fsin()
30 struct fp_ext *fp_fcos(struct fp_ext *dest, struct fp_ext *src) in fp_fcos() argument
34 fp_monadic_check(dest, src); in fp_fcos()
39 struct fp_ext *fp_ftan(struct fp_ext *dest, struct fp_ext *src) in fp_ftan() argument
43 fp_monadic_check(dest, src); in fp_ftan()
48 struct fp_ext *fp_fasin(struct fp_ext *dest, struct fp_ext *src) in fp_fasin() argument
52 fp_monadic_check(dest, src); in fp_fasin()
[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/drivers/phy/
H A Dphy-xgene.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * AppliedMicro X-Gene Multi-purpose PHY driver
10 * The APM X-Gene PHY consists of two PLL clock macro's (CMU) and lanes.
19 * -----------------
20 * | Internal | |------|
21 * | Ref PLL CMU |----| | ------------- ---------
22 * ------------ ---- | MUX |-----|PHY PLL CMU|----| Serdes|
23 * | | | | ---------
24 * External Clock ------| | -------------
25 * |------|
[all …]
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_misc.c2 * Copyright (c) 2012-2016 VMware, Inc. All rights reserved.
7 * 2-Clause License. This program is distributed in the hope that it
11 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html.
17 * The BSD 2-Clause License
23 * - Redistributions of source code must retain the above
27 * - Redistributions in binary form must reproduce the above
58 return -EINVAL; in pvrdma_page_dir_init()
62 pdir->dir = dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE, in pvrdma_page_dir_init()
63 &pdir->dir_dma, GFP_KERNEL); in pvrdma_page_dir_init()
64 if (!pdir->dir) in pvrdma_page_dir_init()
[all …]
/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 …]
/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/tools/testing/selftests/bpf/progs/
H A Dtest_sock_fields.c1 // SPDX-License-Identifier: GPL-2.0
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()
74 dst->src_ip6[0] = src->src_ip6[0]; in skcpy()
[all …]
/linux/drivers/misc/lkdtm/
H A Dfortify.c1 // SPDX-License-Identifier: GPL-2.0
44 char *src; in lkdtm_FORTIFY_STR_MEMBER() local
46 src = kmalloc(size, GFP_KERNEL); in lkdtm_FORTIFY_STR_MEMBER()
47 if (!src) in lkdtm_FORTIFY_STR_MEMBER()
50 strscpy(src, "over ten bytes", size); in lkdtm_FORTIFY_STR_MEMBER()
51 size = strlen(src) + 1; in lkdtm_FORTIFY_STR_MEMBER()
56 * strncpy(target.a, src, 20); will hit a compile error because the in lkdtm_FORTIFY_STR_MEMBER()
60 strncpy(target.a, src, size); in lkdtm_FORTIFY_STR_MEMBER()
68 kfree(src); in lkdtm_FORTIFY_STR_MEMBER()
112 char *src; in lkdtm_FORTIFY_MEM_MEMBER() local
[all …]
/linux/drivers/media/platform/allegro-dvt/
H A Dallegro-mail.c1 // SPDX-License-Identifier: GPL-2.0
15 #include "allegro-mail.h"
47 enum mcu_msg_version version = msg->header.version; in allegro_enc_init()
49 dst[i++] = msg->reserved0; in allegro_enc_init()
50 dst[i++] = msg->suballoc_dma; in allegro_enc_init()
51 dst[i++] = msg->suballoc_size; in allegro_enc_init()
52 dst[i++] = msg->encoder_buffer_size; in allegro_enc_init()
53 dst[i++] = msg->encoder_buffer_color_depth; in allegro_enc_init()
54 dst[i++] = msg->num_cores; in allegro_enc_init()
56 dst[i++] = msg->clk_rate; in allegro_enc_init()
[all …]
/linux/include/linux/
H A Dsockptr.h1 /* SPDX-License-Identifier: GPL-2.0-only */
44 static inline int copy_from_sockptr_offset(void *dst, sockptr_t src, in copy_from_sockptr_offset() argument
47 if (!sockptr_is_kernel(src)) in copy_from_sockptr_offset()
48 return copy_from_user(dst, src.user + offset, size); in copy_from_sockptr_offset()
49 memcpy(dst, src.kernel + offset, size); in copy_from_sockptr_offset()
59 static inline int copy_from_sockptr(void *dst, sockptr_t src, size_t size) in copy_from_sockptr() argument
61 return copy_from_sockptr_offset(dst, src, 0, size); in copy_from_sockptr()
73 * * -EINVAL: @optlen < @ksize
74 * * -EFAULT: access to userspace failed.
81 return -EINVAL; in copy_safe_from_sockptr()
[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()
29 const short *ssrc = src; in memmove()
32 src = ssrc; in memmove()
33 n -= 2; in memmove()
38 const long *lsrc = src; in memmove()
39 temp--; in memmove()
[all …]
/linux/mm/
H A Dmaccess.c1 // SPDX-License-Identifier: GPL-2.0-only
20 #define copy_from_kernel_nofault_loop(dst, src, len, type, err_label) \ argument
22 __get_kernel_nofault(dst, src, type, err_label); \
23 kmsan_check_memory(src, sizeof(type)); \
25 src += sizeof(type); \
26 len -= sizeof(type); \
29 long copy_from_kernel_nofault(void *dst, const void *src, size_ argument
55 copy_to_kernel_nofault_loop(dst,src,len,type,err_label) global() argument
64 copy_to_kernel_nofault(void * dst,const void * src,size_t size) copy_to_kernel_nofault() argument
89 const void *src = unsafe_addr; strncpy_from_kernel_nofault() local
121 copy_from_user_nofault(void * dst,const void __user * src,size_t size) copy_from_user_nofault() argument
150 copy_to_user_nofault(void __user * dst,const void * src,size_t size) copy_to_user_nofault() argument
[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/net/
H A Dbpf_jit_comp32.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Just-In-Time compiler for eBPF bytecode on MIPS.
4 * Implementation of JIT functions for 32-bit CPUs.
19 #include <asm/cpu-features.h>
20 #include <asm/isa-rev.h>
25 /* MIPS a4-a7 are not available in the o32 ABI */
31 /* Stack is 8-byte aligned in o32 ABI */
36 * This corresponds to stack space for register arguments a0-a3.
40 /* Temporary 64-bit register used by JIT */
46 * R0-to-v0 assignment (4 bytes) if big endian.
[all …]
H A Dbpf_jit_comp64.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Just-In-Time compiler for eBPF bytecode on MIPS.
4 * Implementation of JIT functions for 64-bit CPUs.
18 #include <asm/cpu-features.h>
19 #include <asm/isa-rev.h>
24 /* MIPS t0-t3 are not available in the n64 ABI */
30 /* Stack is 16-byte aligned in n64 ABI */
33 /* Extra 64-bit eBPF registers used by JIT */
40 /* Callee-saved CPU registers that the JIT must preserve */
54 /* Caller-saved CPU registers available for JIT use */
[all …]
/linux/arch/parisc/math-emu/
H A Dsfsqrt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Linux/PA-RISC Project (http://www.parisc-linux.org/)
5 * Floating-point emulation code
6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org>
15 * Single Floating-point Square Root
33 * Single Floating-point Square Root
44 register unsigned int src, result; in sgl_fsqrt() local
49 src = *srcptr; in sgl_fsqrt()
53 if ((src_exponent = Sgl_exponent(src)) == SGL_INFINITY_EXPONENT) { in sgl_fsqrt()
57 if (Sgl_isone_signaling(src)) { in sgl_fsqrt()
[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/x86/crypto/
H A Daria-avx.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
17 const u8 *src);
19 const u8 *src);
21 const u8 *src,
24 const u8 *src);
26 const u8 *src);
28 const u8 *src,
32 const u8 *src);
34 const u8 *src);
36 const u8 *src,
[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 …]

12345678910>>...43