Home
last modified time | relevance | path

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

12345678910>>...123

/linux-5.19.10/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-5.19.10/drivers/gpu/drm/selftests/
Dtest-drm_rect.c16 struct drm_rect src, dst, clip; in igt_drm_rect_clip_scaled_div_by_zero() local
23 drm_rect_init(&src, 0, 0, 0, 0); in igt_drm_rect_clip_scaled_div_by_zero()
26 visible = drm_rect_clip_scaled(&src, &dst, &clip); in igt_drm_rect_clip_scaled_div_by_zero()
28 FAIL(drm_rect_visible(&src), "Source should not be visible\n"); in igt_drm_rect_clip_scaled_div_by_zero()
30 drm_rect_init(&src, 0, 0, 0, 0); in igt_drm_rect_clip_scaled_div_by_zero()
33 visible = drm_rect_clip_scaled(&src, &dst, &clip); in igt_drm_rect_clip_scaled_div_by_zero()
35 FAIL(drm_rect_visible(&src), "Source should not be visible\n"); in igt_drm_rect_clip_scaled_div_by_zero()
42 struct drm_rect src, dst, clip; in igt_drm_rect_clip_scaled_not_clipped() local
46 drm_rect_init(&src, 0, 0, 1 << 16, 1 << 16); in igt_drm_rect_clip_scaled_not_clipped()
50 visible = drm_rect_clip_scaled(&src, &dst, &clip); in igt_drm_rect_clip_scaled_not_clipped()
[all …]
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/phy/
Dphy-xgene.c85 #define SATA_MEM_RESET_RD(src) (((src) & 0x00000020) >> 5) argument
94 #define REGSPEC_CFG_I_TX_WORDMODE0_SET(dst, src) \ argument
95 (((dst) & ~0x00070000) | (((u32) (src) << 16) & 0x00070000))
96 #define REGSPEC_CFG_I_RX_WORDMODE0_SET(dst, src) \ argument
97 (((dst) & ~0x00e00000) | (((u32) (src) << 21) & 0x00e00000))
99 #define REGSPEC_CFG_I_CUSTOMER_PIN_MODE0_SET(dst, src) \ argument
100 (((dst) & ~0x00007fff) | (((u32) (src)) & 0x00007fff))
102 #define CFG_I_SPD_SEL_CDR_OVR1_SET(dst, src) \ argument
103 (((dst) & ~0x0000000f) | (((u32) (src)) & 0x0000000f))
109 #define CFG_IND_ADDR_SET(dst, src) \ argument
[all …]
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/mm/
Dmaccess.c15 #define copy_from_kernel_nofault_loop(dst, src, len, type, err_label) \ argument
17 __get_kernel_nofault(dst, src, type, err_label); \
19 src += sizeof(type); \
23 long copy_from_kernel_nofault(void *dst, const void *src, size_t size) in copy_from_kernel_nofault() argument
28 align = (unsigned long)dst | (unsigned long)src; in copy_from_kernel_nofault()
30 if (!copy_from_kernel_nofault_allowed(src, size)) in copy_from_kernel_nofault()
35 copy_from_kernel_nofault_loop(dst, src, size, u64, Efault); in copy_from_kernel_nofault()
37 copy_from_kernel_nofault_loop(dst, src, size, u32, Efault); in copy_from_kernel_nofault()
39 copy_from_kernel_nofault_loop(dst, src, size, u16, Efault); in copy_from_kernel_nofault()
40 copy_from_kernel_nofault_loop(dst, src, size, u8, Efault); in copy_from_kernel_nofault()
[all …]
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/misc/lkdtm/
Dfortify.c41 char *src; in lkdtm_FORTIFIED_SUBOBJECT() local
43 src = kmalloc(size, GFP_KERNEL); in lkdtm_FORTIFIED_SUBOBJECT()
44 strscpy(src, "over ten bytes", size); in lkdtm_FORTIFIED_SUBOBJECT()
45 size = strlen(src) + 1; in lkdtm_FORTIFIED_SUBOBJECT()
54 strncpy(target.a, src, size); in lkdtm_FORTIFIED_SUBOBJECT()
62 kfree(src); in lkdtm_FORTIFIED_SUBOBJECT()
72 char *src; in lkdtm_FORTIFIED_STRSCPY() local
78 char src[5]; in lkdtm_FORTIFIED_STRSCPY() member
81 char weird_dst[sizeof(weird.src) + 1]; in lkdtm_FORTIFIED_STRSCPY()
83 src = kstrdup("foobar", GFP_KERNEL); in lkdtm_FORTIFIED_STRSCPY()
[all …]
/linux-5.19.10/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-5.19.10/arch/microblaze/lib/
Dmemmove.c36 const char *src = v_src; in memmove() local
57 src += c; in memmove()
67 *--dst = *--src; in memmove()
71 *--dst = *--src; in memmove()
75 *--dst = *--src; in memmove()
82 switch ((unsigned long)src & 3) { in memmove()
85 i_src = (const void *)src; in memmove()
90 src = (const void *)i_src; in memmove()
94 i_src = (const void *) (((unsigned)src + 4) & ~3); in memmove()
116 src = (const void *)i_src; in memmove()
[all …]
/linux-5.19.10/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 …]
/linux-5.19.10/tools/perf/tests/
Dmem.c29 union perf_mem_data_src src; in test__mem() local
31 memset(&src, 0, sizeof(src)); in test__mem()
33 src.mem_lvl = PERF_MEM_LVL_HIT; in test__mem()
34 src.mem_lvl_num = 4; in test__mem()
36 ret |= check(src, "N/AL4 hit"); in test__mem()
38 src.mem_remote = 1; in test__mem()
40 ret |= check(src, "N/ARemote L4 hit"); in test__mem()
42 src.mem_lvl = PERF_MEM_LVL_MISS; in test__mem()
43 src.mem_lvl_num = PERF_MEM_LVLNUM_PMEM; in test__mem()
44 src.mem_remote = 0; in test__mem()
[all …]

12345678910>>...123