Home
last modified time | relevance | path

Searched +full:codec +full:- +full:3 (Results 1 – 25 of 1054) sorted by relevance

12345678910>>...43

/openbmc/linux/Documentation/sound/soc/
H A Dcodec-to-codec.rst2 Creating codec to codec dai link for ALSA dapm
5 Mostly the flow of audio is always from CPU to codec so your system
9 --------- ---------
11 CPU -------> codec
13 --------- ---------
18 ---------
20 codec-2
22 ---------
24 dai-2
26 ---------- ---------
[all …]
H A Ddapm.rst11 such, can easily co-exist with the other PM systems.
20 audio subsystem, this includes internal codec power blocks and machine
25 Codec bias domain
26 VREF, VMID (core codec and audio power)
28 Usually controlled at codec probe/remove and suspend/resume, although
53 internal codec components). All audio components that effect power are called
60 Audio DAPM widgets fall into a number of types:-
75 A codec input pin
77 A codec output pin
116 Sample Rate Converter within DSP or CODEC
[all …]
H A Dcodec.rst2 ASoC Codec Class Driver
5 The codec class driver is generic and hardware independent code that configures
6 the codec, FM, MODEM, BT or external DSP to provide audio capture and playback.
11 Each codec class driver *must* provide the following features:-
13 1. Codec DAI and PCM configuration
14 2. Codec control IO - using RegMap API
15 3. Mixers and audio controls
16 4. Codec audio operations
20 Optionally, codec drivers can also provide:-
24 Its probably best to use this guide in conjunction with the existing codec
[all …]
/openbmc/linux/sound/pci/hda/
H A Dpatch_analog.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2005-2007 Takashi Iwai <tiwai@suse.de>
44 ((spec)->beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir)) /* mono */
50 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls() argument
52 struct ad198x_spec *spec = codec->spec; in create_beep_ctls()
55 if (!spec->beep_amp) in create_beep_ctls()
58 for (knew = ad_beep_mixer ; knew->name; knew++) { in create_beep_ctls()
61 kctl = snd_ctl_new1(knew, codec); in create_beep_ctls()
63 return -ENOMEM; in create_beep_ctls()
64 kctl->private_value = spec->beep_amp; in create_beep_ctls()
[all …]
H A Dpatch_cirrus.c1 // SPDX-License-Identifier: GPL-2.0-or-later
66 /* Vendor-specific processing widget */
79 * 1 = digital immediate, analog zero-cross
80 * 2 = digtail & analog soft-ramp
81 * 3 = digital soft-ramp, analog zero-cross
83 #define CS_COEF_ADC_SZC_MASK (3 << 0)
84 #define CS_COEF_ADC_MIC_SZC_MODE (3 << 0) /* SZC setup for mic */
85 #define CS_COEF_ADC_LI_SZC_MODE (3 << 0) /* SZC setup for line-in */
86 /* PGA mode: 0 = differential, 1 = signle-ended */
88 #define CS_COEF_ADC_LI_PGA_MODE (1 << 6) /* PGA setup for line-in */
[all …]
H A Dhda_eld.c1 // SPDX-License-Identifier: GPL-2.0-or-later
29 CEA_EDID_VER_CEA861BCD = 3,
36 "2-reserved",
37 "3-reserved"
44 AUDIO_CODING_TYPE_MPEG1 = 3,
67 AUDIO_CODING_XTYPE_MPEG_SURROUND = 3,
74 /* 2 */ "AC-3",
75 /* 3 */ "MPEG1",
78 /* 6 */ "AAC-LC",
82 /* 10 */ "E-AC-3/DD+ (Dolby Digital Plus)",
[all …]
H A Dpatch_via.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Universal Interface for Intel High Definition Audio Codec
5 * HD audio interface patch for VIA VT17xx/VT18xx/VT20xx codec
7 * (C) 2006-2009 VIA Technology, Inc.
8 * (C) 2006-2008 Takashi Iwai <tiwai@suse.de>
13 /* 2006-03-03 Lydia Wang Create the basic patch to support VT1708 codec */
14 /* 2006-03-14 Lydia Wang Modify hard code for some pin widget nid */
15 /* 2006-08-02 Lydia Wang Add support to VT1709 codec */
16 /* 2006-09-08 Lydia Wang Fix internal loopback recording source select bug */
17 /* 2007-09-12 Lydia Wang Add EAPD enable during driver initialization */
[all …]
H A Dpatch_ca0132.c1 // SPDX-License-Identifier: GPL-2.0-or-later
62 #define MEM_CONNID_MICIN1 3
74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin"
75 #define R3DI_EFX_FILE "ctefx-r3di.bin"
98 static const char *const in_src_str[3] = { "Microphone", "Line In", "Front Microphone" };
99 #define IN_SRC_NUM_OF_INPUTS 3
115 #define VNODES_COUNT (VNODE_END_NID - VNODE_START_NID)
126 #define OUT_EFFECTS_COUNT (OUT_EFFECT_END_NID - OUT_EFFECT_START_NID)
134 #define IN_EFFECTS_COUNT (IN_EFFECT_END_NID - IN_EFFECT_START_NID)
154 #define EFFECTS_COUNT (EFFECT_END_NID - EFFECT_START_NID)
[all …]
H A Dhda_local.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Universal Interface for Intel High Definition Audio Codec
15 * snd_hda_ctl_add() takes the lower-bit subdev value as a valid NID.
45 HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, 3, xindex, direction, 0)
51 HDA_CODEC_VOLUME_MONO(xname, nid, 3, xindex, direction)
54 HDA_CODEC_VOLUME_MONO_IDX(xname, 0, nid, 3, xindex, direction, \
66 HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, 3, xindex, direction)
72 HDA_CODEC_MUTE_MONO(xname, nid, 3, xindex, direction)
83 /* no digital beep - just the standard one */
92 HDA_CODEC_MUTE_BEEP_MONO(xname, nid, 3, xindex, direction)
[all …]
H A Dhda_generic.h1 /* 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 */
58 #define MAX_AUTO_MIC_PINS 3
[all …]
H A Dhda_generic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Universal Interface for Intel High Definition Audio Codec
32 * snd_hda_gen_spec_init - initialize hda_gen_spec struct
39 snd_array_init(&spec->kctls, sizeof(struct snd_kcontrol_new), 32); in snd_hda_gen_spec_init()
40 snd_array_init(&spec->paths, sizeof(struct nid_path), 8); in snd_hda_gen_spec_init()
41 snd_array_init(&spec->loopback_list, sizeof(struct hda_amp_list), 8); in snd_hda_gen_spec_init()
42 mutex_init(&spec->pcm_mutex); in snd_hda_gen_spec_init()
48 * snd_hda_gen_add_kctl - Add a new kctl_new struct from the template
62 struct snd_kcontrol_new *knew = snd_array_new(&spec->kctls); in snd_hda_gen_add_kctl()
67 knew->name = kstrdup(name, GFP_KERNEL); in snd_hda_gen_add_kctl()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Djz4760.c1 // SPDX-License-Identifier: GPL-2.0
3 // Ingenic JZ4760 CODEC driver
18 #include <sound/soc-dai.h>
19 #include <sound/soc-dapm.h>
67 #define REG_AICR_DAC_SERIAL BIT(3)
78 #define REG_CR1_BTL_MUTE_OFFSET 3
88 #define REG_CR3_ADC_INSEL_MASK GENMASK(3, REG_CR3_ADC_INSEL_OFFSET)
95 #define REG_CCR1_CRYSTAL_MASK GENMASK(3, 0)
98 #define REG_CCR2_ADC_FREQ_MASK GENMASK(3, 0)
104 #define REG_PMR1_SB_MIC1_OFFSET 3
[all …]
H A Djz4770.c1 // SPDX-License-Identifier: GPL-2.0
3 // Ingenic JZ4770 CODEC driver
17 #include <sound/soc-dai.h>
18 #include <sound/soc-dapm.h>
101 #define REG_CR_HP_SB_HPCM_OFFSET 3
109 #define REG_CR_DAC_LRSWAP BIT(3)
125 #define REG_CR_ADC_LRSWAP BIT(3)
148 #define REG_IMR_RUP_MASK BIT(3)
157 #define REG_IFR_RUP BIT(3)
177 /* codec private data */
[all …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Drt5659.txt1 RT5659/RT5658 audio CODEC
7 - compatible : One of "realtek,rt5659" or "realtek,rt5658".
9 - reg : The I2C address of the device.
11 - interrupts : The CODEC's interrupt output.
15 - clocks: The phandle of the master clock to the CODEC
16 - clock-names: Should be "mclk"
18 - realtek,in1-differential
19 - realtek,in3-differential
20 - realtek,in4-differential
21 Boolean. Indicate MIC1/3/4 input are differential, rather than single-ended.
[all …]
H A Damlogic,axg-sound-card.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/amlogic,axg-sound-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jerome Brunet <jbrunet@baylibre.com>
13 - $ref: sound-card-common.yaml#
17 const: amlogic,axg-sound-card
19 audio-aux-devs:
20 $ref: /schemas/types.yaml#/definitions/phandle-array
23 audio-widgets:
[all …]
H A Dqcom,wcd938x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm WCD9380/WCD9385 Audio Codec
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC.
17 - $ref: dai-common.yaml#
22 - qcom,wcd9380-codec
23 - qcom,wcd9385-codec
25 reset-gpios:
[all …]
/openbmc/linux/sound/aoa/codecs/
H A Dtas.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Apple Onboard Audio driver for tas codec
8 * - How to distinguish between 3004 and versions?
11 * - This codec driver doesn't honour the 'connected'
15 * - Driver assumes that the microphone is always
17 * the input. This should also be a codec-dependent
18 * flag, maybe the codec should have 3 different
23 * - As Apple notes in their code, the tas3004 seems
36 * - this should actually register *two* aoa_codec
49 * codec to refine the transfer_info items in the
[all …]
H A Donyx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Apple Onboard Audio driver for Onyx codec
7 * This is a driver for the pcm3052 codec chip (codenamed Onyx)
10 * The Onyx codec has the following connections (listed by the bit
15 * 3: microphone input
24 * But snd-aoa assumes that there's at most one card, so
36 MODULE_DESCRIPTION("pcm3052 (onyx) codec driver for snd-aoa");
43 #define PFX "snd-aoa-codec-onyx: "
46 /* cache registers 65 to 80, they are write-only! */
49 struct aoa_codec codec; member
[all …]
/openbmc/linux/sound/arm/
H A Dpxa2xx-ac97-regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define POCR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
14 #define PICR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
18 #define MCCR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
32 #define GCR_ACLINK_OFF (1 << 3) /* AC-link Shut Off */
35 #define GCR_GIE (1 << 0) /* Codec GPI Interrupt Enable */
43 #define PISR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */
48 #define MCSR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */
55 #define GSR_BIT3SLT12 (1 << 14) /* Bit 3 of slot 12 */
60 #define GSR_SCR (1 << 9) /* Secondary Codec Ready */
[all …]
/openbmc/linux/sound/soc/ti/
H A Dj721e-evm.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com
17 #include "davinci-mcasp.h"
21 * CPB: 2 (mcasp10 + codec)
22 * IVI: 3 (mcasp0 + 2x codec)
65 struct j721e_audio_clocks codec; member
92 SND_SOC_DAPM_HP("CPB Stereo HP 3", NULL),
100 {"CPB Stereo HP 1", NULL, "codec-1 AOUT1L"},
101 {"CPB Stereo HP 1", NULL, "codec-1 AOUT1R"},
102 {"CPB Stereo HP 2", NULL, "codec-1 AOUT2L"},
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules/
H A D0001-Stop-using-pyasn1.compat.octets.patch2 From: Heiko Becker <mail@heiko-becker.de>
11 Upstream-Status: Submitted [https://github.com/pyasn1/pyasn1-modules/pull/22]
12 Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 ---
14 tests/test_pem.py | 3 +--
15 tests/test_rfc3770.py | 3 +--
16 tests/test_rfc4073.py | 3 +--
17 tests/test_rfc4334.py | 3 +--
18 tests/test_rfc5755.py | 3 +--
19 tests/test_rfc6032.py | 7 +++----
[all …]
/openbmc/linux/drivers/media/pci/zoran/
H A Dzr36050.c1 // SPDX-License-Identifier: GPL-2.0-or-later
22 /* codec io API */
37 * read/write via codec layer (registers are located in the master device)
43 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_read()
47 if (ptr->codec->master_data->readreg) in zr36050_read()
48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read()
50 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36050_read()
52 zrdev_dbg(zr, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, value); in zr36050_read()
59 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_write()
61 zrdev_dbg(zr, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, reg); in zr36050_write()
[all …]
/openbmc/linux/sound/pci/ac97/
H A Dac97_pcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Universal interface for Audio Codec '97
33 /* 3&4 front, 7&8 rear, 6&9 center/lfe */
34 AC97_PCM_FRONT_DAC_RATE, /* slot 3 */
46 0xff, /* slot 3 */
57 /* 6&9 front, 10&11 rear, 3&4 center/lfe */
58 AC97_PCM_LFE_DAC_RATE, /* slot 3 */
69 /* 10&11 front, 3&4 rear, 7&8 center/lfe */
70 AC97_PCM_SURR_DAC_RATE, /* slot 3 */
84 /* 3&4 front, 7&8 front (t+1) */
[all …]
/openbmc/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
14 Smart CODEC and Amp devices. It allows the connection of most Cirrus
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
[all …]
/openbmc/linux/sound/pci/
H A Dazt3328.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* azt3328.c - driver for Aztech AZF3328 based soundcards (e.g. PCI168).
3 * Copyright (C) 2002, 2005 - 2011 by Andreas Mohr <andi AT lisas.de>
7 * found in a Fujitsu-Siemens PC ("Cordant", aluminum case).
13 * Keywords: Windows XP Vista 168nt4-125.zip 168win95-125.zip PCI 168 download
17 * despite the high level of Internet ignorance - as usual :-P -
18 * about very good support for this card - on Linux!)
25 * in the first place >:-P}),
27 * (3 weeks' worth of evenings filled with driver work).
34 * for compatibility reasons) from Azfin (joint-venture of Aztech and Fincitec,
[all …]

12345678910>>...43