Home
last modified time | relevance | path

Searched full:src (Results 1 – 25 of 4203) sorted by relevance

12345678910>>...169

/linux-6.12.1/sound/pci/ctxfi/
Dctsrc.c24 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);
28 static int (*src_default_config[3])(struct src *) = {
34 static int src_set_state(struct src *src, unsigned int state) in src_set_state() argument
38 hw = src->rsc.hw; in src_set_state()
39 hw->src_set_state(src->rsc.ctrl_blk, state); in src_set_state()
44 static int src_set_bm(struct src *src, unsigned int bm) in src_set_bm() argument
48 hw = src->rsc.hw; in src_set_bm()
49 hw->src_set_bm(src->rsc.ctrl_blk, bm); in src_set_bm()
[all …]
Dctsrc.h34 /* 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);
58 int (*set_rom)(struct src *src, unsigned int rom);
[all …]
Dctatc.c112 [SRC] = { .create = src_mgr_create,
241 struct src_mgr *src_mgr = atc->rsc_mgrs[SRC]; in atc_pcm_playback_prepare()
245 struct src *src; in atc_pcm_playback_prepare() local
255 /* Get SRC resource */ in atc_pcm_playback_prepare()
259 err = src_mgr->get_src(src_mgr, &desc, (struct src **)&apcm->src); in atc_pcm_playback_prepare()
265 src = apcm->src; in atc_pcm_playback_prepare()
266 src->ops->set_pitch(src, pitch); in atc_pcm_playback_prepare()
267 src->ops->set_rom(src, select_rom(pitch)); in atc_pcm_playback_prepare()
268 src->ops->set_sf(src, convert_format(apcm->substream->runtime->format, in atc_pcm_playback_prepare()
270 src->ops->set_pm(src, (src->ops->next_interleave(src) != NULL)); in atc_pcm_playback_prepare()
[all …]
/linux-6.12.1/drivers/infiniband/core/
Duverbs_marshall.c66 struct rdma_ah_attr *src = ah_attr; in ib_copy_ah_attr_to_user() local
74 src = &conv_ah; in ib_copy_ah_attr_to_user()
76 dst->dlid = rdma_ah_get_dlid(src); in ib_copy_ah_attr_to_user()
77 dst->sl = rdma_ah_get_sl(src); in ib_copy_ah_attr_to_user()
78 dst->src_path_bits = rdma_ah_get_path_bits(src); in ib_copy_ah_attr_to_user()
79 dst->static_rate = rdma_ah_get_static_rate(src); in ib_copy_ah_attr_to_user()
80 dst->is_global = rdma_ah_get_ah_flags(src) & in ib_copy_ah_attr_to_user()
83 const struct ib_global_route *grh = rdma_ah_read_grh(src); in ib_copy_ah_attr_to_user()
91 dst->port_num = rdma_ah_get_port_num(src); in ib_copy_ah_attr_to_user()
98 struct ib_qp_attr *src) in ib_copy_qp_attr_to_user() argument
[all …]
/linux-6.12.1/arch/mips/cavium-octeon/
Docteon-memcpy.S22 #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
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)
59 * 2- src_entry <= src < AT, and
60 * 3- (dst - src) == (dst_entry - src_entry),
64 * (2) is met by incrementing src by the number of bytes copied
[all …]
/linux-6.12.1/arch/mips/lib/
Dcsum_partial.S75 #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); \
91 CSUM_BIGCHUNK1(src, offset + 0x10, sum, _t0, _t1, _t2, _t3)
[all …]
Dmemcpy.S41 #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
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)
78 * 2- src_entry <= src < AT, and
79 * 3- (dst - src) == (dst_entry - src_entry),
83 * (2) is met by incrementing src by the number of bytes copied
[all …]
/linux-6.12.1/arch/m68k/math-emu/
Dfp_arith.c31 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()
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()
58 struct fp_ext *fp_fadd(struct fp_ext *dest, struct fp_ext *src) in fp_fadd() argument
64 fp_dyadic_check(dest, src); in fp_fadd()
68 if (IS_INF(src) && (src->sign != dest->sign)) in fp_fadd()
72 if (IS_INF(src)) { in fp_fadd()
73 fp_copy_ext(dest, src); in fp_fadd()
78 if (IS_ZERO(src)) { in fp_fadd()
[all …]
Dfp_trig.c21 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()
57 struct fp_ext *fp_facos(struct fp_ext *dest, struct fp_ext *src) in fp_facos() argument
61 fp_monadic_check(dest, src); in fp_facos()
[all …]
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/
DKbuild2 include $(src)/nvkm/subdev/acr/Kbuild
3 include $(src)/nvkm/subdev/bar/Kbuild
4 include $(src)/nvkm/subdev/bios/Kbuild
5 include $(src)/nvkm/subdev/bus/Kbuild
6 include $(src)/nvkm/subdev/clk/Kbuild
7 include $(src)/nvkm/subdev/devinit/Kbuild
8 include $(src)/nvkm/subdev/fault/Kbuild
9 include $(src)/nvkm/subdev/fb/Kbuild
10 include $(src)/nvkm/subdev/fuse/Kbuild
11 include $(src)/nvkm/subdev/gpio/Kbuild
[all …]
/linux-6.12.1/drivers/phy/
Dphy-xgene.c86 #define SATA_MEM_RESET_RD(src) (((src) & 0x00000020) >> 5) argument
95 #define REGSPEC_CFG_I_TX_WORDMODE0_SET(dst, src) \ argument
96 (((dst) & ~0x00070000) | (((u32) (src) << 16) & 0x00070000))
97 #define REGSPEC_CFG_I_RX_WORDMODE0_SET(dst, src) \ argument
98 (((dst) & ~0x00e00000) | (((u32) (src) << 21) & 0x00e00000))
100 #define REGSPEC_CFG_I_CUSTOMER_PIN_MODE0_SET(dst, src) \ argument
101 (((dst) & ~0x00007fff) | (((u32) (src)) & 0x00007fff))
103 #define CFG_I_SPD_SEL_CDR_OVR1_SET(dst, src) \ argument
104 (((dst) & ~0x0000000f) | (((u32) (src)) & 0x0000000f))
110 #define CFG_IND_ADDR_SET(dst, src) \ argument
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
DMakefile39 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/src/dml2_core
40 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/src/dml2_mcg/
41 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/src/dml2_dpmm/
42 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/src/dml2_pmo/
43 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/src/dml2_standalone_libraries/
44 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/src/inc
76 CFLAGS_$(AMDDALPATH)/dc/dml2/dml21/src/dml2_top/dml_top.o := $(dml2_ccflags)
77 CFLAGS_$(AMDDALPATH)/dc/dml2/dml21/src/dml2_top/dml_top_mcache.o := $(dml2_ccflags)
78 CFLAGS_$(AMDDALPATH)/dc/dml2/dml21/src/dml2_top/dml2_top_optimization := $(dml2_ccflags)
79 CFLAGS_$(AMDDALPATH)/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4.o := $(dml2_ccflags)
[all …]
/linux-6.12.1/arch/x86/lib/
Dmemmove_32.S15 * n can remain in %ecx, but for `rep movsl`, we'll need dest in %edi and src
21 .set src, %esi define
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
74 movl 2*4(src), tmp0
75 movl 3*4(src), tmp1
78 leal 0x10(src), src
[all …]
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/
DKbuild5 include $(src)/nvkm/engine/bsp/Kbuild
6 include $(src)/nvkm/engine/ce/Kbuild
7 include $(src)/nvkm/engine/cipher/Kbuild
8 include $(src)/nvkm/engine/device/Kbuild
9 include $(src)/nvkm/engine/disp/Kbuild
10 include $(src)/nvkm/engine/dma/Kbuild
11 include $(src)/nvkm/engine/fifo/Kbuild
12 include $(src)/nvkm/engine/gr/Kbuild
13 include $(src)/nvkm/engine/mpeg/Kbuild
14 include $(src)/nvkm/engine/msenc/Kbuild
[all …]
/linux-6.12.1/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c224 void pvrdma_qp_cap_to_ib(struct ib_qp_cap *dst, const struct pvrdma_qp_cap *src) in pvrdma_qp_cap_to_ib() argument
226 dst->max_send_wr = src->max_send_wr; in pvrdma_qp_cap_to_ib()
227 dst->max_recv_wr = src->max_recv_wr; in pvrdma_qp_cap_to_ib()
228 dst->max_send_sge = src->max_send_sge; in pvrdma_qp_cap_to_ib()
229 dst->max_recv_sge = src->max_recv_sge; in pvrdma_qp_cap_to_ib()
230 dst->max_inline_data = src->max_inline_data; in pvrdma_qp_cap_to_ib()
233 void ib_qp_cap_to_pvrdma(struct pvrdma_qp_cap *dst, const struct ib_qp_cap *src) in ib_qp_cap_to_pvrdma() argument
235 dst->max_send_wr = src->max_send_wr; in ib_qp_cap_to_pvrdma()
236 dst->max_recv_wr = src->max_recv_wr; in ib_qp_cap_to_pvrdma()
237 dst->max_send_sge = src->max_send_sge; in ib_qp_cap_to_pvrdma()
[all …]
/linux-6.12.1/drivers/gpu/drm/tests/
Ddrm_rect_test.c27 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()
53 struct drm_rect src, dst, clip; in drm_test_rect_clip_scaled_not_clipped() local
57 drm_rect_init(&src, 0, 0, 1 << 16, 1 << 16); in drm_test_rect_clip_scaled_not_clipped()
61 visible = drm_rect_clip_scaled(&src, &dst, &clip); in drm_test_rect_clip_scaled_not_clipped()
[all …]
/linux-6.12.1/arch/arm64/lib/
Dcopy_template.S10 * files/head:/src/aarch64/
15 * Copy a buffer from src to dest (alignment handled by the hardware)
19 * x1 - src
25 src .req x1 label
47 neg tmp2, src
52 * Copy the leading memory data from src to dst in an increasing
54 * memory data is eliminated when the distance between src and
58 ldrb1 tmp1w, src, #1
62 ldrh1 tmp1w, src, #2
66 ldr1 tmp1w, src, #4
[all …]
/linux-6.12.1/drivers/video/fbdev/core/
Dsyscopyarea.c29 const unsigned long *src, unsigned src_idx, int bits, unsigned n) in bitcpy() argument
44 *dst = comp(*src, *dst, first); in bitcpy()
49 *dst = comp(*src, *dst, first); in bitcpy()
51 src++; in bitcpy()
58 *dst++ = *src++; in bitcpy()
59 *dst++ = *src++; in bitcpy()
60 *dst++ = *src++; in bitcpy()
61 *dst++ = *src++; in bitcpy()
62 *dst++ = *src++; in bitcpy()
63 *dst++ = *src++; in bitcpy()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c65 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()
75 dst->src_ip6[1] = src->src_ip6[1]; in skcpy()
[all …]
/linux-6.12.1/drivers/misc/lkdtm/
Dfortify.c44 char *src; in lkdtm_FORTIFY_STR_MEMBER() local
46 src = kmalloc(size, GFP_KERNEL); in lkdtm_FORTIFY_STR_MEMBER()
47 strscpy(src, "over ten bytes", size); in lkdtm_FORTIFY_STR_MEMBER()
48 size = strlen(src) + 1; in lkdtm_FORTIFY_STR_MEMBER()
53 * strncpy(target.a, src, 20); will hit a compile error because the in lkdtm_FORTIFY_STR_MEMBER()
57 strncpy(target.a, src, size); in lkdtm_FORTIFY_STR_MEMBER()
65 kfree(src); in lkdtm_FORTIFY_STR_MEMBER()
109 char *src; in lkdtm_FORTIFY_MEM_MEMBER() local
111 src = kmalloc(size, GFP_KERNEL); in lkdtm_FORTIFY_MEM_MEMBER()
112 strscpy(src, "over ten bytes", size); in lkdtm_FORTIFY_MEM_MEMBER()
[all …]
/linux-6.12.1/include/linux/
Dsockptr.h44 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()
57 static inline int copy_from_sockptr(void *dst, sockptr_t src, size_t size) in copy_from_sockptr() argument
59 return copy_from_sockptr_offset(dst, src, 0, size); in copy_from_sockptr()
86 sockptr_t src, size_t usize) in copy_struct_from_sockptr() argument
91 if (!sockptr_is_kernel(src)) in copy_struct_from_sockptr()
92 return copy_struct_from_user(dst, ksize, src.user, size); in copy_struct_from_sockptr()
97 char *p = src.kernel; in copy_struct_from_sockptr()
[all …]
/linux-6.12.1/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()
29 const short *ssrc = src; in memmove()
32 src = ssrc; in memmove()
38 const long *lsrc = src; in memmove()
44 src = lsrc; in memmove()
48 const short *ssrc = src; in memmove()
51 src = ssrc; in memmove()
[all …]
/linux-6.12.1/mm/
Dmaccess.c16 #define copy_from_kernel_nofault_loop(dst, src, len, type, err_label) \ argument
18 __get_kernel_nofault(dst, src, type, err_label); \
20 src += sizeof(type); \
24 long copy_from_kernel_nofault(void *dst, const void *src, size_t size) in copy_from_kernel_nofault() argument
29 align = (unsigned long)dst | (unsigned long)src; in copy_from_kernel_nofault()
31 if (!copy_from_kernel_nofault_allowed(src, size)) in copy_from_kernel_nofault()
36 copy_from_kernel_nofault_loop(dst, src, size, u64, Efault); in copy_from_kernel_nofault()
38 copy_from_kernel_nofault_loop(dst, src, size, u32, Efault); in copy_from_kernel_nofault()
40 copy_from_kernel_nofault_loop(dst, src, size, u16, Efault); in copy_from_kernel_nofault()
41 copy_from_kernel_nofault_loop(dst, src, size, u8, Efault); in copy_from_kernel_nofault()
[all …]
/linux-6.12.1/crypto/
Dcbc.c16 const u8 *src, u8 *dst, unsigned nbytes, in crypto_cbc_encrypt_segment() argument
21 for (; nbytes >= bsize; src += bsize, dst += bsize, nbytes -= bsize) { in crypto_cbc_encrypt_segment()
22 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment()
31 u8 *src, unsigned nbytes, u8 *oiv) in crypto_cbc_encrypt_inplace() argument
40 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace()
41 crypto_lskcipher_encrypt(tfm, src, src, bsize, NULL); in crypto_cbc_encrypt_inplace()
42 iv = src; in crypto_cbc_encrypt_inplace()
44 src += bsize; in crypto_cbc_encrypt_inplace()
53 static int crypto_cbc_encrypt(struct crypto_lskcipher *tfm, const u8 *src, in crypto_cbc_encrypt() argument
61 if (src == dst) in crypto_cbc_encrypt()
[all …]
/linux-6.12.1/lib/zstd/compress/
Dzstd_lazy.h34 void const* src, size_t srcSize);
37 void const* src, size_t srcSize);
40 void const* src, size_t srcSize);
43 void const* src, size_t srcSize);
46 void const* src, size_t srcSize);
49 void const* src, size_t srcSize);
52 void const* src, size_t srcSize);
56 void const* src, size_t srcSize);
59 void const* src, size_t srcSize);
62 void const* src, size_t srcSize);
[all …]

12345678910>>...169