Home
last modified time | relevance | path

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

12345678910>>...118

/Linux-v5.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.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.c113 [SRC] = { .create = (create_t)src_mgr_create,
242 struct src_mgr *src_mgr = atc->rsc_mgrs[SRC]; in atc_pcm_playback_prepare()
246 struct src *src; in atc_pcm_playback_prepare() local
256 /* Get SRC resource */ in atc_pcm_playback_prepare()
260 err = src_mgr->get_src(src_mgr, &desc, (struct src **)&apcm->src); in atc_pcm_playback_prepare()
266 src = apcm->src; in atc_pcm_playback_prepare()
267 src->ops->set_pitch(src, pitch); in atc_pcm_playback_prepare()
268 src->ops->set_rom(src, select_rom(pitch)); in atc_pcm_playback_prepare()
269 src->ops->set_sf(src, convert_format(apcm->substream->runtime->format, in atc_pcm_playback_prepare()
271 src->ops->set_pm(src, (src->ops->next_interleave(src) != NULL)); in atc_pcm_playback_prepare()
[all …]
/Linux-v5.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-v5.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-v5.10/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-v5.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 …]
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-v5.10/drivers/gpu/drm/omapdrm/displays/
Dpanel-dsi-cm.c43 struct omap_dss_device *src; member
144 struct omap_dss_device *src = ddata->src; in dsicm_dcs_read_1() local
148 r = src->ops->dsi.dcs_read(src, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1()
160 struct omap_dss_device *src = ddata->src; in dsicm_dcs_write_0() local
162 return src->ops->dsi.dcs_write(src, ddata->channel, &dcs_cmd, 1); in dsicm_dcs_write_0()
167 struct omap_dss_device *src = ddata->src; in dsicm_dcs_write_1() local
170 return src->ops->dsi.dcs_write(src, ddata->channel, buf, 2); in dsicm_dcs_write_1()
176 struct omap_dss_device *src = ddata->src; in dsicm_sleep_in() local
183 r = src->ops->dsi.dcs_write_nosync(src, ddata->channel, &cmd, 1); in dsicm_sleep_in()
231 struct omap_dss_device *src = ddata->src; in dsicm_set_update_window() local
[all …]
/Linux-v5.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 …]
/Linux-v5.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-v5.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-v5.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-v5.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-v5.10/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c61 const struct bpf_sock *src) in skcpy() argument
63 dst->bound_dev_if = src->bound_dev_if; in skcpy()
64 dst->family = src->family; in skcpy()
65 dst->type = src->type; in skcpy()
66 dst->protocol = src->protocol; in skcpy()
67 dst->mark = src->mark; in skcpy()
68 dst->priority = src->priority; in skcpy()
69 dst->src_ip4 = src->src_ip4; in skcpy()
70 dst->src_ip6[0] = src->src_ip6[0]; in skcpy()
71 dst->src_ip6[1] = src->src_ip6[1]; in skcpy()
[all …]
/Linux-v5.10/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 …]
Dmemmove.S10 * files/head:/src/aarch64/
18 * Move a buffer from src to test (alignment handled by the hardware).
19 * If dest <= src, call memcpy, otherwise copy in reverse order.
23 * x1 - src
29 src .req x1 label
50 cmp dstin, src
52 add tmp1, src, count
57 add src, src, count
61 ands tmp2, src, #15 /* Bytes to reach alignment. */
65 * process the aligned offset length to make the src aligned firstly.
[all …]
/Linux-v5.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-v5.10/arch/x86/crypto/
Dglue_helper-asm-avx.S8 #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; \
16 vmovdqu (7*16)(src), x7;
28 #define store_cbc_8way(src, dst, x0, x1, x2, x3, x4, x5, x6, x7) \ argument
[all …]
/Linux-v5.10/mm/
Dmaccess.c17 #define copy_from_kernel_nofault_loop(dst, src, len, type, err_label) \ argument
19 __get_kernel_nofault(dst, src, type, err_label); \
21 src += sizeof(type); \
25 long copy_from_kernel_nofault(void *dst, const void *src, size_t size) in copy_from_kernel_nofault() argument
27 if (!copy_from_kernel_nofault_allowed(src, size)) in copy_from_kernel_nofault()
31 copy_from_kernel_nofault_loop(dst, src, size, u64, Efault); in copy_from_kernel_nofault()
32 copy_from_kernel_nofault_loop(dst, src, size, u32, Efault); in copy_from_kernel_nofault()
33 copy_from_kernel_nofault_loop(dst, src, size, u16, Efault); in copy_from_kernel_nofault()
34 copy_from_kernel_nofault_loop(dst, src, size, u8, Efault); in copy_from_kernel_nofault()
43 #define copy_to_kernel_nofault_loop(dst, src, len, type, err_label) \ argument
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/reset/
Dfsl,imx-src.yaml4 $id: http://devicetree.org/schemas/reset/fsl,imx-src.yaml#
15 nodes should specify the reset line on the SRC in their resets
16 property, containing a phandle to the SRC device node and a
31 - const: "fsl,imx51-src"
33 - const: "fsl,imx50-src"
34 - const: "fsl,imx51-src"
36 - const: "fsl,imx53-src"
37 - const: "fsl,imx51-src"
39 - const: "fsl,imx6q-src"
40 - const: "fsl,imx51-src"
[all …]
/Linux-v5.10/arch/x86/include/asm/crypto/
Dcamellia.h35 asmlinkage void __camellia_enc_blk(const void *ctx, u8 *dst, const u8 *src,
37 asmlinkage void camellia_dec_blk(const void *ctx, u8 *dst, const u8 *src);
40 asmlinkage void __camellia_enc_blk_2way(const void *ctx, u8 *dst, const u8 *src,
42 asmlinkage void camellia_dec_blk_2way(const void *ctx, u8 *dst, const u8 *src);
45 asmlinkage void camellia_ecb_enc_16way(const void *ctx, u8 *dst, const u8 *src);
46 asmlinkage void camellia_ecb_dec_16way(const void *ctx, u8 *dst, const u8 *src);
48 asmlinkage void camellia_cbc_dec_16way(const void *ctx, u8 *dst, const u8 *src);
49 asmlinkage void camellia_ctr_16way(const void *ctx, u8 *dst, const u8 *src,
52 asmlinkage void camellia_xts_enc_16way(const void *ctx, u8 *dst, const u8 *src,
54 asmlinkage void camellia_xts_dec_16way(const void *ctx, u8 *dst, const u8 *src,
[all …]
/Linux-v5.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-v5.10/drivers/staging/media/allegro-dvt/
Dallegro-mail.c249 u32 *src) in allegro_decode_config_blob() argument
254 param->num_ref_idx_l0 = FIELD_GET(GENMASK(7, 4), src[9]); in allegro_decode_config_blob()
255 param->num_ref_idx_l1 = FIELD_GET(GENMASK(11, 8), src[9]); in allegro_decode_config_blob()
351 allegro_dec_init(struct mcu_msg_init_response *msg, u32 *src) in allegro_dec_init() argument
355 msg->reserved0 = src[i++]; in allegro_dec_init()
357 return i * sizeof(*src); in allegro_dec_init()
362 u32 *src) in allegro_dec_create_channel() argument
367 msg->channel_id = src[i++]; in allegro_dec_create_channel()
368 msg->user_id = src[i++]; in allegro_dec_create_channel()
374 msg->options = src[i++]; in allegro_dec_create_channel()
[all …]

12345678910>>...118