| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/ |
| D | gpio-dsp-keystone.txt | 1 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/ |
| D | da8xx_remoteproc.c | 1 // 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 …]
|
| D | keystone_remoteproc.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/sound/soc/intel/skylake/ |
| D | skl-sst-dsp.c | 1 // 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 …]
|
| D | cnl-sst.c | 1 // 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 …]
|
| D | skl-sst-dsp.h | 1 /* 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 …]
|
| D | cnl-sst-dsp.c | 1 // 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 …]
|
| D | cnl-sst-dsp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Cannonlake SST DSP Support 5 * Copyright (C) 2016-17, Intel Corporation. 15 /* Intel HD Audio General DSP Registers */ 21 /* Intel HD Audio Inter-Processor Communication Registers */ 67 #define CNL_DSP_CORES_MASK ((1 << CNL_DSP_CORES) - 1) 69 /* core reset - asserted high */ 73 /* core run/stall - when set to 1 core is stalled */ 77 /* set power active - when set to 1 turn core on */ 81 /* current power active - power status of cores, set by hardware */ [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | wm_adsp.h | 1 /* 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 …]
|
| D | wm0010.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm0010.c -- WM0010 DSP Driver 114 int irq; member 156 /* Called with wm0010->lock held */ 164 spin_lock_irqsave(&wm0010->irq_lock, flags); in wm0010_halt() 165 state = wm0010->state; in wm0010_halt() 166 spin_unlock_irqrestore(&wm0010->irq_lock, flags); in wm0010_halt() 177 gpio_set_value_cansleep(wm0010->gpio_reset, in wm0010_halt() 178 wm0010->gpio_reset_value); in wm0010_halt() 180 regulator_disable(wm0010->dbvdd); in wm0010_halt() [all …]
|
| /kernel/linux/linux-5.10/drivers/char/mwave/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/sound/drivers/vx/ |
| 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 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-5.10/sound/soc/intel/common/ |
| D | sst-dsp-priv.h | 1 /* 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
|
| D | sst-ipc.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/sound/soc/sof/intel/ |
| 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. 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 …]
|
| 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 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 …]
|
| D | bdw.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 12 * Hardware interface for audio DSP on Broadwell 20 #include "../sof-audio.h" 30 /* DSP memories for BDW */ 43 /* DSP peripherals */ 77 * DSP Control. 87 /* set DSP to RUN */ in bdw_run() 97 /* put DSP into reset and stall */ in bdw_reset() 105 /* take DSP out of reset and keep stalled for FW loading */ in bdw_reset() 132 while (tries--) { in bdw_set_dsp_D0() [all …]
|
| 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 25 #include <sound/intel-nhlt.h> 28 #include "../sof-audio.h" 33 #include <sound/soc-acpi-intel-match.h> 46 * and do a Bus Reset, this will need to be modified when the DSP 58 struct snd_soc_dai *d = params_data->dai; in sdw_params_stream() 61 int link_id = params_data->link_id; in sdw_params_stream() 62 int alh_stream_id = params_data->alh_stream_id; in sdw_params_stream() 70 config.dai_index = (link_id << 8) | (d->id); in sdw_params_stream() [all …]
|
| D | cnl.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 15 * Hardware interface for audio DSP on Cannonlake. 20 #include "hda-ipc.h" 21 #include "../sof-audio.h" 26 {"dsp", HDA_DSP_BAR, 0, 0x10000, SOF_DEBUGFS_ACCESS_ALWAYS}, 32 irqreturn_t cnl_ipc_irq_thread(int irq, void *context) in cnl_ipc_irq_thread() argument 48 /* reply message from DSP */ in cnl_ipc_irq_thread() 53 dev_vdbg(sdev->dev, in cnl_ipc_irq_thread() 62 spin_lock_irq(&sdev->ipc_lock); in cnl_ipc_irq_thread() 64 /* handle immediate reply from DSP core */ in cnl_ipc_irq_thread() [all …]
|
| /kernel/linux/linux-5.10/sound/isa/ |
| 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"); 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-5.10/Documentation/devicetree/bindings/pinctrl/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/soundwire/ |
| D | sdw_intel.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 12 * the @params_stream callback, e.g. for interaction with DSP 25 * the @free_stream callback, e.g. for interaction with DSP 46 * struct sdw_intel_acpi_info - Soundwire Intel information found in ACPI tables 48 * @count: link count found with "sdw-master-count" property 49 * @link_mask: bit-wise mask listing links enabled by BIOS menu 63 /* Intel clock-stop/pm_runtime quirk definitions */ 74 * reset and re-enumeration will be performed when the bus 76 * in-band wakes. [all …]
|
| /kernel/linux/linux-5.10/sound/isa/msnd/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/ |
| D | ti,keystone-irq.txt | 1 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 …]
|