Home
last modified time | relevance | path

Searched +full:dsp +full:- +full:ctrl (Results 1 – 25 of 65) sorted by relevance

123

/linux/sound/soc/codecs/
H A Dsigmadsp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2009-2014 Analog Devices Inc.
98 return sigmadsp->write(sigmadsp->control_data, addr, data, len); in sigmadsp_write()
104 return sigmadsp->read(sigmadsp->control_data, addr, data, len); in sigmadsp_read()
110 struct sigmadsp_control *ctrl = (void *)kcontrol->private_value; in sigmadsp_ctrl_info() local
112 info->type = SNDRV_CTL_ELEM_TYPE_BYTES; in sigmadsp_ctrl_info()
113 info->count = ctrl->num_bytes; in sigmadsp_ctrl_info()
119 struct sigmadsp_control *ctrl, void *data) in sigmadsp_ctrl_write() argument
122 if (ctrl->num_bytes <= 20 && sigmadsp->ops && sigmadsp->ops->safeload) in sigmadsp_ctrl_write()
123 return sigmadsp->ops->safeload(sigmadsp, ctrl->addr, data, in sigmadsp_ctrl_write()
[all …]
H A Dcs35l45.c1 // SPDX-License-Identifier: GPL-2.0
3 // cs35l45.c - CS35L45 ALSA SoC audio driver
5 // Copyright 2019-2022 Cirrus Logic, Inc.
53 if (!cs35l45->dsp.cs_dsp.running) { in cs35l45_set_cspl_mbox_cmd()
54 dev_err(cs35l45->dev, "DSP not running\n"); in cs35l45_set_cspl_mbox_cmd()
55 return -EPER in cs35l45_set_cspl_mbox_cmd()
1348 struct wm_adsp *dsp = &cs35l45->dsp; cs35l45_dsp_init() local
[all...]
H A Dwm_adsp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm_adsp.c -- Wolfson ADSP support
39 dev_crit(_dsp->cs_dsp.dev, "%s: " fmt, _dsp->cs_dsp.name, ##__VA_ARGS__)
41 dev_err(_dsp->cs_dsp.dev, "%s: " fmt, _dsp->cs_ds
152 struct wm_adsp *dsp; global() member
169 struct wm_adsp *dsp; global() member
324 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); wm_adsp_fw_get() local
337 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); wm_adsp_fw_put() local
540 struct wm_adsp *dsp = container_of(cs_ctl->dsp, wm_adsp_ctl_work() local
580 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp); wm_adsp_control_add() local
657 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp); wm_adsp_control_add_cb() local
675 wm_adsp_write_ctl(struct wm_adsp * dsp,const char * name,int type,unsigned int alg,void * buf,size_t len) wm_adsp_write_ctl() argument
693 wm_adsp_read_ctl(struct wm_adsp * dsp,const char * name,int type,unsigned int alg,void * buf,size_t len) wm_adsp_read_ctl() argument
707 wm_adsp_release_firmware_files(struct wm_adsp * dsp,const struct firmware * wmfw_firmware,char * wmfw_filename,const struct firmware * coeff_firmware,char * coeff_filename) wm_adsp_release_firmware_files() argument
720 wm_adsp_request_firmware_file(struct wm_adsp * dsp,const struct firmware ** firmware,char ** filename,const char * dir,const char * system_name,const char * asoc_component_prefix,const char * filetype) wm_adsp_request_firmware_file() argument
779 wm_adsp_request_firmware_files(struct wm_adsp * dsp,const struct firmware ** wmfw_firmware,char ** wmfw_filename,const struct firmware ** coeff_firmware,char ** coeff_filename) wm_adsp_request_firmware_files() argument
861 wm_adsp_common_init(struct wm_adsp * dsp) wm_adsp_common_init() argument
869 wm_adsp1_init(struct wm_adsp * dsp) wm_adsp1_init() argument
889 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp1_event() local
930 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp2_set_dspclk() local
943 struct wm_adsp *dsp = &dsps[mc->shift - 1]; wm_adsp2_preloader_get() local
959 struct wm_adsp *dsp = &dsps[mc->shift - 1]; wm_adsp2_preloader_put() local
987 wm_adsp_power_up(struct wm_adsp * dsp,bool load_firmware) wm_adsp_power_up() argument
1022 wm_adsp_power_down(struct wm_adsp * dsp) wm_adsp_power_down() argument
1030 struct wm_adsp *dsp = container_of(work, wm_adsp_boot_work() local
1042 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp_early_event() local
1061 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); wm_adsp_pre_run() local
1071 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); wm_adsp_event_post_run() local
1081 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); wm_adsp_event_post_stop() local
1089 wm_adsp_run(struct wm_adsp * dsp) wm_adsp_run() argument
1097 wm_adsp_stop(struct wm_adsp * dsp) wm_adsp_stop() argument
1108 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp_event() local
1122 wm_adsp2_component_probe(struct wm_adsp * dsp,struct snd_soc_component * component) wm_adsp2_component_probe() argument
1140 wm_adsp2_component_remove(struct wm_adsp * dsp,struct snd_soc_component * component) wm_adsp2_component_remove() argument
1148 wm_adsp2_init(struct wm_adsp * dsp) wm_adsp2_init() argument
1165 wm_halo_init(struct wm_adsp * dsp) wm_halo_init() argument
1182 wm_adsp2_remove(struct wm_adsp * dsp) wm_adsp2_remove() argument
1231 wm_adsp_compr_open(struct wm_adsp * dsp,struct snd_compr_stream * stream) wm_adsp_compr_open() argument
1287 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_free() local
1307 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_check_params() local
1475 wm_adsp_buffer_alloc(struct wm_adsp * dsp) wm_adsp_buffer_alloc() argument
1490 wm_adsp_buffer_parse_legacy(struct wm_adsp * dsp) wm_adsp_buffer_parse_legacy() argument
1557 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp); wm_adsp_buffer_parse_coeff() local
1626 wm_adsp_buffer_init(struct wm_adsp * dsp) wm_adsp_buffer_init() argument
1664 wm_adsp_buffer_free(struct wm_adsp * dsp) wm_adsp_buffer_free() argument
1701 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_trigger() local
1798 wm_adsp_compr_handle_irq(struct wm_adsp * dsp) wm_adsp_compr_handle_irq() argument
1866 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_pointer() local
1980 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_read() local
2025 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_copy() local
2043 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); wm_adsp_fatal_error() local
2056 struct wm_adsp *dsp = (struct wm_adsp *)data; wm_adsp2_bus_error() local
2066 struct wm_adsp *dsp = (struct wm_adsp *)data; wm_halo_bus_error() local
2076 struct wm_adsp *dsp = data; wm_halo_wdt_expire() local
[all...]
H A Dcs48l32.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Cirrus Logic CS48L32 audio DSP.
5 * Copyright (C) 2016-2018, 2020, 2022, 2025 Cirrus Logic, Inc. and
125 #define CS48L32_MUX(name, ctrl) SND_SOC_DAPM_MUX(name, SND_SOC_NOPM, 0, 0, ctrl) argument
168 #define CS48L32_RATE_CONTROL(name, domain) SOC_ENUM(name, cs48l32_sample_rate[(domain) - 1])
357 struct wm_adsp dsp; /* must be first */ member
383 dev_err(_fll->codec->core.dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
385 dev_warn(_fll->codec->core.dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
387 dev_dbg(_fll->codec->core.dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
390 dev_err(_dai->component->dev, "ASP%d: " fmt, _dai->id, ##__VA_ARGS__)
[all …]
H A Dcs48l32.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Cirrus Logic CS48L32 audio DSP.
5 // Copyright (C) 2016-2018, 2020, 2022, 2025 Cirrus Logic, Inc. and
8 #include <dt-bindings/sound/cs48l32.h>
32 #include <sound/soc-component.h>
33 #include <sound/soc-dai.h>
34 #include <sound/soc-dap
1181 cs48l32_dsp_pre_run(struct wm_adsp * dsp) cs48l32_dsp_pre_run() argument
1278 struct wm_adsp *dsp = &cs48l32_codec->dsp; cs48l32_dsp_freq_update() local
3671 struct wm_adsp *dsp; cs48l32_create_codec_component() local
[all...]
/linux/Documentation/devicetree/bindings/dsp/
H A Dfsl,dsp.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/dsp/fsl,dsp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP i.MX8 DSP core
10 - Daniel Baluta <daniel.baluta@nxp.com>
11 - Shengjiu Wang <shengjiu.wang@nxp.com>
14 Some boards from i.MX8 family contain a DSP core used for
15 advanced pre- and post- audio processing.
20 - fsl,imx8qxp-dsp
[all …]
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dti,k3-dsp-rproc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI K3 DSP devices
10 - Suman Anna <s-anna@ti.com>
13 The TI K3 family of SoCs usually have one or more TI DSP Core sub-systems
14 that are used to offload some of the processor-intensive tasks or algorithms,
17 These processor sub-systems usually contain additional sub-modules like
19 controller, a dedicated local power/sleep controller etc. The DSP processor
[all …]
/linux/drivers/media/radio/
H A Dsaa7706h.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * saa7706.c Philips SAA7706H Car Radio DSP driver
15 #include <media/v4l2-device.h>
16 #include <media/v4l2-ctrls.h>
22 $1C00 - $FFFF Not Used
23 $2200 - $3FFF Reserved YRAM (DSP2) space
24 $2000 - $21FF YRAM (DSP2)
25 $1FF0 - $1FFF Hardware Registers
26 $1280 - $1FEF Reserved XRAM (DSP2) space
27 $1000 - $127F XRAM (DSP2)
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dcirrus,cs35l45.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
11 - Richard Fitzgerald <rf@opensource.cirrus.com>
14 CS35L45 is a Boosted Mono Class D Amplifier with DSP
18 - $ref: dai-common.yaml#
23 - cirrus,cs35l45
31 '#sound-dai-cells':
34 reset-gpios:
[all …]
/linux/drivers/media/i2c/
H A Dov2640.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Copyright 2005-2009 Freescale Semiconductor, Inc. All Rights Reserved.
20 #include <linux/v4l2-mediabus.h>
23 #include <media/v4l2-device.h>
24 #include <media/v4l2-event.h>
25 #include <media/v4l2-subdev.h>
26 #include <media/v4l2-ctrls.h>
27 #include <media/v4l2-image-sizes.h>
32 * DSP registers
35 #define R_BYPASS 0x05 /* Bypass DSP */
[all …]
H A Dov772x.c1 // SPDX-License-Identifier: GPL-2.0
12 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net>
26 #include <linux/v4l2-mediabus.h>
31 #include <media/v4l2-ctrls.h>
32 #include <media/v4l2-device.h>
33 #include <media/v4l2-event.h>
34 #include <media/v4l2-fwnode.h>
35 #include <media/v4l2-image-sizes.h>
36 #include <media/v4l2-subdev.h>
41 #define GAIN 0x00 /* AGC - Gain control gain setting */
[all …]
H A Dmsp3400-driver.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * (c) 1997-2001 Gerd Knorr <kraxel@bytesex.org>
9 * AM-Mono
13 * FM-Mono
14 * should work. The stereo modes are backward compatible to FM-mono,
15 * therefore FM-Mono should be always available.
17 * FM-Stereo (B/G, used in germany)
20 * FM-Stereo (satellite)
22 * switch to stereo -- untested)
29 * - better SAT support
[all …]
/linux/arch/arm/mach-omap2/
H A Dprm33xx.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2011-2012 Texas Instruments Incorporated - https://www.ti.com/
17 #include "prm-regbits-33xx.h"
31 /* Read-modify-write a register in PRM. Caller must lock */
45 * am33xx_prm_is_hardreset_asserted - read the HW reset line state of
54 * -EINVAL upon parameter error.
69 * am33xx_prm_assert_hardreset - assert the HW reset line of a submodule
75 * Some IPs like dsp, ipu or iva contain processors that require an HW
77 * IP. These modules may have multiple hard-reset lines that reset
79 * place the submodule into reset. Returns 0 upon success or -EINVAL
[all …]
H A Dsleep24xx.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * linux/arch/arm/mach-omap2/sleep.S
7 * Richard Woodruff <r-woodruff2@ti.com>
26 * omap24xx_cpu_suspend() - Forces OMAP into deep sleep state by completing
31 * R0 : DLL ctrl value pre-Sleep
40 * For less than 242x-ES2.2 upon wake from a sleep mode where the external
41 * oscillator was stopped, a timing bug exists where a non-stabilized 12MHz
42 * clock can pass into the PRCM can cause problems at DSP and IVA.
53 stmfd sp!, {r0 - r12, lr} @ save registers on stack
85 ldmfd sp!, {r0 - r12, pc} @ restore regs and return
[all …]
/linux/Documentation/admin-guide/media/
H A Dsi470x.rst1 .. SPDX-License-Identifier: GPL-2.0
12 -----------------------------
25 -------------
30 - Si4700: FM radio receiver
31 - Si4701: FM radio receiver, RDS Support
32 - Si4702: FM radio receiver
33 - Si4703: FM radio receiver, RDS Support
34 - Si4704: FM radio receiver, no external antenna required
35 - Si4705: FM radio receiver, no external antenna required, RDS support, Dig I/O
36 - Si4706: Enhanced FM RDS/TMC radio receiver, no external antenna required, RDS
[all …]
/linux/sound/pci/echoaudio/
H A Dechoaudio_dsp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004
11 Translation from C++ and adaptation for use in ALSA-Driver
26 /**** Echo24: Gina24, Layla24, Mona, Mia, Mia-midi ****/
29 #define DSP_56361 /* Some Echo24 cards use the 56361 DSP */
66 * These are the offsets for the memory-mapped DSP registers; the DSP base
78 * Interesting bits within the DSP registers
93 * DSP commands sent via slave mode; these are sent to the DSP by write_dsp()
118 #define MIDI_IN_SKIP_DATA (-1)
121 /*----------------------------------------------------------------------------
[all …]
/linux/sound/soc/mediatek/common/
H A Dmtk-dsp-sof-common.c1 // SPDX-License-Identifier: GPL-2.0
3 * mtk-dsp-sof-common.c -- MediaTek dsp so
[all...]
/linux/drivers/pinctrl/cirrus/
H A Dpinctrl-lochnagar.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2017-2018 Cirrus Logic, Inc. and
21 #include <linux/pinctrl/pinconf-generic.h>
30 #include <dt-bindings/pinctrl/lochnagar.h>
32 #include "../pinctrl-utils.h"
36 #define LN_CDC_AIF1_STR "codec-aif1"
37 #define LN_CDC_AIF2_STR "codec-aif2"
38 #define LN_CDC_AIF3_STR "codec-aif3"
39 #define LN_DSP_AIF1_STR "dsp-aif1"
40 #define LN_DSP_AIF2_STR "dsp-aif2"
[all …]
/linux/drivers/clocksource/
H A Dtimer-ti-dm-systimer.c1 // SPDX-License-Identifier: GPL-2.0+
15 #include <linux/clk/clk-conf.h>
17 #include <clocksource/timer-ti-dm.h>
18 #include <dt-bindings/bus/ti-sysc.h>
45 u8 ctrl; member
68 u32 tidr = readl_relaxed(t->bas in dmtimer_systimer_revision1()
467 void __iomem *ctrl = t->base + t->ctrl; dmtimer_clockevent_shutdown() local
[all...]
/linux/drivers/media/usb/s2255/
H A Ds2255drv.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * s2255drv.c - a driver for the Sensoray 2255 USB video capture device
5 * Copyright (C) 2007-2014 by Sensoray Company Inc.
19 * -full size, color mode YUYV or YUV422P: 2 channels at once
20 * -full or half size Grey scale: all 4 channels at once
21 * -half size, color mode YUYV or YUV422P: all 4 channels at once
22 * -full size, color mode YUYV or YUV422P 1/2 frame rate: all 4 channels
35 #include <media/videobuf2-v4l2.h>
36 #include <media/videobuf2-vmalloc.h>
37 #include <media/v4l2-common.h>
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Domap5.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
8 #include <dt-bindings/bus/ti-sysc.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/pinctrl/omap.h>
12 #include <dt-bindings/clock/omap5.h>
15 #address-cells = <2>;
16 #size-cells = <2>;
19 interrupt-parent = <&wakeupgen>;
[all …]
H A Domap4.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
6 #include <dt-bindings/bus/ti-sysc.h>
7 #include <dt-bindings/clock/omap4.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/pinctrl/omap.h>
11 #include <dt-bindings/clock/omap4.h>
15 interrupt-parent = <&wakeupgen>;
16 #address-cells = <1>;
[all …]
/linux/include/uapi/linux/
H A Domapfb.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
22 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
77 /* Values from DSP must map to lower 16-bits */
104 OMAPFB_COLOR_RGB24U, /* RGB24, 32-bit container */
105 OMAPFB_COLOR_RGB24P, /* RGB24, 24-bit container */
156 __u32 ctrl; member
/linux/drivers/scsi/be2iscsi/
H A Dbe_main.c16 * OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
22 * linux-drivers@broadcom.com
37 #include <linux/bsg-lib.h>
67 "memory that can be allocated. Range is 16 - 128");
77 phba->attr_##_name);\
88 phba->attr_##_name, val); \
89 phba->attr_##_name = val;\
95 "range allowed is ["#_minval" - "#_maxval"]\n", val);\
96 return -EINVAL;\
109 return -EINVAL;\
[all …]
/linux/Documentation/devicetree/bindings/pci/
H A Dsnps,dw-pcie.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jingoo Han <jingoohan1@gmail.com>
11 - Gustavo Pimentel <gustavo.pimentel@synopsys.com>
16 # Please create a separate DT-schema for your DWC PCIe Root Port controller
17 # and make sure it's assigned with the vendor-specific compatible string.
21 const: snps,dw-pcie
23 - compatible
[all …]

123