Home
last modified time | relevance | path

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

12345678910>>...71

/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 Dctsrc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
24 #define SRC_STATE_OFF 0x0
25 #define SRC_STATE_INIT 0x4
26 #define SRC_STATE_RUN 0x5
28 #define SRC_SF_U8 0x0
29 #define SRC_SF_S16 0x1
30 #define SRC_SF_S24 0x
44 struct src { global() struct
46 intlvsrc global() argument
47 opssrc global() argument
54 modesrc global() 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 */
38 | (0x10 << 16) \
42 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0021, "SB046x", CTSB046X),
43 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0022, "SB055x", CTSB055X),
44 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x002f, "SB055x", CTSB055X),
45 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0029, "SB073x", CTSB073X),
46 SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0031, "SB073x", CTSB073X),
47 SND_PCI_QUIRK_MASK(PCI_VENDOR_ID_CREATIVE, 0xf000, 0x6000,
63 SND_PCI_QUIRK(0x160b, 0x0101, "OK0010", CTOK0010),
[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.
20 .exp = 0x7fff,
21 .mant = { .m64 = ~0 }
26 .exp = 0x7fff,
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()
[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/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/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
46 cmpl $0x10, n
50 cmpl dest, src
60 movl src, tmp0
62 andl $0xff, tmp0
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sock_fields.c1 // SPDX-License-Identifier: GPL-2.0
55 __u64 parent_cg_id = 0;
56 __u64 child_cg_id = 0;
57 __u64 lsndtime = 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()
[all …]
/linux/drivers/media/platform/allegro-dvt/
H A Dallegro-mail.c1 // SPDX-License-Identifier: GPL-2.0
15 #include "allegro-mail.h"
37 snprintf(buf, sizeof(buf), "(0x%04x)", type); in msg_type_name()
46 unsigned int i = 0; in allegro_enc_init()
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()
[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()
26 if (c >= '0' && c <= '9') 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
[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 */
34 #define JIT_REG_TC (MAX_BPF_JIT_REG + 0)
40 /* Callee-saved CPU registers that the JIT must preserve */
[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>
33 * Returns 0 for success.
38 comib,=,n 0,%r25,$lclu_done
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.
[all …]
/linux/tools/perf/tests/
H A Dmem.c1 // SPDX-License-Identifier: GPL-2.0
3 #include "util/mem-events.h"
4 #include "util/mem-info.h"
22 n += perf_mem__lvl_scnprintf(out + n, sizeof out - n, mi); in check()
26 return 0; in test__mem()
31 int ret = 0; in test__mem()
32 union perf_mem_data_src src; in test__mem()
34 memset(&src, in test__mem()
29 union perf_mem_data_src src; test__mem() local
[all...]
/linux/tools/include/linux/
H A Dfilter.h1 /* SPDX-License-Identifier: GPL-2.0 */
34 #define BPF_ALU64_REG(OP, DST, SRC) \ argument
38 .src_reg = SRC, \
39 .off = 0, \
40 .imm = 0 })
42 #define BPF_ALU32_REG(OP, DST, SRC) \ argument
46 .src_reg = SRC, \
47 .off = 0, \
48 .imm = 0 })
56 .src_reg = 0, \
[all …]
/linux/arch/parisc/math-emu/
H A Dfcnvfx.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 to Single Fixed-point
16 * Single Floating-point to Double Fixed-point
17 * Double Floating-point to Single Fixed-point
18 * Double Floating-point to Double Fixed-point
41 * Single Floating-point to Single Fixed-point
51 register unsigned int src, temp; in sgl_to_sgl_fcnvfx() local
[all …]
/linux/drivers/comedi/drivers/
H A Dni_routes.h1 /* SPDX-License-Identifier: GPL-2.0+ */
6 * COMEDI - Linux Control and Measurement Device Interface
33 * struct ni_route_set - Set of destinations with a common source.
36 * @src: List of sources that all map to the same destination.
41 int *src; member
45 * struct ni_device_routes - List of all src->dest sets for a particular device.
46 * @device: Name of board/device (e.g. pxi-6733).
57 * struct ni_route_tables - Register values and valid routes for a device.
62 * Link to the valid src->dest routes and the register values used to assign
71 * ni_assign_device_routes() - Assign the proper lookup table for NI signal
[all …]
H A Dni_routes.c1 // SPDX-License-Identifier: GPL-2.0+
6 * COMEDI - Linux Control and Measurement Device Interface
32 * #define B(x) ((x) - NI_NAMES_BASE)
41 * #define V(x) ((x) | 0x80)
43 * #define UNMARK(x) ((x) & (~(0x80)))
48 #define RVi(table, src, dest) ((table)[(dest) * NI_NUM_NAMES + (src)]) argument
58 for (i = 0; ni_all_route_values[i]; ++i) { in ni_find_route_values()
59 if (!strcmp(ni_all_route_values[i]->family, device_family)) { in ni_find_route_values()
60 rv = &ni_all_route_values[i]->register_values[0][0]; in ni_find_route_values()
76 for (i = 0; ni_device_routes_list[i]; ++i) { in ni_find_valid_routes()
[all …]
/linux/samples/bpf/
H A Dbpf_insn.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
10 #define BPF_ALU64_REG(OP, DST, SRC) \ argument
14 .src_reg = SRC, \
15 .off = 0, \
16 .imm = 0 })
18 #define BPF_ALU32_REG(OP, DST, SRC) \ argument
22 .src_reg = SRC, \
23 .off = 0, \
24 .imm = 0 })
32 .src_reg = 0, \
[all …]
/linux/drivers/gpu/drm/tests/
H A Ddrm_plane_helper_test.c1 // SPDX-License-Identifier: GPL-2.0
20 DRM_MODE("1024x768", 0, 65000, 1024, 1048,
21 1184, 1344, 0, 768, 771, 777, 806, 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()
[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",
34 .dest = NI_PFI(0),
35 .src = (int[]){
37 0, /* Termination */
42 .src = (int[]){
44 0, /* Termination */
49 .src = (int[]){
[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
47 asm("movntdqa (%0), %%xmm0\n" in __memcpy_ntdqa()
48 "movntdqa 16(%0), %%xmm1\n" in __memcpy_ntdqa()
49 "movntdqa 32(%0), %%xmm2\n" in __memcpy_ntdqa()
50 "movntdqa 48(%0), %%xmm3\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()
61 asm("movntdqa (%0), %%xmm0\n" in __memcpy_ntdqa()
[all …]
/linux/sound/soc/meson/
H A Daxg-toddr.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
15 #include <sound/soc-dai.h>
17 #include "axg-fifo.h"
43 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_toddr_dai_prepare()
44 CTRL1_TODDR_FORCE_FINISH, 0); in g12a_toddr_dai_prepare()
45 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_toddr_dai_prepare()
47 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_toddr_dai_prepare()
48 CTRL1_TODDR_FORCE_FINISH, 0); in g12a_toddr_dai_prepare()
50 return 0; in g12a_toddr_dai_prepare()
62 type = 0; /* 8 samples of 8 bits */ in axg_toddr_dai_hw_params()
[all …]
/linux/arch/x86/crypto/
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 …]

12345678910>>...71