/openbmc/linux/drivers/remoteproc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 config REMOTEPROC 12 Support for remote processors (such as DSP coprocessors). These 17 config REMOTEPROC_CDEV 26 config IMX_REMOTEPROC 37 config IMX_DSP_REMOTEPROC 38 tristate "i.MX DSP remoteproc support" 43 Say y here to support iMX's DSP remote processors via the remote 48 config INGENIC_VPU_RPROC 54 This can be either built-in or a loadable module. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | tas5805m.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Daniel Beer <daniel.beer@igorinstitute.com> 13 The TAS5805M is a class D audio amplifier with a built-in DSP. 18 - ti,tas5805m 25 pvdd-supply: 29 pdn-gpios: 31 Power-down control GPIO (PDN pin in the datasheet). 33 ti,dsp-config-name: [all …]
|
/openbmc/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) 6 config ARC 56 config LOCKDEP_SUPPORT 59 config SCHED_OMIT_FRAME_POINTER 62 config GENERIC_CSUM 65 config ARCH_FLATMEM_ENABLE 68 config MMU 71 config NO_IOPORT_MAP 74 config GENERIC_CALIBRATE_DELAY [all …]
|
/openbmc/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 */ 43 static bool joystick[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = false }; 46 MODULE_PARM_DESC(index, "Index value for sc-6000 based soundcard."); [all …]
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | mcbsp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/mcbsp.c 18 #include <linux/omap-dma.h> 19 #include <linux/soc/ti/omap1-io.h> 20 #include <linux/platform_data/asoc-ti-mcbsp.h> 39 * are DSP public peripherals. in omap1_mcbsp_request() 50 * DSP external peripheral reset in omap1_mcbsp_request() 51 * FIXME: This should be moved to dsp code in omap1_mcbsp_request() 63 if (--dsp_use == 0) { in omap1_mcbsp_free() 100 .name = "rx", [all …]
|
/openbmc/linux/include/uapi/sound/ |
H A D | snd_sst_tokens.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * snd_sst_tokens.h - Intel SST tokens definition 149 * %SKL_TKN_STR_LIB_NAME: Specifies the library name 165 * %SKL_TKN_U32_PIPE_CONFIG_ID: Config id for the modules in the pipe 167 * config. This is used as index to fill 168 * up the pipe config and module config 177 * pipe config 180 * pipe config 197 * %SKL_TKN_MM_U32_CPS: DSP cycles per second 201 * %SKL_TKN_MM_U32_CPC: DSP cycles allocated per frame [all …]
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | atom.c | 1 // 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 …]
|
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 …]
|
/openbmc/linux/arch/sh/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 2 config SUPERH 81 <http://www.linux-sh.org/>. 83 config GENERIC_BUG 87 config GENERIC_HWEIGHT 90 config GENERIC_CALIBRATE_DELAY 93 config GENERIC_LOCKBREAK 97 config ARCH_SUSPEND_POSSIBLE 100 config ARCH_HIBERNATION_POSSIBLE 103 config SYS_SUPPORTS_APM_EMULATION [all …]
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 has an audio controller with a DSP and I2S or DMIC port, then 16 config SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES 20 soundcard's long card name in the control user space AP. An unfortunate 21 side effect is that this long name may also be used by the GUI, 23 This option prevents the long name from being modified, and the I/O 29 config SND_SOC_INTEL_HDA_DSP_COMMON 32 config SND_SOC_INTEL_SOF_MAXIM_COMMON 35 config SND_SOC_INTEL_SOF_REALTEK_COMMON 38 config SND_SOC_INTEL_SOF_CIRRUS_COMMON [all …]
|
/openbmc/linux/drivers/firmware/cirrus/ |
H A D | cs_dsp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs_dsp.c -- Cirrus Logic DSP firmware support 8 * Copyright (C) 2015-2021 Cirrus Logic, Inc. and 25 dev_err(_dsp->dev, "%s: " fmt, _dsp->name, ##__VA_ARGS__) 27 dev_warn(_dsp->dev, "%s: " fmt, _dsp->name, ##__VA_ARGS__) 29 dev_info(_dsp->dev, "%s: " fmt, _dsp->name, ##__VA_ARGS__) 31 dev_dbg(_dsp->dev, "%s: " fmt, _dsp->name, ##__VA_ARGS__) 68 #define ADSP1_WDMA_BUFFER_LENGTH_MASK 0x00FF /* DSP1_WDMA_BUFFER_LENGTH - [7:0] */ 69 #define ADSP1_WDMA_BUFFER_LENGTH_SHIFT 0 /* DSP1_WDMA_BUFFER_LENGTH - [7:0] */ 70 #define ADSP1_WDMA_BUFFER_LENGTH_WIDTH 8 /* DSP1_WDMA_BUFFER_LENGTH - [7:0] */ [all …]
|
/openbmc/qemu/hw/pci-bridge/ |
H A D | cxl_downstream.c | 8 * SPDX-License-Identifier: GPL-2.0-or-later 16 #include "hw/qdev-properties.h" 17 #include "hw/qdev-properties-system.h" 36 static void latch_registers(CXLDownstreamPort *dsp) in latch_registers() argument 38 uint32_t *reg_state = dsp->cxl_cstate.crb.cache_mem_registers; in latch_registers() 39 uint32_t *write_msk = dsp->cxl_cstate.crb.cache_mem_regs_write_mask; in latch_registers() 49 CXLDownstreamPort *dsp = CXL_DSP(dev); in cxl_dsp_dvsec_write_config() local 50 CXLComponentState *cxl_cstate = &dsp->cxl_cstate; in cxl_dsp_dvsec_write_config() 52 if (range_contains(&cxl_cstate->dvsecs[EXTENSIONS_PORT_DVSEC], addr)) { in cxl_dsp_dvsec_write_config() 53 uint8_t *reg = &dev->config[addr]; in cxl_dsp_dvsec_write_config() [all …]
|
/openbmc/linux/drivers/isdn/mISDN/ |
H A D | dsp_core.c | 12 * Real-time tone generation 14 * Real-time cross-connection and conferrence 23 * The dsp module provides layer 2 for b-channels (64kbit). It provides 26 * - (1) generation of tones 27 * - (2) detection of dtmf tones 28 * - (3) crossconnecting and conferences (clocking) 29 * - (4) echo generation for delay test 30 * - (5) volume control 31 * - (6) disable receive data 32 * - (7) pipeline [all …]
|
/openbmc/linux/sound/soc/sof/ |
H A D | ipc3-pcm.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 11 #include "ipc3-priv.h" 13 #include "sof-priv.h" 14 #include "sof-audio.h" 26 return -EINVAL; in sof_ipc3_pcm_hw_free() 28 if (!spcm->prepared[substream->stream]) in sof_ipc3_pcm_hw_free() 33 stream.comp_id = spcm->stream[substream->stream].comp_id; in sof_ipc3_pcm_hw_free() 35 /* send IPC to the DSP */ in sof_ipc3_pcm_hw_free() 36 return sof_ipc_tx_message_no_reply(sdev->ipc, &stream, sizeof(stream)); in sof_ipc3_pcm_hw_free() 46 struct sof_ipc_fw_version *v = &sdev->fw_ready.version; in sof_ipc3_pcm_hw_params() [all …]
|
H A D | sof-audio.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 22 #include "sof-priv.h" 24 #define SOF_AUDIO_PCM_DRV_NAME "sof-audio-component" 68 return volume_map[size - 1]; in mixer_to_ipc() 82 return i - 1; in ipc_to_mixer() 93 int dai_data; /* contains DAI-specific information */ 97 * struct sof_ipc_pcm_ops - IPC-specific PCM ops 102 * @pcm_setup: Function pointer for IPC-specific PCM set up that can be used for allocating 116 * @d0i3_supported_in_s0ix: Allow DSP D0I3 during S0iX 137 * struct sof_ipc_tplg_control_ops - IPC-specific ops for topology kcontrol IO [all …]
|
H A D | pcm.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 17 #include "sof-of-dev.h" 18 #include "sof-priv.h" 19 #include "sof-audio.h" 20 #include "sof-utils.h" 23 /* Create DMA buffer page table for DSP */ 31 int stream = substream->stream; in create_page_table() 35 return -EINVAL; in create_page_table() 37 return snd_sof_create_page_table(component->dev, dmab, in create_page_table() 38 spcm->stream[stream].page_table.area, size); in create_page_table() [all …]
|
H A D | ipc3-topology.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 12 #include "sof-priv.h" 13 #include "sof-audio.h" 14 #include "ipc3-priv.h" 35 const char *name; member 52 static enum sof_ipc_process_type find_process(const char *name) in find_process() argument 57 if (strcmp(name, sof_process[i].name) == 0) in find_process() 331 * sof_comp_alloc - allocate and initialize buffer for a new component 344 size_t ext_size = sizeof(swidget->uuid); in sof_comp_alloc() 346 /* only non-zero UUID is valid */ in sof_comp_alloc() [all …]
|
/openbmc/linux/Documentation/sound/soc/ |
H A D | dpcm.rst | 10 digital audio to I2S DAI0, I2S DAI1 or PDM DAI2. This is useful for on SoC DSP 15 graph representing the DSP internal audio paths and uses the mixer settings to 18 DPCM re-uses all the existing component codec, platform and DAI drivers without 22 Phone Audio System with SoC based DSP 23 ------------------------------------- 26 document for all examples :- 29 | Front End PCMs | SoC DSP | Back End DAIs | Audio devices | 32 PCM0 <------------> * * <----DAI0-----> Codec Headset 34 PCM1 <------------> * * <----DAI1-----> Codec Speakers 35 * DSP * [all …]
|
/openbmc/linux/sound/soc/codecs/ |
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. 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 …]
|
H A D | cs35l56.c | 1 // 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() 76 const char *name; in cs35l56_sync_asp1_mixer_widgets_with_firmware() local 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() [all …]
|
H A D | tas2781-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (C) 2022 - 2024 Texas Instruments Incorporated 12 // Author: Shenghao Ding <shenghao-ding@ti.com> 13 // Author: Kevin Lu <kevin-lu@ti.com> 32 #include <sound/tas2781-tlv.h> 49 * tas2781_digital_getvol - get the volum control 54 * tas2781 contains book and page two-level register map, especially 65 (struct soc_mixer_control *)kcontrol->private_value; in tas2781_digital_getvol() 76 (struct soc_mixer_control *)kcontrol->private_value; in tas2781_digital_putvol() 87 (struct soc_mixer_control *)kcontrol->private_value; in tas2781_amp_getvol() [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | goodix_fwupload.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (c) 2010 - 2012 Goodix Technology. 54 if (fw->size != expected_size) { in goodix_firmware_verify() 56 expected_size, fw->size); in goodix_firmware_verify() 57 return -EINVAL; in goodix_firmware_verify() 60 data = fw->data + GOODIX_FW_HEADER_LENGTH; in goodix_firmware_verify() 64 return -EINVAL; in goodix_firmware_verify() 70 dev_err(dev, "DSP firmware checksum error\n"); in goodix_firmware_verify() 71 return -EINVAL; in goodix_firmware_verify() 74 fw_header = (const struct goodix_fw_header *)fw->data; in goodix_firmware_verify() [all …]
|
/openbmc/linux/arch/x86/platform/atom/ |
H A D | punit_atom_debug.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * blocks, Image Signal Processing, video processing, display, DSP etc.) 17 #include <asm/intel-family.h> 20 /* Subsystem config/status Video processor */ 22 /* Subsystem config/status ISP (Image Signal Processor) */ 24 /* Subsystem config/status Input/output controller */ 38 /* Subsystem config/status display for Cherry Trail SOC */ 44 char *name; member 82 struct punit_device *punit_devp = seq_file->private; in punit_dev_state_show() 87 while (punit_devp->name) { in punit_dev_state_show() [all …]
|
/openbmc/linux/arch/x86/events/intel/ |
H A D | uncore_nhmex.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Nehalem-EX/Westmere-EX uncore support */ 5 /* NHM-EX event control */ 20 /* NHM-EX Ubox */ 35 /* NHM-EX Cbox */ 41 /* NHM-EX Bbox */ 62 /* NHM-EX Sbox */ 77 /* NHM-EX Mbox */ 121 #define NHMEX_M_PMON_ZDP_CTL_FVC_MASK (((1 << 11) - 1) | (1 << 23)) 124 #define WSMEX_M_PMON_ZDP_CTL_FVC_MASK (((1 << 12) - 1) | (1 << 24)) [all …]
|
/openbmc/linux/sound/soc/intel/skylake/ |
H A D | skl-debug.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * skl-debug.c - Debugfs for skl driver 5 * Copyright (C) 2016-17 Intel Corp 10 #include <uapi/sound/skl-tplg-interface.h> 12 #include "skl-sst-dsp.h" 13 #include "skl-sst-ipc.h" 14 #include "skl-topology.h" 15 #include "../common/sst-dsp.h" 16 #include "../common/sst-dsp-priv.h" 38 ret += scnprintf(buf + size, MOD_BUF - size, in skl_print_pins() [all …]
|