Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 3287) sorted by relevance

12345678910>>...132

/linux-6.6.21/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.h44 struct src { struct
46 struct src *intlv; /* Pointer to next interleaved SRC in a series */ argument
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);
59 int (*set_vo)(struct src *src, unsigned int vo);
60 int (*set_st)(struct src *src, unsigned int st);
61 int (*set_bp)(struct src *src, unsigned int bp);
[all …]
Dctatc.c248 struct src *src; in atc_pcm_playback_prepare() local
262 err = src_mgr->get_src(src_mgr, &desc, (struct src **)&apcm->src); in atc_pcm_playback_prepare()
268 src = apcm->src; in atc_pcm_playback_prepare()
269 src->ops->set_pitch(src, pitch); in atc_pcm_playback_prepare()
270 src->ops->set_rom(src, select_rom(pitch)); in atc_pcm_playback_prepare()
271 src->ops->set_sf(src, convert_format(apcm->substream->runtime->format, in atc_pcm_playback_prepare()
273 src->ops->set_pm(src, (src->ops->next_interleave(src) != NULL)); in atc_pcm_playback_prepare()
298 src = apcm->src; in atc_pcm_playback_prepare()
302 amixer->ops->setup(amixer, &src->rsc, in atc_pcm_playback_prepare()
305 src = src->ops->next_interleave(src); in atc_pcm_playback_prepare()
[all …]
/linux-6.6.21/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.6.21/arch/m68k/math-emu/
Dfp_arith.c32 fp_fabs(struct fp_ext *dest, struct fp_ext *src) in fp_fabs() argument
36 fp_monadic_check(dest, src); in fp_fabs()
44 fp_fneg(struct fp_ext *dest, struct fp_ext *src) in fp_fneg() argument
48 fp_monadic_check(dest, src); in fp_fneg()
61 fp_fadd(struct fp_ext *dest, struct fp_ext *src) in fp_fadd() argument
67 fp_dyadic_check(dest, src); in fp_fadd()
71 if (IS_INF(src) && (src->sign != dest->sign)) in fp_fadd()
75 if (IS_INF(src)) { in fp_fadd()
76 fp_copy_ext(dest, src); in fp_fadd()
81 if (IS_ZERO(src)) { in fp_fadd()
[all …]
Dfp_trig.c22 fp_fsin(struct fp_ext *dest, struct fp_ext *src) in fp_fsin() argument
26 fp_monadic_check(dest, src); in fp_fsin()
32 fp_fcos(struct fp_ext *dest, struct fp_ext *src) in fp_fcos() argument
36 fp_monadic_check(dest, src); in fp_fcos()
42 fp_ftan(struct fp_ext *dest, struct fp_ext *src) in fp_ftan() argument
46 fp_monadic_check(dest, src); in fp_ftan()
52 fp_fasin(struct fp_ext *dest, struct fp_ext *src) in fp_fasin() argument
56 fp_monadic_check(dest, src); in fp_fasin()
62 fp_facos(struct fp_ext *dest, struct fp_ext *src) in fp_facos() argument
66 fp_monadic_check(dest, src); in fp_facos()
[all …]
Dfp_log.c25 extern struct fp_ext *fp_fadd(struct fp_ext *dest, const struct fp_ext *src);
26 extern struct fp_ext *fp_fdiv(struct fp_ext *dest, const struct fp_ext *src);
29 fp_fsqrt(struct fp_ext *dest, struct fp_ext *src) in fp_fsqrt() argument
36 fp_monadic_check(dest, src); in fp_fsqrt()
102 fp_fetoxm1(struct fp_ext *dest, struct fp_ext *src) in fp_fetoxm1() argument
106 fp_monadic_check(dest, src); in fp_fetoxm1()
112 fp_fetox(struct fp_ext *dest, struct fp_ext *src) in fp_fetox() argument
116 fp_monadic_check(dest, src); in fp_fetox()
122 fp_ftwotox(struct fp_ext *dest, struct fp_ext *src) in fp_ftwotox() argument
126 fp_monadic_check(dest, src); in fp_ftwotox()
[all …]
/linux-6.6.21/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.6.21/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.6.21/tools/testing/selftests/drivers/usb/usbip/
Dusbip_test.sh68 if [ ! -f src/usbip ]; then
75 src/usbip list -l;
82 src/usbipd -D;
85 src/usbip list -r localhost;
89 src/usbip bind -b $busid;
97 src/usbip bind -b $busid;
101 src/usbip list -r localhost;
105 src/usbip unbind -b $busid;
113 src/usbip unbind -b $busid;
117 src/usbip list -r localhost;
[all …]
/linux-6.6.21/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.6.21/arch/parisc/math-emu/
Dsfsqrt.c44 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()
62 Sgl_set_quiet(src); in sgl_fsqrt()
68 if (Sgl_iszero_sign(src) || Sgl_isnotzero_mantissa(src)) { in sgl_fsqrt()
69 *dstptr = src; in sgl_fsqrt()
77 if (Sgl_iszero_exponentmantissa(src)) { in sgl_fsqrt()
78 *dstptr = src; in sgl_fsqrt()
85 if (Sgl_isone_sign(src)) { in sgl_fsqrt()
[all …]
/linux-6.6.21/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.6.21/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.6.21/arch/nios2/lib/
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()
32 *(short *)dst = *(short *)src; in memmove()
33 src += 2; in memmove()
38 *(long *)dst = *(long *)src; in memmove()
39 src += 4; in memmove()
45 *(char *)dst++ = *(char *)src++; in memmove()
48 src = (unsigned long) s + count; in memmove()
[all …]
/linux-6.6.21/arch/x86/lib/
Dmemmove_32.S21 .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
87 movl -4(src, n), tmp0
[all …]
/linux-6.6.21/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.6.21/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()
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()
113 size = strlen(src) + 1; in lkdtm_FORTIFY_MEM_MEMBER()
[all …]
/linux-6.6.21/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.6.21/net/ceph/
Darmor.c5 int ceph_armor(char *dst, const char *src, const char *end);
6 int ceph_unarmor(char *dst, const char *src, const char *end);
37 int ceph_armor(char *dst, const char *src, const char *end) in ceph_armor() argument
42 while (src < end) { in ceph_armor()
45 a = *src++; in ceph_armor()
47 if (src < end) { in ceph_armor()
48 b = *src++; in ceph_armor()
50 if (src < end) { in ceph_armor()
51 c = *src++; in ceph_armor()
75 int ceph_unarmor(char *dst, const char *src, const char *end) in ceph_unarmor() argument
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c62 const struct bpf_sock *src) in skcpy() argument
64 dst->bound_dev_if = src->bound_dev_if; in skcpy()
65 dst->family = src->family; in skcpy()
66 dst->type = src->type; in skcpy()
67 dst->protocol = src->protocol; in skcpy()
68 dst->mark = src->mark; in skcpy()
69 dst->priority = src->priority; in skcpy()
70 dst->src_ip4 = src->src_ip4; in skcpy()
71 dst->src_ip6[0] = src->src_ip6[0]; in skcpy()
72 dst->src_ip6[1] = src->src_ip6[1]; in skcpy()
[all …]
/linux-6.6.21/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()
53 static inline int copy_from_sockptr(void *dst, sockptr_t src, size_t size) in copy_from_sockptr() argument
55 return copy_from_sockptr_offset(dst, src, 0, size); in copy_from_sockptr()
59 const void *src, size_t size) in copy_to_sockptr_offset() argument
62 return copy_to_user(dst.user + offset, src, size); in copy_to_sockptr_offset()
63 memcpy(dst.kernel + offset, src, size); in copy_to_sockptr_offset()
67 static inline int copy_to_sockptr(sockptr_t dst, const void *src, size_t size) in copy_to_sockptr() argument
[all …]
/linux-6.6.21/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.6.21/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 …]
/linux-6.6.21/arch/mips/cavium-octeon/
Docteon-memcpy.S22 #define src a1 macro
187 EXC( LOAD t0, UNIT(0)(src), l_exc)
188 EXC( LOAD t1, UNIT(1)(src), l_exc_copy)
189 EXC( LOAD t2, UNIT(2)(src), l_exc_copy)
190 EXC( LOAD t3, UNIT(3)(src), l_exc_copy)
196 EXC( LOAD t0, UNIT(4)(src), l_exc_copy)
197 EXC( LOAD t1, UNIT(5)(src), l_exc_copy)
198 EXC( LOAD t2, UNIT(6)(src), l_exc_copy)
199 EXC( LOAD t3, UNIT(7)(src), l_exc_copy)
203 ADD src, src, 16*NBYTES
[all …]

12345678910>>...132