| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | ti,tas2781.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2022 - 2025 Texas Instruments Incorporated 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Shenghao Ding <shenghao-ding@ti.com> 14 The TAS2118/TAS2X20 is mono, digital input Class-D audio 17 The TAS257x is mono, digital input Class-D audio amplifier optimized 21 The TAS2563/TAS2781 is a mono, digital input Class-D audio 23 small loudspeakers. An integrated on-chip DSP supports Texas 24 Instruments Smart Amp speaker protection algorithm. The [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | cs42l52.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs42l52.c -- CS42L52 ALSA SoC audio driver 29 #include <sound/soc-dapm.h> 43 /* MICA mode selection Differential or Single-ended */ 46 /* MICB mode selection Differential or Single-ended */ 85 { CS42L52_MICA_CTL, 0x00 }, /* r10 MICA Amp Ct [all...] |
| H A D | cs35l56.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Driver for Cirrus Logic CS35L56 smart amp 28 #include <sound/cs-amp-lib.h> 32 #include <sound/soc-dapm.h> 44 flush_work(&cs35l56->dsp_wor in cs35l56_wait_dsp_ready() [all...] |
| H A D | tas2781-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (C) 2022 - 2025 Texas Instruments Incorporated 9 // algo coefficient setting for one, two, or even multiple 12 // Author: Shenghao Ding <shenghao-ding@ti.com> 13 // Author: Kevin Lu <kevin-lu@ti.com> 31 #include <sound/tas2781-comlib-i2c.h> 33 #include <sound/tas2x20-tlv.h> 34 #include <sound/tas2563-tlv.h> 35 #include <sound/tas2781-tlv.h> 36 #include <sound/tas5825-tlv.h> [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 # setting - SPI can't be modular so that case doesn't need to be covered. 500 tristate "Analog Devices AU1761 CODEC - I2C" 506 tristate "Analog Devices AU1761 CODEC - SPI" 543 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter" 549 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode" 552 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM 558 will be called snd-soc-adau7118-hw. 561 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - I2C" 566 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM [all …]
|
| H A D | rt5677.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5677.c -- RT5677 ALSA SoC audio codec driver 29 #include <sound/soc-dapm.h> 35 #include "rt5677-spi.h" 552 * rt5677_dsp_mode_i2c_write_addr - Write value to address on DSP mode. 563 struct snd_soc_component *component = rt5677->componen in rt5677_dsp_mode_i2c_write_addr() [all...] |
| H A D | da7219.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219.c - DA7219 ALSA SoC Codec Driver 13 #include <linux/clk-provider.h> 26 #include <sound/soc-dapm.h> 33 #include "da7219-aad.h" 41 static const DECLARE_TLV_DB_SCALE(da7219_mic_gain_tlv, -60 [all...] |
| /linux/fs/jfs/ |
| H A D | jfs_imap.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) International Business Machines Corp., 2000-2004 51 #define IAGFREE_LOCK_INIT(imap) mutex_init(&imap->im_freelock) 52 #define IAGFREE_LOCK(imap) mutex_lock(&imap->im_freelock) 53 #define IAGFREE_UNLOCK(imap) mutex_unlock(&imap->im_freelock) 56 #define AG_LOCK_INIT(imap,index) mutex_init(&(imap->im_aglock[index])) 57 #define AG_LOCK(imap,agno) mutex_lock(&imap->im_aglock[agno]) 58 #define AG_UNLOCK(imap,agno) mutex_unlock(&imap->im_aglock[agno]) 87 * ipimap - pointer to inode map inode for the aggregate or fileset. 90 * 0 - success [all …]
|
| /linux/Documentation/sound/soc/ |
| H A D | overview.rst | 6 provide better ALSA support for embedded system-on-chip processors (e.g. 9 had some limitations:- 12 CPU. This is not ideal and leads to code duplication - for example, 18 machine specific code to re-route audio, enable amps, etc., after such an 31 features :- 54 multiple re-usable component drivers :- 69 machine level audio events (e.g. turning on an amp at start of playback).
|
| /linux/samples/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 tristate "Build trace_events examples -- loadable modules only" 20 tristate "Build custom trace event example -- loadable modules only" 26 tristate "Build trace_printk module - tests various trace_printk formats" 41 tristate "Build register_ftrace_direct() on multiple ips example" 73 tristate "Build kprobes examples -- loadable modules only" 79 tristate "Build kretprobes example -- loadable modules only" 84 tristate "Build kernel hardware breakpoint examples -- loadable module only" 90 tristate "Build fprobe examples -- loadable modules only" 97 tristate "Build kfifo examples -- loadable modules only" [all …]
|
| /linux/sound/hda/codecs/ |
| H A D | generic.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Generic BIOS auto-parser helper functions for HD-audio 16 /* table entry for multi-io paths */ 18 hda_nid_t pin; /* multi-io widget pin NID */ 20 unsigned int ctl_in; /* cached input-pin control value */ 25 * For output, stored in the order of DAC -> ... -> pin, 26 * for input, pin -> ... -> ADC. 30 * multi[] indicates whether it's a selector widget with multi-connectors 56 /* mic/line-in auto switching entry */ 62 int idx; /* imux index, -1 = invalid */ [all …]
|
| /linux/sound/hda/common/ |
| H A D | hda_local.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 17 * snd_hda_ctl_add() takes the lower-bit subdev value as a valid NID. 85 /* no digital beep - just the standard one */ 120 snd_hdac_regmap_get_amp(&(codec)->core, nid, ch, dir, idx) 142 #define snd_hda_regmap_sync(codec) snd_hdac_regmap_sync(&(codec)->core) 158 /* amp value bits */ 197 * Multi-channel / digital-out PCM helper 209 hda_nid_t hp_out_nid[HDA_MAX_OUTS]; /* DACs for multiple HPs */ 215 int no_share_stream; /* don't share a stream with multiple pins */ 270 * Fix-up pin default configurations and add default verbs [all …]
|
| /linux/Documentation/sound/ |
| H A D | alsa-configuration.rst | 2 Advanced Linux Sound Architecture - Driver Configuration guide 34 specify multiple values for the option separated by commas. 38 ---------- 47 limiting card index for auto-loading (1-8); 49 For auto-loading more than one card, specify this option 50 together with snd-card-X aliases. 53 This option takes multiple strings. 63 Module snd-pcm-oss 64 ------------------ 86 regarding opening the device. When this option is non-zero, [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-nintendo.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * HID driver for Nintendo Switch Joy-Cons and Pro Controllers 5 * Copyright (c) 2019-2021 Daniel J. Ogorchock <djogorchock@gmail.com> 12 * https://gitlab.com/pjranki/joycon-linux-kernel (Peter Rankin) 16 * hid-wiimote kernel hid driver 17 * hid-logitech-hidpp driver 18 * hid-sony driver 20 * This driver supports the Nintendo Switch Joy-Cons and Pro Controllers. The 31 #include "hid-ids.h" 120 (JC_CAL_USR_LEFT_DATA_END - JC_CAL_USR_LEFT_DATA_ADDR + 1) [all …]
|
| /linux/Documentation/arch/powerpc/ |
| H A D | qe_firmware.rst | 10 I - Software License for Firmware 12 II - Microcode Availability 14 III - Description and Terminology 16 IV - Microcode Programming Details 18 V - Firmware Structure Layout 20 VI - Sample Code for Creating Firmware Files 25 November 30, 2007: Rev 1.0 - Initial version 27 I - Software License for Firmware 34 II - Microcode Availability 41 III - Description and Terminology [all …]
|
| /linux/sound/hda/codecs/realtek/ |
| H A D | alc269.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 /* different alc269-variants */ 55 struct alc_spec *spec = codec->spec; in alc269_parse_auto_config() 58 switch (spec->codec_variant) { in alc269_parse_auto_config() 106 if (jack->unsol_res & (7 << 13)) in alc_headset_btn_callback() 109 if (jack->unsol_res & (1 << 16 | 3 << 8)) in alc_headset_btn_callback() 113 if (jack->unsol_res & (7 << 23)) in alc_headset_btn_callback() 117 if (jack->unsol_res & (7 << 10)) in alc_headset_btn_callback() 120 snd_hda_jack_set_button_state(codec, jack->nid, report); in alc_headset_btn_callback() 125 struct alc_spec *spec = codec->spec; in alc_disable_headset_jack_key() [all …]
|
| H A D | alc662.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * 6-channel independent captures. 18 * In addition, an independent DAC for the multi-playback (not used in this 33 if (codec->core.vendor_id == 0x10ec0272 || codec->core.vendor_id == 0x10ec0663 || in alc662_parse_auto_config() 34 codec->core.vendor_id == 0x10ec0665 || codec->core.vendor_id == 0x10ec0670 || in alc662_parse_auto_config() 35 codec->core.vendor_id == 0x10ec0671) in alc662_parse_auto_config() 52 codec_warn(codec, "failed to override amp caps for NID 0x2\n"); in alc272_fixup_mario() 60 struct alc_spec *spec = codec->spec; in gpio_led_power_filter() 61 if (nid == codec->core.afg && power_state == AC_PWRST_D3 && spec->gpio_data) in gpio_led_power_filter() 69 struct alc_spec *spec = codec->spec; in alc662_fixup_led_gpio1() [all …]
|
| /linux/sound/soc/intel/boards/ |
| H A D | sof_sdw.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * sof_sdw - ASOC Machine driver for Intel SoundWire platforms 17 #include <sound/soc-acpi.h> 22 static int quirk_override = -1; 24 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 31 dev_dbg(dev, "quirk realtek,jack-detect-sourc in log_quirks() [all...] |
| /linux/sound/soc/sdw_utils/ |
| H A D | soc_sdw_utils.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * soc-sdw-utils.c - common SoundWire machine driver helper functions 67 .dai_name = "tas2783-codec", 86 .dai_name = "rt700-aif1", 105 .dai_name = "rt711-sdca-aif1", 126 .dai_name = "rt711-aif1", 147 .dai_name = "rt712-sdca-aif1", 160 .dai_name = "rt712-sdca-aif2", 174 .dai_name = "rt712-sdca-aif3", 184 .name_prefix = "rt712-dmic", [all …]
|
| /linux/drivers/gpu/drm/msm/registers/adreno/ |
| H A D | adreno_pm4.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd"> 9 <value name="VS_DEALLOC" value="0x00" variants="A2XX-A5XX"/> 10 <value name="PS_DEALLOC" value="0x01" variants="A2XX-A5XX"/> 11 <value name="VS_DONE_TS" value="0x02" variants="A2XX-A5XX"/> 12 <value name="PS_DONE_TS" value="0x03" variants="A2XX-A5XX"/> 19 <value name="CACHE_FLUSH" value="0x06" variants="A2XX-A4XX"/> 21 <value name="HLSQ_FLUSH" value="0x07" variants="A3XX-A4XX"/> 24 <value name="WRITE_PRIMITIVE_COUNTS" value="0x09" variants="A6XX-"/> [all …]
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * hdmi.c - routines for HDMI/DisplayPort codecs 6 * Copyright(c) 2008-2010 Intel Corporation 53 struct hdmi_spec *spec = codec->spec; in snd_hda_hdmi_pin_id_to_pin_index() 58 * (dev_id == -1) means it is NON-MST pin in snd_hda_hdmi_pin_id_to_pin_index() 61 if (dev_id == -1) in snd_hda_hdmi_pin_id_to_pin_index() 64 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in snd_hda_hdmi_pin_id_to_pin_index() 66 if ((per_pin->pin_nid == pin_nid) && in snd_hda_hdmi_pin_id_to_pin_index() 67 (per_pin->dev_id == dev_id)) in snd_hda_hdmi_pin_id_to_pin_index() 72 return -EINVAL; in snd_hda_hdmi_pin_id_to_pin_index() [all …]
|
| /linux/drivers/bluetooth/ |
| H A D | btusb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2005-2008 Marcel Holtmann <marcel@holtmann.org> 75 /* Generic Bluetooth AMP device */ 81 /* Apple-specific (Broadcom) devices */ 118 /* ALPS Modules with non-standard id */ 122 /* Ericsson with non-standard id */ 125 /* Canyon CN-BTU1 with HID interfaces */ 139 /* Foxconn - Hon Hai */ 143 /* Lite-On Technology - Broadcom based */ 151 /* ASUSTek Computer - Broadcom based */ [all …]
|
| /linux/sound/usb/ |
| H A D | mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 * - support for UAC2 effect units 18 * - support for graphical equalizers 19 * - RANGE and MEM set commands (UAC2) 20 * - RANGE and MEM interrupt dispatchers (UAC2) 21 * - audio channel clustering (UAC2) 22 * - audio sample rate converter units (UAC2) 23 * - proper handling of clock multipliers (UAC2) 24 * - dispatch clock change notifications (UAC2) 25 * - stop PCM streams which use a clock that became invalid [all …]
|