Home
last modified time | relevance | path

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

12345678910>>...21

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dgpio-dsp-keystone.txt1 Keystone 2 DSP GPIO controller bindings
3 HOST OS userland running on ARM can send interrupts to DSP cores using
4 the DSP GPIO controller IP. It provides 28 IRQ signals per each DSP core.
7 For example TCI6638K2K SoC has 8 DSP GPIO controllers:
8 - 8 for C66x CorePacx CPUs 0-7
10 Keystone 2 DSP GPIO controller has specific features:
11 - each GPIO can be configured only as output pin;
12 - setting GPIO value to 1 causes IRQ generation on target DSP core;
13 - reading pin value returns 0 - if IRQ was handled or 1 - IRQ is still
17 - compatible: should be "ti,keystone-dsp-gpio"
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/
Dgpio-dsp-keystone.txt1 Keystone 2 DSP GPIO controller bindings
3 HOST OS userland running on ARM can send interrupts to DSP cores using
4 the DSP GPIO controller IP. It provides 28 IRQ signals per each DSP core.
7 For example TCI6638K2K SoC has 8 DSP GPIO controllers:
8 - 8 for C66x CorePacx CPUs 0-7
10 Keystone 2 DSP GPIO controller has specific features:
11 - each GPIO can be configured only as output pin;
12 - setting GPIO value to 1 causes IRQ generation on target DSP core;
13 - reading pin value returns 0 - if IRQ was handled or 1 - IRQ is still
17 - compatible: should be "ti,keystone-dsp-gpio"
[all …]
/kernel/linux/linux-5.10/drivers/remoteproc/
Dda8xx_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Remote processor machine-specific module for DA8XX
14 #include <linux/irq.h>
26 "Name of DSP firmware file in /lib/firmware (if not specified defaults to 'rproc-dsp-fw')");
29 * OMAP-L138 Technical References:
30 * http://www.ti.com/product/omap-l138
38 #define DA8XX_RPROC_LOCAL_ADDRESS_MASK (SZ_16M - 1)
41 * struct da8xx_rproc_mem - internal memory structure
44 * @dev_addr: Device address of the memory region from DSP view
55 * struct da8xx_rproc - da8xx remote processor instance state
[all …]
/kernel/linux/linux-6.6/drivers/remoteproc/
Dda8xx_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Remote processor machine-specific module for DA8XX
14 #include <linux/irq.h>
26 "Name of DSP firmware file in /lib/firmware (if not specified defaults to 'rproc-dsp-fw')");
29 * OMAP-L138 Technical References:
30 * http://www.ti.com/product/omap-l138
38 #define DA8XX_RPROC_LOCAL_ADDRESS_MASK (SZ_16M - 1)
41 * struct da8xx_rproc_mem - internal memory structure
44 * @dev_addr: Device address of the memory region from DSP view
55 * struct da8xx_rproc - da8xx remote processor instance state
[all …]
/kernel/linux/linux-6.6/sound/soc/intel/skylake/
Dskl-sst-dsp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * skl-sst-dsp.c - SKL SST library generic function
5 * Copyright (C) 2014-15, Intel Corporation.
12 #include "../common/sst-dsp.h"
13 #include "../common/sst-ipc.h"
14 #include "../common/sst-dsp-priv.h"
24 mutex_lock(&ctx->mutex); in skl_dsp_set_state_locked()
25 ctx->sst_state = state; in skl_dsp_set_state_locked()
26 mutex_unlock(&ctx->mutex); in skl_dsp_set_state_locked()
36 struct skl_dev *skl = ctx->thread_context; in skl_dsp_init_core_state()
[all …]
Dcnl-sst.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cnl-sst.c - DSP library functions for CNL platform
5 * Copyright (C) 2016-17, Intel Corporation.
10 * HDA DSP library functions for SKL platform
11 * Copyright (C) 2014-15, Intel Corporation.
23 #include "../common/sst-dsp.h"
24 #include "../common/sst-dsp-priv.h"
25 #include "../common/sst-ipc.h"
26 #include "cnl-sst-dsp.h"
51 stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, fwsize, &ctx->dmab); in cnl_prepare_fw()
[all …]
Dskl-sst-dsp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Skylake SST DSP Support
5 * Copyright (C) 2014-15, Intel Corporation.
15 #include "skl-sst-cldma.h"
22 /* Intel HD Audio General DSP Registers */
30 /* Intel HD Audio Inter-Processor Communication Registers */
79 /* Mask for a given core index, c = 0.. number of supported cores - 1 */
92 #define SKL_DSP_CORES_MASK(nc) GENMASK((nc - 1), 0)
94 /* ADSPCS - Audio DSP Control & Status */
97 * Core Reset - asserted high
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
Dskl-sst-dsp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * skl-sst-dsp.c - SKL SST library generic function
5 * Copyright (C) 2014-15, Intel Corporation.
12 #include "../common/sst-dsp.h"
13 #include "../common/sst-ipc.h"
14 #include "../common/sst-dsp-priv.h"
24 mutex_lock(&ctx->mutex); in skl_dsp_set_state_locked()
25 ctx->sst_state = state; in skl_dsp_set_state_locked()
26 mutex_unlock(&ctx->mutex); in skl_dsp_set_state_locked()
36 struct skl_dev *skl = ctx->thread_context; in skl_dsp_init_core_state()
[all …]
Dcnl-sst.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cnl-sst.c - DSP library functions for CNL platform
5 * Copyright (C) 2016-17, Intel Corporation.
10 * HDA DSP library functions for SKL platform
11 * Copyright (C) 2014-15, Intel Corporation.
23 #include "../common/sst-dsp.h"
24 #include "../common/sst-dsp-priv.h"
25 #include "../common/sst-ipc.h"
26 #include "cnl-sst-dsp.h"
51 stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, fwsize, &ctx->dmab); in cnl_prepare_fw()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dwm_adsp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * wm_adsp.h -- Wolfson ADSP support
14 #include <sound/soc-dapm.h>
114 bool (*validate_version)(struct wm_adsp *dsp, unsigned int version);
115 unsigned int (*parse_sizes)(struct wm_adsp *dsp,
119 int (*setup_algs)(struct wm_adsp *dsp);
123 void (*show_fw_status)(struct wm_adsp *dsp);
124 void (*stop_watchdog)(struct wm_adsp *dsp);
126 int (*enable_memory)(struct wm_adsp *dsp);
127 void (*disable_memory)(struct wm_adsp *dsp);
[all …]
/kernel/linux/linux-6.6/drivers/char/mwave/
DREADME2 --------------
14 MW_TRACE macro #defined (i.e. let ccflags-y := -DMW_TRACE
18 If the dsp irq has not been setup and stored in bios by the
20 irq used by the dsp to be configured.
23 If the dsp io range has not been setup and stored in bios by the
25 io range used by the dsp to be configured.
28 If the mwave's uart irq has not been setup and stored in bios by the
30 irq used by the mwave uart to be configured.
37 Example to enable the 3780i DSP using ttyS1 resources:
42 --------------------
[all …]
/kernel/linux/linux-5.10/drivers/char/mwave/
DREADME2 --------------
14 MW_TRACE macro #defined (i.e. let ccflags-y := -DMW_TRACE
18 If the dsp irq has not been setup and stored in bios by the
20 irq used by the dsp to be configured.
23 If the dsp io range has not been setup and stored in bios by the
25 io range used by the dsp to be configured.
28 If the mwave's uart irq has not been setup and stored in bios by the
30 irq used by the mwave uart to be configured.
37 Example to enable the 3780i DSP using ttyS1 resources:
42 --------------------
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dwm_adsp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * wm_adsp.h -- Wolfson ADSP support
17 #include <sound/soc-dapm.h>
40 int (*pre_run)(struct wm_adsp *dsp);
81 int wm_adsp1_init(struct wm_adsp *dsp);
82 int wm_adsp2_init(struct wm_adsp *dsp);
83 void wm_adsp2_remove(struct wm_adsp *dsp);
84 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component);
85 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component);
86 int wm_halo_init(struct wm_adsp *dsp);
[all …]
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 -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 …]
Dwm_adsp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm_adsp.c -- Wolfson ADSP support
35 dev_crit(_dsp->cs_dsp.dev, "%s: " fmt, _dsp->cs_dsp.name, ##__VA_ARGS__)
37 dev_err(_dsp->cs_dsp.dev, "%s: " fmt, _dsp->cs_dsp.name, ##__VA_ARGS__)
39 dev_warn(_dsp->cs_dsp.dev, "%s: " fmt, _dsp->cs_dsp.name, ##__VA_ARGS__)
41 dev_info(_dsp->cs_dsp.dev, "%s: " fmt, _dsp->cs_dsp.name, ##__VA_ARGS__)
43 dev_dbg(_dsp->cs_dsp.dev, "%s: " fmt, _dsp->cs_dsp.name, ##__VA_ARGS__)
46 adsp_err(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
49 adsp_dbg(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
127 __be32 buf1_size; /* Size of buf1 area in DSP words */
[all …]
Dcs35l56.c1 // SPDX-License-Identifier: GPL-2.0-only
27 #include <sound/soc-dapm.h>
39 flush_work(&cs35l56->dsp_work); in cs35l56_wait_dsp_ready()
73 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cs35l56->component); in cs35l56_sync_asp1_mixer_widgets_with_firmware()
74 const char *prefix = cs35l56->component->name_prefix; in cs35l56_sync_asp1_mixer_widgets_with_firmware()
82 if (cs35l56->asp1_mixer_widgets_initialized) in cs35l56_sync_asp1_mixer_widgets_with_firmware()
89 ret = pm_runtime_resume_and_get(cs35l56->base.dev); in cs35l56_sync_asp1_mixer_widgets_with_firmware()
96 ret = regmap_bulk_read(cs35l56->base.regmap, CS35L56_ASP1TX1_INPUT, in cs35l56_sync_asp1_mixer_widgets_with_firmware()
99 pm_runtime_mark_last_busy(cs35l56->base.dev); in cs35l56_sync_asp1_mixer_widgets_with_firmware()
100 pm_runtime_put_autosuspend(cs35l56->base.dev); in cs35l56_sync_asp1_mixer_widgets_with_firmware()
[all …]
/kernel/linux/linux-5.10/sound/drivers/vx/
Dvx_core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
31 * vx_check_reg_bit - wait for the specified bit is set/reset on a register
35 * @time: time-out of loop in msec
56 return -EIO; in snd_vx_check_reg_bit()
62 * vx_send_irq_dsp - set command irq bit
63 * @num: the requested IRQ type, IRQ_XXX
65 * this triggers the specified IRQ request
75 return -EIO; in vx_send_irq_dsp()
86 * vx_reset_chk - reset CHK bit on ISR
92 /* Reset irq CHK */ in vx_reset_chk()
[all …]
/kernel/linux/linux-6.6/sound/drivers/vx/
Dvx_core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
31 * vx_check_reg_bit - wait for the specified bit is set/reset on a register
35 * @time: time-out of loop in msec
56 return -EIO; in snd_vx_check_reg_bit()
62 * vx_send_irq_dsp - set command irq bit
63 * @num: the requested IRQ type, IRQ_XXX
65 * this triggers the specified IRQ request
75 return -EIO; in vx_send_irq_dsp()
86 * vx_reset_chk - reset CHK bit on ISR
92 /* Reset irq CHK */ in vx_reset_chk()
[all …]
/kernel/linux/linux-6.6/sound/soc/intel/common/
Dsst-dsp-priv.h1 /* SPDX-License-Identifier: GPL-2.0-only */
16 #include "../skylake/skl-sst-dsp.h"
19 * DSP Operations exported by platform Audio DSP driver.
26 /* IRQ handlers */
27 irqreturn_t (*irq_handler)(int irq, void *context);
35 * Audio DSP memory offsets and addresses.
47 * Audio DSP Mailbox configuration.
66 struct mutex mutex; /* DSP FW lock */
69 int irq; member
/kernel/linux/linux-5.10/sound/soc/intel/common/
Dsst-dsp-priv.h1 /* SPDX-License-Identifier: GPL-2.0-only */
16 #include "../skylake/skl-sst-dsp.h"
19 * DSP Operations exported by platform Audio DSP driver.
26 /* IRQ handlers */
27 irqreturn_t (*irq_handler)(int irq, void *context);
35 * Audio DSP memory offsets and addresses.
47 * Audio DSP Mailbox configuration.
66 struct mutex mutex; /* DSP FW lock */
69 int irq; member
/kernel/linux/linux-5.10/sound/soc/sof/intel/
Dbyt.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
12 * Hardware interface for audio DSP on Baytrail, Braswell and Cherrytrail.
20 #include "../sof-audio.h"
21 #include "../../intel/common/soc-intel-quirks.h"
23 /* DSP memories */
36 /* DSP peripherals */
98 u32 offset = sdev->dsp_oops_offset; in byt_get_registers()
106 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in byt_get_registers()
107 dev_err(sdev->dev, "invalid header size 0x%x. FW oops is bogus\n", in byt_get_registers()
108 xoops->arch_hdr.totalsize); in byt_get_registers()
[all …]
Dhda-ipc.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
15 * Hardware interface for generic Intel audio DSP HDA IP
24 * tell DSP cmd is done - clear busy in hda_dsp_ipc_host_done()
25 * interrupt and send reply msg to dsp in hda_dsp_ipc_host_done()
42 * set DONE bit - tell DSP we have received the reply msg in hda_dsp_ipc_dsp_done()
43 * from DSP, and processed it, don't send more reply to host in hda_dsp_ipc_dsp_done()
59 /* send IPC message to DSP */ in hda_dsp_ipc_send_msg()
60 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in hda_dsp_ipc_send_msg()
61 msg->msg_size); in hda_dsp_ipc_send_msg()
70 struct snd_sof_ipc_msg *msg = sdev->msg; in hda_dsp_ipc_get_reply()
[all …]
/kernel/linux/linux-5.10/sound/isa/
Dsc6000.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for Gallant SC-6000 soundcard. This card is also known as
4 * Audio Excel DSP 16 or Zoltrix AV302.
5 * These cards use CompuMedia ASC-9308 chip + AD1848 codec.
6 * SC-6600 and SC-7000 cards are also supported. They are based on
7 * CompuMedia ASC-9408 chip and CS4231 codec.
30 MODULE_DESCRIPTION("Gallant SC-6000");
32 MODULE_SUPPORTED_DEVICE("{{Gallant, SC-6000},"
33 "{AudioExcel, Audio Excel DSP 16},"
36 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
[all …]
/kernel/linux/linux-6.6/sound/isa/
Dsc6000.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for Gallant SC-6000 soundcard. This card is also known as
4 * Audio Excel DSP 16 or Zoltrix AV302.
5 * These cards use CompuMedia ASC-9308 chip + AD1848 codec.
6 * SC-6600 and SC-7000 cards are also supported. They are based on
7 * CompuMedia ASC-9408 chip and CS4231 codec.
30 MODULE_DESCRIPTION("Gallant SC-6000");
33 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
37 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5, 7, 9, 10, 11 */ variable
43 static bool joystick[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = false };
[all …]
/kernel/linux/linux-6.6/sound/soc/sof/intel/
Dhda-ipc.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
15 * Hardware interface for generic Intel audio DSP HDA IP
26 * tell DSP cmd is done - clear busy in hda_dsp_ipc_host_done()
27 * interrupt and send reply msg to dsp in hda_dsp_ipc_host_done()
44 * set DONE bit - tell DSP we have received the reply msg in hda_dsp_ipc_dsp_done()
45 * from DSP, and processed it, don't send more reply to host in hda_dsp_ipc_dsp_done()
61 /* send IPC message to DSP */ in hda_dsp_ipc_send_msg()
62 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in hda_dsp_ipc_send_msg()
63 msg->msg_size); in hda_dsp_ipc_send_msg()
86 struct sof_ipc4_msg *msg_data = msg->msg_data; in hda_dsp_ipc4_schedule_d0i3_work()
[all …]

12345678910>>...21