Home
last modified time | relevance | path

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

12345678910>>...13

/openbmc/linux/Documentation/devicetree/bindings/gpio/
H A 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 …]
/openbmc/linux/drivers/remoteproc/
H A 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 …]
H A Dkeystone_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TI Keystone DSP remoteproc driver
5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/
25 #define KEYSTONE_RPROC_LOCAL_ADDRESS_MASK (SZ_16M - 1)
28 * struct keystone_rproc_mem - internal memory structure
31 * @dev_addr: Device address of the memory region from DSP view
42 * struct keystone_rproc - keystone remote processor driver structure
50 * @irq_ring: irq entry for vring
51 * @irq_fault: irq entry for exception
69 /* Put the DSP processor into reset */
[all …]
/openbmc/linux/sound/soc/intel/skylake/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dcnl-sst-dsp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cnl-sst-dsp.c - CNL SST library generic function
5 * Copyright (C) 2016-17, Intel Corporation.
10 * Copyright (C) 2014-15, Intel Corporation.
16 #include "../common/sst-dsp.h"
17 #include "../common/sst-ipc.h"
18 #include "../common/sst-dsp-priv.h"
19 #include "cnl-sst-dsp.h"
71 dev_dbg(ctx->dev, "DSP core(s) enabled? %d: core_mask %#x\n", in is_cnl_dsp_core_enable()
103 dev_err(ctx->dev, "DSP core mask %#x enable failed\n", in cnl_dsp_start_core()
[all …]
/openbmc/linux/drivers/char/mwave/
H A 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 …]
/openbmc/linux/sound/drivers/vx/
H A 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 …]
/openbmc/linux/sound/soc/codecs/
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 -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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Dcs35l41.c1 // SPDX-License-Identifier: GPL-2.0
3 // cs35l41.c -- CS35l41 ALSA SoC audio driver
5 // Copyright 2017-2021 Cirrus Logic, Inc.
23 #include <sound/soc-dapm.h>
165 return -EINVAL; in cs35l41_get_fs_mon_config_index()
170 1, 913, TLV_DB_MINMAX_ITEM(-10200, 1200));
187 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l41_dsp_preload_ev()
193 if (cs35l41->dsp.cs_dsp.booted) in cs35l41_dsp_preload_ev()
198 if (cs35l41->dsp.preloaded) in cs35l41_dsp_preload_ev()
201 if (cs35l41->dsp.cs_dsp.running) { in cs35l41_dsp_preload_ev()
[all …]
/openbmc/linux/sound/soc/intel/common/
H A 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
H A Dsst-ipc.c1 // SPDX-License-Identifier: GPL-2.0-only
22 #include "sst-dsp.h"
23 #include "sst-dsp-priv.h"
24 #include "sst-ipc.h"
36 if (!list_empty(&ipc->empty_list)) { in msg_get_empty()
37 msg = list_first_entry(&ipc->empty_list, struct ipc_message, in msg_get_empty()
39 list_del(&msg->list); in msg_get_empty()
51 /* wait for DSP completion (in all cases atm inc pending) */ in tx_wait_done()
52 ret = wait_event_timeout(msg->waitq, msg->complete, in tx_wait_done()
55 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in tx_wait_done()
[all …]
/openbmc/linux/sound/isa/
H A 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 …]
/openbmc/linux/sound/soc/sof/intel/
H A 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 …]
H A Dbdw.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
12 * Hardware interface for audio DSP on Broadwell
18 #include <sound/soc-acpi.h>
19 #include <sound/soc-acpi-intel-match.h>
20 #include <sound/intel-dsp-config.h>
23 #include "../sof-acpi-dev.h"
24 #include "../sof-audio.h"
34 /* DSP memories for BDW */
47 /* DSP peripherals */
80 * DSP Control.
[all …]
H A Dcnl.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
15 * Hardware interface for audio DSP on Cannonlake.
21 #include "../ipc4-priv.h"
24 #include "hda-ipc.h"
25 #include "../sof-audio.h"
30 {"dsp", HDA_DSP_BAR, 0, 0x10000, SOF_DEBUGFS_ACCESS_ALWAYS},
36 irqreturn_t cnl_ipc4_irq_thread(int irq, void *context) in cnl_ipc4_irq_thread() argument
47 /* DSP received the message */ in cnl_ipc4_irq_thread()
58 /* Message from DSP (reply or notification) */ in cnl_ipc4_irq_thread()
66 if (likely(sdev->fw_state == SOF_FW_BOOT_COMPLETE)) { in cnl_ipc4_irq_thread()
[all …]
H A Datom.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
6 // Copyright(c) 2018-2021 Intel Corporation. All rights reserved.
12 * Hardware interface for audio DSP on Atom devices
18 #include <sound/soc-acpi.h>
19 #include <sound/soc-acpi-intel-match.h>
20 #include <sound/intel-dsp-config.h>
24 #include "../sof-acpi-dev.h"
25 #include "../sof-audio.h"
26 #include "../../intel/common/soc-intel-quirks.h"
40 u32 offset = sdev->dsp_oops_offset; in atom_get_registers()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dcirrus,lochnagar.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
15 Logic devices on mini-cards, as well as allowing connection of various
26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt
29 [3] include/dt-bindings/pinctrl/lochnagar.h
37 - cirrus,lochnagar-pinctrl
39 gpio-controller: true
41 '#gpio-cells':
[all …]
/openbmc/linux/sound/isa/msnd/
H A Dmsnd_pinnacle.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 * the following is a copy of the 2.4.18 OSS FREE file-heading comment:
21 * -- If MSND_CLASSIC is defined:
23 * -> driver for Turtle Beach Classic/Monterey/Tahiti
25 * -- Else
27 * -> driver for Turtle Beach Pinnacle/Fiji
29 * 12-3-2000 Modified IO port validation Steve Sycamore
44 #include <linux/irq.h>
62 # define DEV_NAME "msnd-classic"
66 # define DEV_NAME "msnd-pinnacle"
[all …]
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dti,keystone-irq.txt1 Keystone 2 IRQ controller IP
3 On Keystone SOCs, DSP cores can send interrupts to ARM
4 host using the IRQ controller IP. It provides 28 IRQ signals to ARM.
5 The IRQ handler running on HOST OS can identify DSP signal source by
10 - compatible: should be "ti,keystone-irq"
11 - ti,syscon-dev : phandle and offset pair. The phandle to syscon used to
14 - interrupt-controller : Identifies the node as an interrupt controller
15 - #interrupt-cells : Specifies the number of cells needed to encode interrupt
17 - interrupts: interrupt reference to primary interrupt controller
24 compatible = "ti,keystone-irq";
[all …]
/openbmc/linux/Documentation/devicetree/bindings/dsp/
H A Dmediatek,mt8195-dsp.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/dsp/mediatek,mt8195-dsp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek mt8195 DSP core
10 - YC Hung <yc.hung@mediatek.com>
13 Some boards from mt8195 contain a DSP core used for
14 advanced pre- and post- audio processing.
18 const: mediatek,mt8195-dsp
22 - description: Address and size of the DSP Cfg registers
[all …]

12345678910>>...13