Home
last modified time | relevance | path

Searched +full:src +full:- (Results 1 – 25 of 1132) sorted by relevance

12345678910>>...46

/kernel/linux/linux-6.6/sound/pci/ctxfi/
Dctsrc.c1 // SPDX-License-Identifier: GPL-2.0-only
24 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()
[all …]
Dctsrc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
34 /* 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);
[all …]
Dctatc.c1 // SPDX-License-Identifier: GPL-2.0-only
28 #define MONO_SUM_SCALE 0x19a8 /* 2^(-0.5) in 14-bit floating format */
101 .public_name = "IEC958 Non-audio"},
115 [SRC] = { .create = (create_t)src_mgr_create,
140 if (!apcm->substream) in ct_map_audio_buffer()
143 runtime = apcm->substream->runtime; in ct_map_audio_buffer()
144 vm = atc->vm; in ct_map_audio_buffer()
146 apcm->vm_block = vm->map(vm, apcm->substream, runtime->dma_bytes); in ct_map_audio_buffer()
148 if (!apcm->vm_block) in ct_map_audio_buffer()
149 return -ENOENT; in ct_map_audio_buffer()
[all …]
/kernel/linux/linux-5.10/sound/pci/ctxfi/
Dctsrc.c1 // SPDX-License-Identifier: GPL-2.0-only
24 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()
[all …]
Dctsrc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
34 /* 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);
[all …]
Dctatc.c1 // SPDX-License-Identifier: GPL-2.0-only
28 #define MONO_SUM_SCALE 0x19a8 /* 2^(-0.5) in 14-bit floating format */
101 .public_name = "IEC958 Non-audio"},
115 [SRC] = { .create = (create_t)src_mgr_create,
140 if (!apcm->substream) in ct_map_audio_buffer()
143 runtime = apcm->substream->runtime; in ct_map_audio_buffer()
144 vm = atc->vm; in ct_map_audio_buffer()
146 apcm->vm_block = vm->map(vm, apcm->substream, runtime->dma_bytes); in ct_map_audio_buffer()
148 if (!apcm->vm_block) in ct_map_audio_buffer()
149 return -ENOENT; in ct_map_audio_buffer()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_marshall.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
44 /* Do structure copy and the over-write fields */ in rdma_ah_conv_opa_to_ib()
47 ib->type = RDMA_AH_ATTR_TYPE_IB; in rdma_ah_conv_opa_to_ib()
50 if (ib_query_port(dev, opa->port_num, &port_attr)) { in rdma_ah_conv_opa_to_ib()
53 ret = -EINVAL; in rdma_ah_conv_opa_to_ib()
66 struct rdma_ah_attr *src = ah_attr; in ib_copy_ah_attr_to_user() local
69 memset(&dst->grh, 0, sizeof(dst->grh)); in ib_copy_ah_attr_to_user()
71 if ((ah_attr->type == RDMA_AH_ATTR_TYPE_OPA) && in ib_copy_ah_attr_to_user()
74 src = &conv_ah; in ib_copy_ah_attr_to_user()
[all …]
/kernel/linux/linux-6.6/drivers/infiniband/core/
Duverbs_marshall.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
44 /* Do structure copy and the over-write fields */ in rdma_ah_conv_opa_to_ib()
47 ib->type = RDMA_AH_ATTR_TYPE_IB; in rdma_ah_conv_opa_to_ib()
50 if (ib_query_port(dev, opa->port_num, &port_attr)) { in rdma_ah_conv_opa_to_ib()
53 ret = -EINVAL; in rdma_ah_conv_opa_to_ib()
66 struct rdma_ah_attr *src = ah_attr; in ib_copy_ah_attr_to_user() local
69 memset(&dst->grh, 0, sizeof(dst->grh)); in ib_copy_ah_attr_to_user()
71 if ((ah_attr->type == RDMA_AH_ATTR_TYPE_OPA) && in ib_copy_ah_attr_to_user()
74 src = &conv_ah; in ib_copy_ah_attr_to_user()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_rect.c1 // SPDX-License-Identifier: GPL-2.0
12 #include "test-drm_modeset_common.h"
16 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
[all …]
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
Docteon-memcpy.S17 #include <asm/asm-offsets.h>
22 #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
32 * - dst is writable
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)
42 * - dst is writable (no exceptions when writing dst)
[all …]
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/
Docteon-memcpy.S18 #include <asm/asm-offsets.h>
22 #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
32 * - dst is writable
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)
42 * - dst is writable (no exceptions when writing dst)
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/displays/
Dpanel-dsi-cm.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
43 struct omap_dss_device *src; member
106 if (ddata->bldev) in dsicm_bl_power()
107 backlight = ddata->bldev; in dsicm_bl_power()
108 else if (ddata->extbldev) in dsicm_bl_power()
109 backlight = ddata->extbldev; in dsicm_bl_power()
114 backlight->props.fb_blank = FB_BLANK_UNBLANK; in dsicm_bl_power()
115 backlight->props.state = ~(BL_CORE_FBBLANK | BL_CORE_SUSPENDED); in dsicm_bl_power()
116 backlight->props.power = FB_BLANK_UNBLANK; in dsicm_bl_power()
[all …]
/kernel/linux/linux-5.10/arch/m68k/math-emu/
Dfp_arith.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 fp_arith.c: floating-point math routines for the Linux-m68k
7 Copyright (c) 1998-1999 David Huggins-Daines.
10 Mosberger-Tang.
32 fp_fabs(struct fp_ext *dest, struct fp_ext *src) in fp_fabs() argument
36 fp_monadic_check(dest, src); in fp_fabs()
38 dest->sign = 0; 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()
50 dest->sign = !dest->sign; in fp_fneg()
[all …]
/kernel/linux/linux-6.6/arch/m68k/math-emu/
Dfp_arith.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 fp_arith.c: floating-point math routines for the Linux-m68k
7 Copyright (c) 1998-1999 David Huggins-Daines.
10 Mosberger-Tang.
32 fp_fabs(struct fp_ext *dest, struct fp_ext *src) in fp_fabs() argument
36 fp_monadic_check(dest, src); in fp_fabs()
38 dest->sign = 0; 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()
50 dest->sign = !dest->sign; in fp_fneg()
[all …]
/kernel/linux/linux-5.10/arch/mips/lib/
Dcsum_partial.S15 #include <asm/asm-offsets.h>
75 #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); \
[all …]
/kernel/linux/linux-6.6/arch/mips/lib/
Dcsum_partial.S16 #include <asm/asm-offsets.h>
75 #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); \
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/hdmi/
Dqfprom.xml.h6 This file was generated by the rules-ng-ng headergen tool in this git repository:
10 The rules-ng-ng source files this header was generated from are:
11 - /home/robclark/src/mesa/mesa/src/freedreno/registers/msm.xml ( 944 bytes, fr…
12 - /home/robclark/src/mesa/mesa/src/freedreno/registers/freedreno_copyright.xml ( 1572 bytes, fr…
13 - /home/robclark/src/mesa/mesa/src/freedreno/registers/mdp/mdp4.xml ( 20912 bytes, fr…
14 - /home/robclark/src/mesa/mesa/src/freedreno/registers/mdp/mdp_common.xml ( 2849 bytes, fr…
15 - /home/robclark/src/mesa/mesa/src/freedreno/registers/mdp/mdp5.xml ( 37461 bytes, fr…
16 - /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi.xml ( 18746 bytes, fr…
17 - /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi_phy_v2.xml ( 3236 bytes, fr…
18 - /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi_phy_28nm_8960.xml ( 4935 bytes, fr…
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/
DKbuild1 # SPDX-License-Identifier: MIT
2 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
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dsi/
Dsfpb.xml.h6 This file was generated by the rules-ng-ng headergen tool in this git repository:
10 The rules-ng-ng source files this header was generated from are:
11 - /home/robclark/src/mesa/mesa/src/freedreno/registers/msm.xml ( 944 bytes, fr…
12 - /home/robclark/src/mesa/mesa/src/freedreno/registers/freedreno_copyright.xml ( 1572 bytes, fr…
13 - /home/robclark/src/mesa/mesa/src/freedreno/registers/mdp/mdp4.xml ( 20912 bytes, fr…
14 - /home/robclark/src/mesa/mesa/src/freedreno/registers/mdp/mdp_common.xml ( 2849 bytes, fr…
15 - /home/robclark/src/mesa/mesa/src/freedreno/registers/mdp/mdp5.xml ( 37461 bytes, fr…
16 - /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi.xml ( 18746 bytes, fr…
17 - /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi_phy_v2.xml ( 3236 bytes, fr…
18 - /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi_phy_28nm_8960.xml ( 4935 bytes, fr…
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/
DKbuild1 # SPDX-License-Identifier: MIT
2 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
[all …]
/kernel/liteos_m/testsuites/unittest/posix/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved.
35 "src/ctype/ctype_func_test.c",
36 "src/ctype/isdigit_test.c",
37 "src/ctype/islower_test.c",
38 "src/ctype/isxdigit_test.c",
39 "src/ctype/tolower_test.c",
40 "src/ctype/toupper_test.c",
41 "src/errno/strerror_test.c",
42 "src/math/math_func_test.c",
[all …]
/kernel/linux/linux-5.10/drivers/phy/
Dphy-xgene.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * AppliedMicro X-Gene Multi-purpose PHY driver
10 * The APM X-Gene PHY consists of two PLL clock macro's (CMU) and lanes.
19 * -----------------
20 * | Internal | |------|
21 * | Ref PLL CMU |----| | ------------- ---------
22 * ------------ ---- | MUX |-----|PHY PLL CMU|----| Serdes|
23 * | | | | ---------
24 * External Clock ------| | -------------
25 * |------|
[all …]
/kernel/linux/linux-6.6/drivers/phy/
Dphy-xgene.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * AppliedMicro X-Gene Multi-purpose PHY driver
10 * The APM X-Gene PHY consists of two PLL clock macro's (CMU) and lanes.
19 * -----------------
20 * | Internal | |------|
21 * | Ref PLL CMU |----| | ------------- ---------
22 * ------------ ---- | MUX |-----|PHY PLL CMU|----| Serdes|
23 * | | | | ---------
24 * External Clock ------| | -------------
25 * |------|
[all …]
/kernel/linux/linux-6.6/arch/x86/lib/
Dmemmove_32.S1 /* SPDX-License-Identifier: GPL-2.0 */
9 * -mregparm=3 passes these in registers:
15 * n can remain in %ecx, but for `rep movsl`, we'll need dest in %edi and src
21 .set src, %esi define
31 * Save all callee-saved registers, because this function is going to clobber
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
[all …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c2 * Copyright (c) 2012-2016 VMware, Inc. All rights reserved.
7 * 2-Clause License. This program is distributed in the hope that it
11 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html.
17 * The BSD 2-Clause License
23 * - Redistributions of source code must retain the above
27 * - Redistributions in binary form must reproduce the above
58 return -EINVAL; in pvrdma_page_dir_init()
62 pdir->dir = dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE, in pvrdma_page_dir_init()
63 &pdir->dir_dma, GFP_KERNEL); in pvrdma_page_dir_init()
64 if (!pdir->dir) in pvrdma_page_dir_init()
[all …]

12345678910>>...46