Home
last modified time | relevance | path

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

12345678910

/linux/Documentation/devicetree/bindings/gpio/
H A Dti,keystone-dsp-gpio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/ti,keystone-dsp-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Keystone 2 DSP GPIO controller
10 - Grygorii Strashko <grygorii.strashko@ti.com>
13 HOST OS userland running on ARM can send interrupts to DSP cores using
14 the DSP GPIO controller IP. It provides 28 IRQ signals per each DSP core.
17 For example TCI6638K2K SoC has 8 DSP GPIO controllers:
18 - 8 for C66x CorePacx CPUs 0-7
[all …]
/linux/sound/soc/codecs/
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>
42 int (*control_add)(struct wm_adsp *dsp, struct cs_dsp_coeff_ctl *cs_ctl);
43 int (*pre_run)(struct wm_adsp *dsp);
84 int wm_adsp1_init(struct wm_adsp *dsp);
[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 -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 Dcs35l56.c1 // SPDX-License-Identifier: GPL-2.0-only
27 #include <sound/cs-amp-lib.h>
31 #include <sound/soc-dapm.h>
43 flush_work(&cs35l56->dsp_work); in cs35l56_wait_dsp_ready()
66 static DECLARE_TLV_DB_SCALE(vol_tlv, -10000, 25, 0);
181 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l56_play_event()
186 dev_dbg(cs35l56->base.dev, "play: %d\n", event); in cs35l56_play_event()
191 return regmap_write(cs35l56->base.regmap, CS35L56_DSP_VIRTUAL1_MBOX_1, in cs35l56_play_event()
195 ret = regmap_read_poll_timeout(cs35l56->base.regmap, in cs35l56_play_event()
196 cs35l56->base.fw_reg->transducer_actual_ps, in cs35l56_play_event()
[all …]
H A Dwm_adsp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm_adsp.c -- Wolfson ADSP support
37 dev_crit(_dsp->cs_dsp.dev, "%s: " fmt, _dsp->cs_dsp.name, ##__VA_ARGS__)
39 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
1139 wm_adsp2_component_remove(struct wm_adsp * dsp,struct snd_soc_component * component) wm_adsp2_component_remove() argument
1147 wm_adsp2_init(struct wm_adsp * dsp) wm_adsp2_init() argument
1164 wm_halo_init(struct wm_adsp * dsp) wm_halo_init() argument
1181 wm_adsp2_remove(struct wm_adsp * dsp) wm_adsp2_remove() argument
1230 wm_adsp_compr_open(struct wm_adsp * dsp,struct snd_compr_stream * stream) wm_adsp_compr_open() argument
1286 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_free() local
1306 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
2054 wm_adsp2_bus_error(int irq,void * data) wm_adsp2_bus_error() argument
2056 struct wm_adsp *dsp = (struct wm_adsp *)data; wm_adsp2_bus_error() local
2064 wm_halo_bus_error(int irq,void * data) wm_halo_bus_error() argument
2066 struct wm_adsp *dsp = (struct wm_adsp *)data; wm_halo_bus_error() local
2074 wm_halo_wdt_expire(int irq,void * data) wm_halo_wdt_expire() argument
2076 struct wm_adsp *dsp = data; wm_halo_wdt_expire() local
[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->dap in cs35l41_dsp_preload_ev()
383 cs35l41_irq(int irq,void * data) cs35l41_irq() argument
1083 struct wm_adsp *dsp; cs35l41_dsp_init() local
[all...]
H A Dwm0010.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm0010.c -- WM0010 DSP Driver
113 int irq; member
147 /* Called with wm0010->lock held */
155 spin_lock_irqsave(&wm0010->irq_lock, flags); in wm0010_halt()
156 state = wm0010->state; in wm0010_halt()
157 spin_unlock_irqrestore(&wm0010->irq_lock, flags); in wm0010_halt()
168 gpiod_set_value_cansleep(wm0010->reset, 1); in wm0010_halt()
170 regulator_disable(wm0010->dbvdd); in wm0010_halt()
171 regulator_bulk_disable(ARRAY_SIZE(wm0010->core_supplies), in wm0010_halt()
[all …]
/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
55 dev_dbg(chip->card->dev, in snd_vx_check_reg_bit()
58 return -EI in snd_vx_check_reg_bit()
498 snd_vx_threaded_irq_handler(int irq,void * dev) snd_vx_threaded_irq_handler() argument
540 snd_vx_irq_handler(int irq,void * dev) snd_vx_irq_handler() argument
673 snd_vx_dsp_load(struct vx_core * chip,const struct firmware * dsp) snd_vx_dsp_load() argument
[all...]
/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 …]
H A D3780i.h3 * 3780i.h -- declarations for 3780i.c
23 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
42 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
45 * 10/23/2000 - Alpha Release
54 /* DSP I/O port offsets and definitions */
62 #define DSP_MsaDataDSISHigh 0x0008 /* MSA data register: d-store word or high byte of i-stor…
63 #define DSP_MsaDataISLow 0x000A /* MSA data register: low word of i-store */
76 unsigned short EnableDspInt:1; /* RW: Enable DSP to X86 ISA interrupt 0=mask it, 1=enable it */
84 /* DSP register indexes used with the configuration register address (index) register */
96 unsigned char IrqActiveLow:1; /* RW: IRQ active high or low: 0=high, 1=low */
[all …]
/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
32 * tell DSP cmd is done - clear busy in hda_dsp_ipc_host_done()
33 * interrupt and send reply msg to dsp in hda_dsp_ipc_host_done()
50 * set DONE bit - tell DSP we have received the reply msg in hda_dsp_ipc_dsp_done()
51 * from DSP, and processed it, don't send more reply to host in hda_dsp_ipc_dsp_done()
67 /* send IPC message to DSP */ in hda_dsp_ipc_send_msg()
68 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in hda_dsp_ipc_send_msg()
69 msg->msg_size); in hda_dsp_ipc_send_msg()
93 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
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 …]
H A Dhda.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
15 * Hardware interface for generic Intel audio DSP HDA IP
26 #include <sound/intel-dsp-confi
308 hda_dsp_sdw_thread(int irq,void * context) hda_dsp_sdw_thread() argument
400 hda_dsp_sdw_thread(int irq,void * context) hda_dsp_sdw_thread() argument
676 hda_dsp_interrupt_handler(int irq,void * context) hda_dsp_interrupt_handler() argument
699 hda_dsp_interrupt_thread(int irq,void * context) hda_dsp_interrupt_thread() argument
[all...]
H A Dbyt.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
12 * Hardware interface for audio DSP on Baytrail, Braswell and Cherrytrail.
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"
80 /* Put DSP into reset, set reset vector */ in byt_reset_dsp_disable_int()
110 struct snd_sof_pdata *pdata = sdev->pdata; in byt_acpi_probe()
[all …]
/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 …]
/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 …]
/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 * -
152 snd_msnd_interrupt(int irq,void * dev_id) snd_msnd_interrupt() argument
638 snd_msnd_write_cfg_irq(struct snd_msnd * chip,int cfg,int num,u16 irq) snd_msnd_write_cfg_irq() argument
678 snd_msnd_write_cfg_logical(struct snd_msnd * chip,int cfg,int num,u16 io0,u16 io1,u16 irq,int mem) snd_msnd_write_cfg_logical() argument
718 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; global() variable
[all...]
/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 …]
/linux/arch/arm/mach-omap1/
H A Dpm.c2 * linux/arch/arm/mach-omap1/pm.c
51 #include <asm/irq.h>
53 #include <asm/mach/irq.h>
55 #include <linux/soc/ti/omap1-io.h>
57 #include <linux/omap-dma.h>
58 #include <clocksource/timer-ti-dm.h>
91 return -EINVAL; in idle_store()
163 * Turn off all interrupts except GPIO bank 1, L1-2nd level cascade, in omap_pm_wakeup_setup()
191 /* New IRQ agreement, recalculate in cascade order */ in omap_pm_wakeup_setup()
263 /* (Step 3 removed - we now allow deep sleep by default) */ in omap1_pm_suspend()
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dti,keystone-irq.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/ti,keystone-irq.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Keystone 2 IRQ controller IP
10 - Grygorii Strashko <grygorii.strashko@ti.com>
13 On Keystone SOCs, DSP cores can send interrupts to ARM host using the IRQ
14 controller IP. It provides 28 IRQ signals to ARM. The IRQ handler running on
15 HOST OS can identify DSP signal source by analyzing SRCCx bits in IPCARx
21 const: ti,keystone-irq
[all …]
/linux/arch/arc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
90 source "arch/arc/plat-tb10x/Kconfig"
91 source "arch/arc/plat-axs10x/Kconfig"
92 source "arch/arc/plat-hsdk/Kconfig"
110 ISA for the Next Generation ARC-HS cores
128 -MMU-v3: Variable Page Sz (4k, 8k, 16k), bigger J-TLB (128x4)
130 -Caches: New Prog Model, Region Flush
131 -Insns: endian swap, load-locked/store-conditional, time-stamp-ctr
134 bool "ARC-HS"
[all …]
/linux/drivers/remoteproc/
H A Domap_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2011-2020 Texas Instruments Incorporated - http://www.ti.com/
8 * Ohad Ben-Cohen <ohad@wizery.com>
12 * Suman Anna <s-anna@ti.com>
13 * Hari Kanigeri <h-kanigeri2@ti.com>
27 #include <linux/dma-mapping.h>
31 #include <linux/omap-iommu.h>
32 #include <linux/omap-mailbox.h>
36 #include <clocksource/timer-ti-dm.h>
38 #include <linux/platform_data/dmtimer-omap.h>
[all …]
/linux/sound/soc/sof/amd/
H A Dacp.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
16 #include "../sof-priv.h"
17 #include "../sof-audio.h"
150 /* Scratch memory structure for communication b/w host and dsp */
164 /* DSP msg flag */
166 /* Dsp ack flag */
267 /* acp70_sdw0_wake_event flag set to true when wake irq asserted for SW0 instance */
269 /* acp70_sdw1_wake_event flag set to true when wake irq asserted for SW1 instance */
288 /* DSP Loader callbacks */
301 irqreturn_t acp_sof_ipc_irq_thread(int irq, void *context);
[all …]

12345678910