Home
last modified time | relevance | path

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

12345678910>>...80

/Linux-v4.19/sound/pci/ctxfi/
Dctsrc.c28 static int src_default_config_memrd(struct src *src);
29 static int src_default_config_memwr(struct src *src);
30 static int src_default_config_arcrw(struct src *src);
32 static int (*src_default_config[3])(struct src *) = {
38 static int src_set_state(struct src *src, unsigned int state) in src_set_state() argument
42 hw = src->rsc.hw; in src_set_state()
43 hw->src_set_state(src->rsc.ctrl_blk, state); in src_set_state()
48 static int src_set_bm(struct src *src, unsigned int bm) in src_set_bm() argument
52 hw = src->rsc.hw; in src_set_bm()
53 hw->src_set_bm(src->rsc.ctrl_blk, bm); in src_set_bm()
[all …]
Dctsrc.h48 struct src { struct
50 struct src *intlv; /* Pointer to next interleaved SRC in a series */ argument
58 int (*set_state)(struct src *src, unsigned int state); argument
59 int (*set_bm)(struct src *src, unsigned int bm);
60 int (*set_sf)(struct src *src, unsigned int sf);
61 int (*set_pm)(struct src *src, unsigned int pm);
62 int (*set_rom)(struct src *src, unsigned int rom);
63 int (*set_vo)(struct src *src, unsigned int vo);
64 int (*set_st)(struct src *src, unsigned int st);
65 int (*set_bp)(struct src *src, unsigned int bp);
[all …]
Dctatc.c249 struct src *src; in atc_pcm_playback_prepare() local
263 err = src_mgr->get_src(src_mgr, &desc, (struct src **)&apcm->src); in atc_pcm_playback_prepare()
269 src = apcm->src; in atc_pcm_playback_prepare()
270 src->ops->set_pitch(src, pitch); in atc_pcm_playback_prepare()
271 src->ops->set_rom(src, select_rom(pitch)); in atc_pcm_playback_prepare()
272 src->ops->set_sf(src, convert_format(apcm->substream->runtime->format, in atc_pcm_playback_prepare()
274 src->ops->set_pm(src, (src->ops->next_interleave(src) != NULL)); in atc_pcm_playback_prepare()
299 src = apcm->src; in atc_pcm_playback_prepare()
303 amixer->ops->setup(amixer, &src->rsc, in atc_pcm_playback_prepare()
306 src = src->ops->next_interleave(src); in atc_pcm_playback_prepare()
[all …]
/Linux-v4.19/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-v4.19/arch/m68k/math-emu/
Dfp_arith.c34 fp_fabs(struct fp_ext *dest, struct fp_ext *src) in fp_fabs() argument
38 fp_monadic_check(dest, src); in fp_fabs()
46 fp_fneg(struct fp_ext *dest, struct fp_ext *src) in fp_fneg() argument
50 fp_monadic_check(dest, src); in fp_fneg()
63 fp_fadd(struct fp_ext *dest, struct fp_ext *src) in fp_fadd() argument
69 fp_dyadic_check(dest, src); in fp_fadd()
73 if (IS_INF(src) && (src->sign != dest->sign)) in fp_fadd()
77 if (IS_INF(src)) { in fp_fadd()
78 fp_copy_ext(dest, src); in fp_fadd()
83 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-v4.19/drivers/phy/
Dphy-xgene.c97 #define SATA_MEM_RESET_RD(src) (((src) & 0x00000020) >> 5) argument
106 #define REGSPEC_CFG_I_TX_WORDMODE0_SET(dst, src) \ argument
107 (((dst) & ~0x00070000) | (((u32) (src) << 16) & 0x00070000))
108 #define REGSPEC_CFG_I_RX_WORDMODE0_SET(dst, src) \ argument
109 (((dst) & ~0x00e00000) | (((u32) (src) << 21) & 0x00e00000))
111 #define REGSPEC_CFG_I_CUSTOMER_PIN_MODE0_SET(dst, src) \ argument
112 (((dst) & ~0x00007fff) | (((u32) (src)) & 0x00007fff))
114 #define CFG_I_SPD_SEL_CDR_OVR1_SET(dst, src) \ argument
115 (((dst) & ~0x0000000f) | (((u32) (src)) & 0x0000000f))
121 #define CFG_IND_ADDR_SET(dst, src) \ argument
[all …]
/Linux-v4.19/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-v4.19/arch/parisc/math-emu/
Dsfsqrt.c57 register unsigned int src, result; in sgl_fsqrt() local
62 src = *srcptr; in sgl_fsqrt()
66 if ((src_exponent = Sgl_exponent(src)) == SGL_INFINITY_EXPONENT) { in sgl_fsqrt()
70 if (Sgl_isone_signaling(src)) { in sgl_fsqrt()
75 Sgl_set_quiet(src); in sgl_fsqrt()
81 if (Sgl_iszero_sign(src) || Sgl_isnotzero_mantissa(src)) { in sgl_fsqrt()
82 *dstptr = src; in sgl_fsqrt()
90 if (Sgl_iszero_exponentmantissa(src)) { in sgl_fsqrt()
91 *dstptr = src; in sgl_fsqrt()
98 if (Sgl_isone_sign(src)) { in sgl_fsqrt()
[all …]
/Linux-v4.19/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-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/
DKbuild1 include $(src)/nvkm/subdev/bar/Kbuild
2 include $(src)/nvkm/subdev/bios/Kbuild
3 include $(src)/nvkm/subdev/bus/Kbuild
4 include $(src)/nvkm/subdev/clk/Kbuild
5 include $(src)/nvkm/subdev/devinit/Kbuild
6 include $(src)/nvkm/subdev/fault/Kbuild
7 include $(src)/nvkm/subdev/fb/Kbuild
8 include $(src)/nvkm/subdev/fuse/Kbuild
9 include $(src)/nvkm/subdev/gpio/Kbuild
10 include $(src)/nvkm/subdev/i2c/Kbuild
[all …]
/Linux-v4.19/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-v4.19/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c230 void pvrdma_qp_cap_to_ib(struct ib_qp_cap *dst, const struct pvrdma_qp_cap *src) in pvrdma_qp_cap_to_ib() argument
232 dst->max_send_wr = src->max_send_wr; in pvrdma_qp_cap_to_ib()
233 dst->max_recv_wr = src->max_recv_wr; in pvrdma_qp_cap_to_ib()
234 dst->max_send_sge = src->max_send_sge; in pvrdma_qp_cap_to_ib()
235 dst->max_recv_sge = src->max_recv_sge; in pvrdma_qp_cap_to_ib()
236 dst->max_inline_data = src->max_inline_data; in pvrdma_qp_cap_to_ib()
239 void ib_qp_cap_to_pvrdma(struct pvrdma_qp_cap *dst, const struct ib_qp_cap *src) in ib_qp_cap_to_pvrdma() argument
241 dst->max_send_wr = src->max_send_wr; in ib_qp_cap_to_pvrdma()
242 dst->max_recv_wr = src->max_recv_wr; in ib_qp_cap_to_pvrdma()
243 dst->max_send_sge = src->max_send_sge; in ib_qp_cap_to_pvrdma()
[all …]
/Linux-v4.19/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-v4.19/arch/microblaze/lib/
Dmemmove.c37 const char *src = v_src; in memmove() local
48 src += c; in memmove()
53 *--dst = *--src; in memmove()
60 const char *src = v_src; in memmove() local
81 src += c; in memmove()
91 *--dst = *--src; in memmove()
94 *--dst = *--src; in memmove()
97 *--dst = *--src; in memmove()
104 switch ((unsigned long)src & 3) { in memmove()
107 i_src = (const void *)src; in memmove()
[all …]
Dmemcpy.c38 const char *src = v_src; in memcpy() local
43 *dst++ = *src++; in memcpy()
50 const char *src = v_src; in memcpy() local
69 *dst++ = *src++; in memcpy()
72 *dst++ = *src++; in memcpy()
75 *dst++ = *src++; in memcpy()
83 switch ((unsigned long)src & 3) { in memcpy()
85 i_src = (const void *)src; in memcpy()
90 src = (const void *)i_src; in memcpy()
94 i_src = (const void *) ((unsigned)src & ~3); in memcpy()
[all …]
/Linux-v4.19/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-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/
DKbuild4 include $(src)/nvkm/engine/bsp/Kbuild
5 include $(src)/nvkm/engine/ce/Kbuild
6 include $(src)/nvkm/engine/cipher/Kbuild
7 include $(src)/nvkm/engine/device/Kbuild
8 include $(src)/nvkm/engine/disp/Kbuild
9 include $(src)/nvkm/engine/dma/Kbuild
10 include $(src)/nvkm/engine/fifo/Kbuild
11 include $(src)/nvkm/engine/gr/Kbuild
12 include $(src)/nvkm/engine/mpeg/Kbuild
13 include $(src)/nvkm/engine/msenc/Kbuild
[all …]
/Linux-v4.19/sound/core/
Dpcm_compat.c27 s32 __user *src) in snd_pcm_ioctl_delay_compat() argument
35 if (put_user(delay, src)) in snd_pcm_ioctl_delay_compat()
41 u32 __user *src) in snd_pcm_ioctl_rewind_compat() argument
46 if (get_user(frames, src)) in snd_pcm_ioctl_rewind_compat()
49 if (put_user(err, src)) in snd_pcm_ioctl_rewind_compat()
55 u32 __user *src) in snd_pcm_ioctl_forward_compat() argument
60 if (get_user(frames, src)) in snd_pcm_ioctl_forward_compat()
63 if (put_user(err, src)) in snd_pcm_ioctl_forward_compat()
114 struct snd_pcm_sw_params32 __user *src) in snd_pcm_ioctl_sw_params_compat() argument
121 if (get_user(params.tstamp_mode, &src->tstamp_mode) || in snd_pcm_ioctl_sw_params_compat()
[all …]
/Linux-v4.19/include/crypto/
Dcbc.h26 u8 *src = walk->src.virt.addr; in crypto_cbc_encrypt_segment() local
31 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment()
35 src += bsize; in crypto_cbc_encrypt_segment()
48 u8 *src = walk->src.virt.addr; in crypto_cbc_encrypt_inplace() local
52 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace()
53 fn(tfm, src, src); in crypto_cbc_encrypt_inplace()
54 iv = src; in crypto_cbc_encrypt_inplace()
56 src += bsize; in crypto_cbc_encrypt_inplace()
75 if (walk.src.virt.addr == walk.dst.virt.addr) in crypto_cbc_encrypt_walk()
91 u8 *src = walk->src.virt.addr; in crypto_cbc_decrypt_segment() local
[all …]
/Linux-v4.19/tools/perf/tests/
Dmem.c27 union perf_mem_data_src src; in test__mem() local
29 memset(&src, 0, sizeof(src)); in test__mem()
31 src.mem_lvl = PERF_MEM_LVL_HIT; in test__mem()
32 src.mem_lvl_num = 4; in test__mem()
34 ret |= check(src, "N/AL4 hit"); in test__mem()
36 src.mem_remote = 1; in test__mem()
38 ret |= check(src, "N/ARemote L4 hit"); in test__mem()
40 src.mem_lvl = PERF_MEM_LVL_MISS; in test__mem()
41 src.mem_lvl_num = PERF_MEM_LVLNUM_PMEM; in test__mem()
42 src.mem_remote = 0; in test__mem()
[all …]
/Linux-v4.19/arch/x86/include/asm/
Duaccess_64.h66 raw_copy_from_user(void *dst, const void __user *src, unsigned long size) in raw_copy_from_user() argument
71 return copy_user_generic(dst, (__force void *)src, size); in raw_copy_from_user()
75 __get_user_asm_nozero(*(u8 *)dst, (u8 __user *)src, in raw_copy_from_user()
81 __get_user_asm_nozero(*(u16 *)dst, (u16 __user *)src, in raw_copy_from_user()
87 __get_user_asm_nozero(*(u32 *)dst, (u32 __user *)src, in raw_copy_from_user()
93 __get_user_asm_nozero(*(u64 *)dst, (u64 __user *)src, in raw_copy_from_user()
99 __get_user_asm_nozero(*(u64 *)dst, (u64 __user *)src, in raw_copy_from_user()
103 (u16 __user *)(8 + (char __user *)src), in raw_copy_from_user()
109 __get_user_asm_nozero(*(u64 *)dst, (u64 __user *)src, in raw_copy_from_user()
113 (u64 __user *)(8 + (char __user *)src), in raw_copy_from_user()
[all …]
/Linux-v4.19/arch/mips/cavium-octeon/
Docteon-memcpy.S22 #define src a1 macro
185 EXC( LOAD t0, UNIT(0)(src), l_exc)
186 EXC( LOAD t1, UNIT(1)(src), l_exc_copy)
187 EXC( LOAD t2, UNIT(2)(src), l_exc_copy)
188 EXC( LOAD t3, UNIT(3)(src), l_exc_copy)
194 EXC( LOAD t0, UNIT(4)(src), l_exc_copy)
195 EXC( LOAD t1, UNIT(5)(src), l_exc_copy)
196 EXC( LOAD t2, UNIT(6)(src), l_exc_copy)
197 EXC( LOAD t3, UNIT(7)(src), l_exc_copy)
201 ADD src, src, 16*NBYTES
[all …]
/Linux-v4.19/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 …]

12345678910>>...80