| /kernel/linux/linux-6.6/arch/mips/ar7/ |
| D | clock.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #include <linux/clk-provider.h> 21 #include <asm/mach-ar7/ar7.h> 46 u32 ctrl; member 65 struct tnetd7300_clock dsp; member 69 u32 ctrl; member 85 struct tnetd7200_clock dsp; member 107 freq = abs(base / j * i / k - target); in approximate() 166 u32 ctrl = readl(&clock->ctrl); in tnetd7300_get_clock() local 167 u32 pll = readl(&clock->pll); in tnetd7300_get_clock() [all …]
|
| /kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
| D | dsp_hwec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * builtin mISDN dsp pipeline element for enabling the hw echocanceller 16 #include "dsp.h" 34 void dsp_hwec_enable(struct dsp *dsp, const char *arg) in dsp_hwec_enable() argument 40 if (!dsp) { in dsp_hwec_enable() 41 printk(KERN_ERR "%s: failed to enable hwec: dsp is NULL\n", in dsp_hwec_enable() 85 if (!dsp->ch.peer->ctrl(&dsp->ch, CONTROL_CHANNEL, &cq)) { in dsp_hwec_enable() 92 void dsp_hwec_disable(struct dsp *dsp) in dsp_hwec_disable() argument 96 if (!dsp) { in dsp_hwec_disable() 97 printk(KERN_ERR "%s: failed to disable hwec: dsp is NULL\n", in dsp_hwec_disable() [all …]
|
| D | dsp_core.c | 12 * Real-time tone generation 14 * Real-time cross-connection and conferrence 23 * The dsp module provides layer 2 for b-channels (64kbit). It provides 26 * - (1) generation of tones 27 * - (2) detection of dtmf tones 28 * - (3) crossconnecting and conferences (clocking) 29 * - (4) echo generation for delay test 30 * - (5) volume control 31 * - (6) disable receive data 32 * - (7) pipeline [all …]
|
| /kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
| D | dsp_hwec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * builtin mISDN dsp pipeline element for enabling the hw echocanceller 16 #include "dsp.h" 34 void dsp_hwec_enable(struct dsp *dsp, const char *arg) in dsp_hwec_enable() argument 40 if (!dsp) { in dsp_hwec_enable() 41 printk(KERN_ERR "%s: failed to enable hwec: dsp is NULL\n", in dsp_hwec_enable() 85 if (!dsp->ch.peer->ctrl(&dsp->ch, CONTROL_CHANNEL, &cq)) { in dsp_hwec_enable() 92 void dsp_hwec_disable(struct dsp *dsp) in dsp_hwec_disable() argument 96 if (!dsp) { in dsp_hwec_disable() 97 printk(KERN_ERR "%s: failed to disable hwec: dsp is NULL\n", in dsp_hwec_disable() [all …]
|
| D | dsp_core.c | 12 * Real-time tone generation 14 * Real-time cross-connection and conferrence 23 * The dsp module provides layer 2 for b-channels (64kbit). It provides 26 * - (1) generation of tones 27 * - (2) detection of dtmf tones 28 * - (3) crossconnecting and conferences (clocking) 29 * - (4) echo generation for delay test 30 * - (5) volume control 31 * - (6) disable receive data 32 * - (7) pipeline [all …]
|
| /kernel/linux/linux-5.10/arch/mips/ar7/ |
| D | clock.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include <asm/mach-ar7/ar7.h> 44 u32 ctrl; member 63 struct tnetd7300_clock dsp; member 67 u32 ctrl; member 83 struct tnetd7200_clock dsp; member 105 freq = abs(base / j * i / k - target); in approximate() 164 u32 ctrl = readl(&clock->ctrl); in tnetd7300_get_clock() local 165 u32 pll = readl(&clock->pll); in tnetd7300_get_clock() 166 int prediv = ((ctrl & PREDIV_MASK) >> PREDIV_SHIFT) + 1; in tnetd7300_get_clock() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/dsp/ |
| D | fsl,dsp.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | adau1373.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 24 #include "adau-utils.h" 323 0, 7, TLV_DB_SCALE_ITEM(-7900, 400, 1), 324 8, 15, TLV_DB_SCALE_ITEM(-4700, 300, 0), 325 16, 23, TLV_DB_SCALE_ITEM(-2300, 200, 0), 326 24, 31, TLV_DB_SCALE_ITEM(-700, 100, 0) 329 static const DECLARE_TLV_DB_MINMAX(adau1373_digital_tlv, -9563, 0); 330 static const DECLARE_TLV_DB_SCALE(adau1373_in_pga_tlv, -1300, 100, 1); 331 static const DECLARE_TLV_DB_SCALE(adau1373_ep_tlv, -600, 600, 1); [all …]
|
| D | sigmadsp.c | 1 // 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 …]
|
| D | cs35l45.c | 1 // 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 -EPERM; in cs35l45_set_cspl_mbox_cmd() 62 dev_err(cs35l45->dev, "Failed to write MBOX: %d\n", ret); in cs35l45_set_cspl_mbox_cmd() 72 dev_err(cs35l45->dev, "Failed to read MBOX STS: %d\n", ret); in cs35l45_set_cspl_mbox_cmd() 77 dev_dbg(cs35l45->dev, "[%u] cmd %u returned invalid sts %u", i, cmd, sts); in cs35l45_set_cspl_mbox_cmd() 83 dev_err(cs35l45->dev, "Failed to set mailbox cmd %u (status %u)\n", cmd, sts); in cs35l45_set_cspl_mbox_cmd() [all …]
|
| D | wm2200.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm2200.c -- WM2200 ALSA SoC Audio driver 76 struct wm_adsp dsp[2]; member 161 { 0x000B, 0x0000 }, /* R11 - Tone Generator 1 */ 162 { 0x0102, 0x0000 }, /* R258 - Clocking 3 */ 163 { 0x0103, 0x0011 }, /* R259 - Clocking 4 */ 164 { 0x0111, 0x0000 }, /* R273 - FLL Control 1 */ 165 { 0x0112, 0x0000 }, /* R274 - FLL Control 2 */ 166 { 0x0113, 0x0000 }, /* R275 - FLL Control 3 */ 167 { 0x0114, 0x0000 }, /* R276 - FLL Control 4 */ [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | adau1373.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 25 #include "adau-utils.h" 324 0, 7, TLV_DB_SCALE_ITEM(-7900, 400, 1), 325 8, 15, TLV_DB_SCALE_ITEM(-4700, 300, 0), 326 16, 23, TLV_DB_SCALE_ITEM(-2300, 200, 0), 327 24, 31, TLV_DB_SCALE_ITEM(-700, 100, 0) 330 static const DECLARE_TLV_DB_MINMAX(adau1373_digital_tlv, -9563, 0); 331 static const DECLARE_TLV_DB_SCALE(adau1373_in_pga_tlv, -1300, 100, 1); 332 static const DECLARE_TLV_DB_SCALE(adau1373_ep_tlv, -600, 600, 1); [all …]
|
| D | sigmadsp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2009-2014 Analog Devices Inc. 95 return sigmadsp->write(sigmadsp->control_data, addr, data, len); in sigmadsp_write() 101 return sigmadsp->read(sigmadsp->control_data, addr, data, len); in sigmadsp_read() 107 struct sigmadsp_control *ctrl = (void *)kcontrol->private_value; in sigmadsp_ctrl_info() local 109 info->type = SNDRV_CTL_ELEM_TYPE_BYTES; in sigmadsp_ctrl_info() 110 info->count = ctrl->num_bytes; in sigmadsp_ctrl_info() 116 struct sigmadsp_control *ctrl, void *data) in sigmadsp_ctrl_write() argument 119 if (ctrl->num_bytes <= 20 && sigmadsp->ops && sigmadsp->ops->safeload) in sigmadsp_ctrl_write() 120 return sigmadsp->ops->safeload(sigmadsp, ctrl->addr, data, in sigmadsp_ctrl_write() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/remoteproc/ |
| D | ti,k3-dsp-rproc.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/remoteproc/ |
| D | ti,k3-dsp-rproc.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/sound/soc/sof/imx/ |
| D | imx8m.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 7 // Hardware interface for audio DSP on i.MX8M 20 #include <linux/firmware/imx/dsp.h> 23 #include "../sof-of-dev.h" 24 #include "imx-common.h" 41 /* DSP audio mix registers */ 53 /* DSP IPC handler */ 78 spin_lock_irqsave(&priv->sdev->ipc_lock, flags); in imx8m_dsp_handle_reply() 79 snd_sof_ipc_process_reply(priv->sdev, 0); in imx8m_dsp_handle_reply() 80 spin_unlock_irqrestore(&priv->sdev->ipc_lock, flags); in imx8m_dsp_handle_reply() [all …]
|
| D | imx8ulp.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 // Copyright 2021-2022 NXP 7 // Hardware interface for audio DSP on i.MX8ULP 9 #include <linux/arm-smccc.h> 12 #include <linux/firmware/imx/dsp.h> 26 #include "../sof-of-dev.h" 27 #include "imx-common.h" 54 /* DSP IPC handler */ 64 /* Controls the HiFi4 DSP Reset: 1 in reset, 0 out of reset */ in imx8ulp_sim_lpav_start() 65 regmap_update_bits(priv->regmap, SYSCTRL0, RESET_BIT, 0); in imx8ulp_sim_lpav_start() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/radio/ |
| D | saa7706h.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/radio/ |
| D | saa7706h.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | cirrus,cs35l45.yaml | 1 # 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 28 '#sound-dai-cells': 31 reset-gpios: [all …]
|
| /kernel/linux/linux-5.10/sound/soc/sof/ |
| D | ipc.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 17 #include "sof-priv.h" 18 #include "sof-audio.h" 209 struct snd_sof_dev *sdev = ipc->sdev; in tx_wait_done() 210 struct sof_ipc_cmd_hdr *hdr = msg->msg_data; in tx_wait_done() 213 /* wait for DSP IPC completion */ in tx_wait_done() 214 ret = wait_event_timeout(msg->waitq, msg->ipc_complete, in tx_wait_done() 215 msecs_to_jiffies(sdev->ipc_timeout)); in tx_wait_done() 218 dev_err(sdev->dev, "error: ipc timed out for 0x%x size %d\n", in tx_wait_done() 219 hdr->cmd, hdr->size); in tx_wait_done() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/sof/intel/ |
| D | Makefile | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 snd-sof-intel-byt-objs := byt.o 4 snd-sof-intel-bdw-objs := bdw.o 6 snd-sof-intel-ipc-objs := intel-ipc.o 8 snd-sof-intel-hda-common-objs := hda.o hda-loader.o hda-stream.o hda-trace.o \ 9 hda-dsp.o hda-ipc.o hda-ctrl.o hda-pcm.o \ 10 hda-dai.o hda-bus.o \ 12 snd-sof-intel-hda-common-$(CONFIG_SND_SOC_SOF_HDA_PROBES) += hda-compress.o 14 snd-sof-intel-hda-objs := hda-codec.o 16 obj-$(CONFIG_SND_SOC_SOF_INTEL_ATOM_HIFI_EP) += snd-sof-intel-byt.o [all …]
|
| /kernel/linux/linux-6.6/sound/soc/mediatek/common/ |
| D | mtk-dsp-sof-common.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mtk-dsp-sof-common.c -- MediaTek dsp sof common ctrl 9 #include "mtk-dsp-sof-common.h" 10 #include "mtk-soc-card.h" 16 struct snd_soc_card *card = rtd->card; in mtk_sof_dai_link_fixup() 18 struct mtk_sof_priv *sof_priv = soc_card_data->sof_priv; in mtk_sof_dai_link_fixup() 21 for (i = 0; i < sof_priv->num_streams; i++) { in mtk_sof_dai_link_fixup() 25 const struct sof_conn_stream *conn = &sof_priv->conn_streams[i]; in mtk_sof_dai_link_fixup() 27 if (conn->normal_link && strcmp(rtd->dai_link->name, conn->normal_link)) in mtk_sof_dai_link_fixup() 31 if (strcmp(runtime->dai_link->name, conn->sof_link)) in mtk_sof_dai_link_fixup() [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/media/ |
| D | si470x.rst | 1 .. 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 …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
| D | si470x.rst | 1 .. 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 …]
|