/linux/Documentation/devicetree/bindings/gpio/ |
H A D | ti,keystone-dsp-gpio.yaml | 1 # 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 D | wm_adsp.h | 1 /* 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); 85 int wm_adsp2_init(struct wm_adsp *dsp); 86 void wm_adsp2_remove(struct wm_adsp *dsp); 87 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component); 88 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component); [all …]
|
H A 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 …]
|
H A D | cs35l56.c | 1 // 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->dap in cs35l56_play_event() 1197 cs35l56_control_add_nop(struct wm_adsp * dsp,struct cs_dsp_coeff_ctl * cs_ctl) cs35l56_control_add_nop() argument 1204 struct wm_adsp *dsp; cs35l56_dsp_init() local [all...] |
H A D | wm_adsp.c | 1 // 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_dsp.name, ##__VA_ARGS__) 41 dev_warn(_dsp->cs_dsp.dev, "%s: " fmt, _dsp->cs_dsp.name, ##__VA_ARGS__) 43 dev_info(_dsp->cs_dsp.dev, "%s: " fmt, _dsp->cs_dsp.name, ##__VA_ARGS__) 45 dev_dbg(_dsp->cs_dsp.dev, "%s: " fmt, _dsp->cs_dsp.name, ##__VA_ARGS__) 48 adsp_err(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \ 51 adsp_dbg(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \ 129 __be32 buf1_size; /* Size of buf1 area in DSP words */ [all …]
|
H A D | cs35l41.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // cs35l41.c -- CS35l41 ALSA SoC audio driver 5 // Copyright 2017-2021 Cirrus Logic, Inc. 22 #include <sound/soc-dapm.h> 164 return -EINVAL; in cs35l41_get_fs_mon_config_index() 169 1, 913, TLV_DB_MINMAX_ITEM(-10200, 1200)); 186 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l41_dsp_preload_ev() 192 if (cs35l41->dsp.cs_dsp.booted) in cs35l41_dsp_preload_ev() 197 if (cs35l41->dsp.preloaded) in cs35l41_dsp_preload_ev() 200 if (cs35l41->dsp.cs_dsp.running) { in cs35l41_dsp_preload_ev() [all …]
|
H A D | wm0010.c | 1 // 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 D | vx_core.c | 1 // 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 -EIO; in snd_vx_check_reg_bit() 64 * vx_send_irq_dsp - set command irq bit 65 * @num: the requested IRQ type, IRQ_XXX 67 * this triggers the specified IRQ request 77 return -EIO; in vx_send_irq_dsp() 88 * vx_reset_chk - reset CHK bit on ISR [all …]
|
/linux/drivers/char/mwave/ |
H A D | README | 2 -------------- 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 D | 3780i.h | 3 * 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 D | hda-ipc.c | 1 // 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 D | bdw.c | 1 // 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 D | cnl.c | 1 // 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 D | atom.c | 1 // 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 D | hda.c | 1 // 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-config.h> 27 #include <sound/intel-nhlt.h> 28 #include <sound/soc-acpi-intel-ssp-common.h> 31 #include <sound/hda-mlink.h> 32 #include "../sof-audio.h" 33 #include "../sof-pci-dev.h" 35 #include "../ipc4-topology.h" 41 #include <sound/soc-acpi-intel-match.h> [all …]
|
H A D | byt.c | 1 // 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 D | sc6000.c | 1 // 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 D | cirrus,lochnagar.yaml | 1 # 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 D | msnd_pinnacle.c | 1 // 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 …]
|
/linux/Documentation/devicetree/bindings/dsp/ |
H A D | mediatek,mt8195-dsp.yaml | 1 # 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 D | pm.c | 2 * 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 D | ti,keystone-irq.yaml | 1 # 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 D | Kconfig | 1 # 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 D | omap_remoteproc.c | 1 // 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 D | acp.h | 1 /* 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 …]
|