Home
last modified time | relevance | path

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

12345678910>>...50

/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
464 put_src_rsc(struct src_mgr * mgr,struct src * src) put_src_rsc() argument
480 src_enable_s(struct src_mgr * mgr,struct src * src) src_enable_s() argument
496 src_enable(struct src_mgr * mgr,struct src * src) src_enable() argument
512 src_disable(struct src_mgr * mgr,struct src * src) src_disable() argument
611 srcimp_map(struct srcimp * srcimp,struct src * src,struct rsc * input) srcimp_map() argument
[all...]
H A Dctatc.c1 // SPDX-License-Identifier: GPL-2.0-only
31 #define MONO_SUM_SCALE 0x19a8 /* 2^(-0.5) in 14-bit floating format */
107 .public_name = "IEC958 Non-audio"},
118 [SRC] = { .create = src_mgr_create,
143 if (!apcm->substream) in ct_map_audio_buffer()
146 runtime = apcm->substream->runtime; in ct_map_audio_buffer()
147 vm = atc->vm; in ct_map_audio_buffer()
149 apcm->vm_block = vm->map(vm, apcm->substream, runtime->dma_bytes); in ct_map_audio_buffer()
151 if (!apcm->vm_block) in ct_map_audio_buffer()
152 return -ENOENT; in ct_map_audio_buffer()
[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/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 …]
/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_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()
48 * sqrt(2*m) * 2^(p) , if e = 2*p + 1 in fp_fsqrt()
54 * the integer part is assumed to be one, we place a 1 or 2 into in fp_fsqrt()
57 exp = dest->exp; in fp_fsqrt()
58 dest->exp = 0x3FFF; in fp_fsqrt()
59 if (!(exp & 1)) /* lowest bit of exponent is set */ in fp_fsqrt()
[all …]
H A Dmulti_arith.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* multi_arith.h: multi-precision integer arithmetic functions, needed
3 to do extended-precision floating point.
5 (c) 1998 David Huggins-Daines.
7 Somewhat based on arch/alpha/math-emu/ieee-math.c, which is (c)
8 David Mosberger-Tang.
14 These are not general multi-precision math routines. Rather, they
16 multiply, divide, and normalize 128-bit unsigned mantissae. */
25 reg->exp += cnt; in fp_denormalize()
29 reg->lowmant = reg->mant.m32[1] << (8 - cnt); in fp_denormalize()
[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/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
41 1: stbs,ma %r0,1(%sr3,%r26)
48 ldo 1(%r25),%r25
50 ASM_EXCEPTIONTABLE_ENTRY(1b,2b)
58 * - sr1 already contains space of source region
59 * - sr2 already contains space of destination region
[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/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/include/trace/stages/
H A Dstage6_event_callback.h1 /* SPDX-License-Identifier: GPL-2.0 */
22 __entry->__data_loc_##item = __data_offsets.item;
25 #define __string(item, src) __dynamic_array(char, item, -1) argument
28 #define __string_len(item, src, len) __dynamic_array(char, item, -1) argument
34 __assign_str(dst,src) global() argument
61 __assign_bitmask(dst,src,nr_bits) global() argument
71 __assign_cpumask(dst,src) global() argument
81 __assign_sockaddr(dest,src,len) global() argument
89 __rel_string(item,src) global() argument
92 __rel_string_len(item,src,len) global() argument
111 __assign_rel_bitmask(dst,src,nr_bits) global() argument
121 __assign_rel_cpumask(dst,src) global() argument
131 __assign_rel_sockaddr(dest,src,len) global() argument
[all...]
/linux/Documentation/devicetree/bindings/reset/
H A Dfsl,imx-src.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/reset/fsl,imx-src.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Philipp Zabel <p.zabel@pengutronix.de>
15 nodes should specify the reset line on the SRC in their resets
16 property, containing a phandle to the SRC device node and a
22 VPU_RESET 1
31 - const: fsl,imx51-src
32 - items:
[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/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.
9 * X: Load=0, Store=1
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)
71 w_dbuf = memw(src++#4)
76 bytes -= asl(loopcount,#2)
[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[]){
41 .dest = NI_PFI(1),
42 .src = (int[]){
49 .src = (int[]){
56 .src = (int[]){
57 NI_CtrSource(1),
[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[]){
41 .dest = NI_PFI(1),
42 .src = (int[]){
49 .src = (int[]){
56 .src = (int[]){
57 NI_CtrSource(1),
[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[]){
36 NI_CtrSource(1),
42 .src = (int[]){
43 NI_CtrGate(1),
49 .src = (int[]){
56 .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[]){
36 NI_CtrSource(1),
42 .src = (int[]){
43 NI_CtrGate(1),
49 .src = (int[]){
56 .src = (int[]){
[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 …]
/linux/arch/x86/crypto/
H A 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 …]
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
26 // 1. Redistributions of source code must retain the above copyright notice,
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
67 .quad 1, 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/drivers/gpu/drm/i915/
H A Di915_memcpy.c42 static void __memcpy_ntdqa(void *dst, const void *src, unsigned long len) in __memcpy_ntdqa() argument
51 "movaps %%xmm0, (%1)\n" in __memcpy_ntdqa()
52 "movaps %%xmm1, 16(%1)\n" in __memcpy_ntdqa()
53 "movaps %%xmm2, 32(%1)\n" in __memcpy_ntdqa()
54 "movaps %%xmm3, 48(%1)\n" in __memcpy_ntdqa()
55 :: "r" (src), "r" (dst) : "memory"); in __memcpy_ntdqa()
56 src += 64; in __memcpy_ntdqa()
58 len -= 4; in __memcpy_ntdqa()
60 while (len--) { in __memcpy_ntdqa()
62 "movaps %%xmm0, (%1)\n" in __memcpy_ntdqa()
[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
20 __asm__ __volatile__("ldq_u %0,%1":"=r" (x):"m" (*(const unsigned long *)(y)))
23 __asm__ __volatile__("stq_u %1,%0":"=m" (*(unsigned long *)(y)):"r" (x))
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))
[all …]

12345678910>>...50