Home
last modified time | relevance | path

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

12345678910>>...43

/kernel/linux/linux-6.6/Documentation/sound/soc/
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 …]
/kernel/linux/linux-5.10/Documentation/sound/soc/
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 …]
/kernel/linux/linux-5.10/sound/pci/hda/
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 …]
Dpatch_cirrus.c1 // SPDX-License-Identifier: GPL-2.0-or-later
65 /* Vendor-specific processing widget */
78 * 1 = digital immediate, analog zero-cross
79 * 2 = digtail & analog soft-ramp
80 * 3 = digital soft-ramp, analog zero-cross
82 #define CS_COEF_ADC_SZC_MASK (3 << 0)
83 #define CS_COEF_ADC_MIC_SZC_MODE (3 << 0) /* SZC setup for mic */
84 #define CS_COEF_ADC_LI_SZC_MODE (3 << 0) /* SZC setup for line-in */
85 /* PGA mode: 0 = differential, 1 = signle-ended */
87 #define CS_COEF_ADC_LI_PGA_MODE (1 << 6) /* PGA setup for line-in */
[all …]
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 …]
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 …]
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 …]
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 …]
Dhda_generic.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Generic BIOS auto-parser helper functions for HD-audio
13 /* table entry for multi-io paths */
15 hda_nid_t pin; /* multi-io widget pin NID */
17 unsigned int ctl_in; /* cached input-pin control value */
22 * For output, stored in the order of DAC -> ... -> pin,
23 * for input, pin -> ... -> ADC.
27 * multi[] indicates whether it's a selector widget with multi-connectors
53 /* mic/line-in auto switching entry */
55 #define MAX_AUTO_MIC_PINS 3
[all …]
/kernel/linux/linux-6.6/sound/pci/hda/
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
/kernel/linux/linux-6.6/sound/soc/codecs/
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Damlogic,axg-sound-card.txt5 - compatible: "amlogic,axg-sound-card"
6 - model : User specified audio sound card name, one string
10 - audio-aux-devs : List of phandles pointing to auxiliary devices
11 - audio-widgets : Please refer to widgets.txt.
12 - audio-routing : A list of the connections between audio components.
16 - dai-link: Container for dai-link level properties and the CODEC
17 sub-nodes. There should be at least one (and probably more)
20 Required dai-link properties:
22 - sound-dai: phandle and port of the CPU DAI.
24 Required TDM Backend dai-link properties:
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/zoran/
Dvideocodec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Interface for MJPEG (and maybe later MPEG/WAVELETS) codec's
31 MODULE_PARM_DESC(debug, "Debug level (0-4)");
40 struct videocodec *codec; member
45 const struct videocodec *codec; member
61 struct videocodec *codec; in videocodec_attach() local
70 master->name, master->flags, master->magic); in videocodec_attach()
80 if ((master->flags & h->codec->flags) == master->flags) { in videocodec_attach()
81 dprintk(4, "%s: try '%s'\n", __func__, h->codec->name); in videocodec_attach()
83 if (!try_module_get(h->codec->owner)) in videocodec_attach()
[all …]
/kernel/linux/linux-5.10/sound/aoa/codecs/
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 …]
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 …]
/kernel/linux/linux-6.6/sound/aoa/codecs/
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 …]
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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
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 …]
/kernel/linux/linux-5.10/arch/arm/mach-pxa/include/mach/
Dregs-ac97.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 #define POCR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
16 #define PICR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
20 #define MCCR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
34 #define GCR_ACLINK_OFF (1 << 3) /* AC-link Shut Off */
37 #define GCR_GIE (1 << 0) /* Codec GPI Interrupt Enable */
45 #define PISR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */
50 #define MCSR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */
57 #define GSR_BIT3SLT12 (1 << 14) /* Bit 3 of slot 12 */
62 #define GSR_SCR (1 << 9) /* Secondary Codec Ready */
[all …]

12345678910>>...43