Home
last modified time | relevance | path

Searched +full:audio +full:- +full:gain +full:- +full:db (Results 1 – 25 of 252) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/drivers/media/i2c/
Dtda7432.c1 // SPDX-License-Identifier: GPL-2.0
3 * For the STS-Thompson TDA7432 audio processor chip
5 * Handles audio functions: volume, balance, tone, loudness
18 * debug - set to 1 if you'd like to see debug messages
21 * loudness - set between 0 and 15 for varying degrees of loudness effect
23 * maxvol - set maximum volume to +20db (1), default is 0db(0)
37 #include <media/v4l2-device.h>
38 #include <media/v4l2-ioctl.h>
39 #include <media/v4l2-ctrls.h>
46 MODULE_DESCRIPTION("bttv driver for the tda7432 audio processor chip");
[all …]
Dwm8775.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm8775 - driver version 0.0.1
10 * - Cleanup
11 * - V4L2 API update
12 * - sound fixes
22 #include <media/v4l2-device.h>
23 #include <media/v4l2-ctrls.h>
32 /* ----------------------------------------------------------------------- */
50 u8 input; /* Last selected input (0-0xf) */
60 return &container_of(ctrl->handler, struct wm8775_state, hdl)->sd; in to_sd()
[all …]
Dtvaudio.c2 * Driver for simple i2c audio chips.
14 * Copyright(c) 2005-2008 Mauro Carvalho Chehab
15 * - Some cleanups, code fixes, etc
16 * - Convert it to V4L2 API
21 * debug - set to 1 if you'd like to see debug messages
40 #include <media/v4l2-device.h>
41 #include <media/v4l2-ctrls.h>
43 /* ---------------------------------------------------------------------- */
53 #define UNSET (-1U)
55 /* ---------------------------------------------------------------------- */
[all …]
/kernel/linux/linux-6.6/drivers/media/i2c/
Dtda7432.c1 // SPDX-License-Identifier: GPL-2.0
3 * For the STS-Thompson TDA7432 audio processor chip
5 * Handles audio functions: volume, balance, tone, loudness
18 * debug - set to 1 if you'd like to see debug messages
21 * loudness - set between 0 and 15 for varying degrees of loudness effect
23 * maxvol - set maximum volume to +20db (1), default is 0db(0)
37 #include <media/v4l2-device.h>
38 #include <media/v4l2-ioctl.h>
39 #include <media/v4l2-ctrls.h>
46 MODULE_DESCRIPTION("bttv driver for the tda7432 audio processor chip");
[all …]
Dwm8775.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm8775 - driver version 0.0.1
10 * - Cleanup
11 * - V4L2 API update
12 * - sound fixes
22 #include <media/v4l2-device.h>
23 #include <media/v4l2-ctrls.h>
32 /* ----------------------------------------------------------------------- */
50 u8 input; /* Last selected input (0-0xf) */
60 return &container_of(ctrl->handler, struct wm8775_state, hdl)->sd; in to_sd()
[all …]
Dtvaudio.c2 * Driver for simple i2c audio chips.
14 * Copyright(c) 2005-2008 Mauro Carvalho Chehab
15 * - Some cleanups, code fixes, etc
16 * - Convert it to V4L2 API
21 * debug - set to 1 if you'd like to see debug messages
40 #include <media/v4l2-device.h>
41 #include <media/v4l2-ctrls.h>
43 /* ---------------------------------------------------------------------- */
53 #define UNSET (-1U)
55 /* ---------------------------------------------------------------------- */
[all …]
/kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/
Dext-ctrls-fm-tx.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _fm-tx-controls:
11 parameters for audio compression, pilot tone generation, audio deviation
15 .. _fm-tx-control-id:
27 step are driver-specific.
34 to 31 pre-defined programme types.
52 programme-related information or any other text. In these cases,
65 then the audio was recorded as stereo.
70 bit of the Decoder Identification code. If set, then the audio was
75 then the audio is compressed.
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dext-ctrls-fm-tx.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _fm-tx-controls:
11 parameters for audio compression, pilot tone generation, audio deviation
15 .. _fm-tx-control-id:
27 step are driver-specific.
34 to 31 pre-defined programme types.
52 programme-related information or any other text. In these cases,
65 then the audio was recorded as stereo.
70 bit of the Decoder Identification code. If set, then the audio was
75 then the audio is compressed.
[all …]
/kernel/linux/linux-6.6/sound/aoa/codecs/
Donyx.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Apple Onboard Audio driver for Onyx codec (header)
16 * -1 (0dB) to -127 (-63.0 dB) or others (muted) */
48 /* 8 + input gain in dB, valid range for input gain is -4 .. 20 dB */
57 /* bits 1-5 control channel bits 1-5 */
61 /* controls channel bits 8-15 */
64 /* control channel bits 24-29, high 2 bits reserved */
70 /* lower 4 bits control bits 32-35 of channel control and word length */
/kernel/linux/linux-5.10/sound/aoa/codecs/
Donyx.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Apple Onboard Audio driver for Onyx codec (header)
17 * -1 (0dB) to -127 (-63.0 dB) or others (muted) */
49 /* 8 + input gain in dB, valid range for input gain is -4 .. 20 dB */
58 /* bits 1-5 control channel bits 1-5 */
62 /* controls channel bits 8-15 */
65 /* control channel bits 24-29, high 2 bits reserved */
71 /* lower 4 bits control bits 32-35 of channel control and word length */
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/
Dissi,is31fl319x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vincent Knecht <vincent.knecht@mailoo.org>
14 Previously known as Si-En SN319{0,1,3,6,9}.
26 - issi,is31fl3190
27 - issi,is31fl3191
28 - issi,is31fl3193
29 - issi,is31fl3196
30 - issi,is31fl3199
[all …]
/kernel/linux/linux-6.6/sound/pci/echoaudio/
Dechoaudio.h3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004
7 This file is part of Echo Digital Audio's generic driver library.
9 Echo Digital Audio's generic driver library is free software;
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22 MA 02111-1307, USA.
26 Translation from C++ and adaptation for use in ALSA-Driver
34 +-----------+
35 record | |<-------------------- Inputs
36 <-------| | |
39 ------->| | +-------+
[all …]
Dgina20_dsp.c3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004
7 This file is part of Echo Digital Audio's generic driver library.
9 Echo Digital Audio's generic driver library is free software;
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22 MA 02111-1307, USA.
26 Translation from C++ and adaptation for use in ALSA-Driver
41 return -ENODEV; in init_hw()
45 dev_err(chip->card->dev, in init_hw()
46 "init_hw - could not initialize DSP comm page\n"); in init_hw()
50 chip->device_id = device_id; in init_hw()
[all …]
/kernel/linux/linux-5.10/sound/pci/echoaudio/
Dechoaudio.h3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004
7 This file is part of Echo Digital Audio's generic driver library.
9 Echo Digital Audio's generic driver library is free software;
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22 MA 02111-1307, USA.
26 Translation from C++ and adaptation for use in ALSA-Driver
34 +-----------+
35 record | |<-------------------- Inputs
36 <-------| | |
39 ------->| | +-------+
[all …]
Dgina20_dsp.c3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004
7 This file is part of Echo Digital Audio's generic driver library.
9 Echo Digital Audio's generic driver library is free software;
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22 MA 02111-1307, USA.
26 Translation from C++ and adaptation for use in ALSA-Driver
41 return -ENODEV; in init_hw()
44 dev_err(chip->card->dev, in init_hw()
45 "init_hw - could not initialize DSP comm page\n"); in init_hw()
49 chip->device_id = device_id; in init_hw()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dtwl4030.c1 // SPDX-License-Identifier: GPL-2.0-only
28 #include <linux/mfd/twl4030-audio.h>
59 u8 ctl_cache[TWL4030_REG_PRECKR_CTL - TWL4030_REG_EAR_CTL + 1];
71 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache()
81 return -EIO; in twl4030_read()
90 value = twl4030->ctl_cache[reg - TWL4030_REG_EAR_CTL]; in twl4030_read()
108 if (twl4030->earpiece_enabled) in twl4030_can_write_to_chip()
112 if (twl4030->predrivel_enabled) in twl4030_can_write_to_chip()
116 if (twl4030->predriver_enabled) in twl4030_can_write_to_chip()
120 if (twl4030->carkitl_enabled) in twl4030_can_write_to_chip()
[all …]
Dtas5720.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tas5720.c - ALSA SoC Texas Instruments TAS5720 Mono Audio Amplifier
5 * Copyright (C)2015-2016 Texas Instruments Incorporated - https://www.ti.com
23 #include <sound/soc-dapm.h>
37 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */
38 "pvdd", /* Class-D amp and analog power supply (connected). */
57 struct snd_soc_component *component = dai->component; in tas5720_hw_params()
72 dev_err(component->dev, "unsupported sample rate: %u\n", rate); in tas5720_hw_params()
73 return -EINVAL; in tas5720_hw_params()
79 dev_err(component->dev, "error setting sample rate: %d\n", ret); in tas5720_hw_params()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dleds-is31fl319x.txt4 - compatible : Should be any of
10 "si-en,sn3199".
11 - #address-cells: Must be 1.
12 - #size-cells: Must be 0.
13 - reg: 0x64, 0x65, 0x66, or 0x67.
16 - audio-gain-db : audio gain selection for external analog modulation input.
17 Valid values: 0 - 21, step by 3 (rounded down)
19 - shutdown-gpios : Specifier of the GPIO connected to SDB pin of the chip.
21 Each led is represented as a sub-node of the issi,is31fl319x device.
24 Required led sub-node properties:
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dsi476x.rst1 .. SPDX-License-Identifier: GPL-2.0
12 -------------------
14 - According to the SiLabs' datasheet it is possible to update the
15 firmware of the radio chip in the run-time, thus bringing it to the
23 -------------------------------
31 * /sys/kernel/debug/<device-name>/acf
52 0x05 smute 0 - Audio is not soft muted
53 1 - Audio is soft muted
54 0x06 smattn Soft mute attenuation level in dB
60 0x10 pilot 0 - Stereo pilot is not present
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/media/
Dsi476x.rst1 .. SPDX-License-Identifier: GPL-2.0
12 -------------------
14 - According to the SiLabs' datasheet it is possible to update the
15 firmware of the radio chip in the run-time, thus bringing it to the
23 -------------------------------
31 * /sys/kernel/debug/<device-name>/acf
52 0x05 smute 0 - Audio is not soft muted
53 1 - Audio is soft muted
54 0x06 smattn Soft mute attenuation level in dB
60 0x10 pilot 0 - Stereo pilot is not present
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dtas5720.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tas5720.c - ALSA SoC Texas Instruments TAS5720 Mono Audio Amplifier
5 * Copyright (C)2015-2016 Texas Instruments Incorporated - https://www.ti.com
22 #include <sound/soc-dapm.h>
37 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */
38 "pvdd", /* Class-D amp and analog power supply (connected). */
57 struct snd_soc_component *component = dai->component; in tas5720_hw_params()
72 dev_err(component->dev, "unsupported sample rate: %u\n", rate); in tas5720_hw_params()
73 return -EINVAL; in tas5720_hw_params()
79 dev_err(component->dev, "error setting sample rate: %d\n", ret); in tas5720_hw_params()
[all …]
Dtwl4030.c1 // SPDX-License-Identifier: GPL-2.0-only
28 #include <linux/mfd/twl4030-audio.h>
67 u8 ctl_cache[TWL4030_REG_PRECKR_CTL - TWL4030_REG_EAR_CTL + 1];
79 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache()
89 return -EIO; in twl4030_read()
98 value = twl4030->ctl_cache[reg - TWL4030_REG_EAR_CTL]; in twl4030_read()
116 if (twl4030->earpiece_enabled) in twl4030_can_write_to_chip()
120 if (twl4030->predrivel_enabled) in twl4030_can_write_to_chip()
124 if (twl4030->predriver_enabled) in twl4030_can_write_to_chip()
128 if (twl4030->carkitl_enabled) in twl4030_can_write_to_chip()
[all …]
Dmt6351.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt6351.c -- mt6351 ALSA SoC audio codec driver
8 #include <linux/dma-mapping.h>
202 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero()
204 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero()
225 dev_warn(cmpnt->dev, "%s(), error rate %d, return 3", in get_cap_reg_val()
256 dev_warn(cmpnt->dev, "%s(), error rate %d, return 8", in get_play_reg_val()
266 struct snd_soc_component *cmpnt = dai->component; in mt6351_codec_dai_hw_params()
270 dev_dbg(priv->dev, "%s(), substream->stream %d, rate %d\n", in mt6351_codec_dai_hw_params()
271 __func__, substream->stream, rate); in mt6351_codec_dai_hw_params()
[all …]
/kernel/linux/linux-6.6/sound/soc/mediatek/mt6797/
Dmt6797-dai-adda.c1 // SPDX-License-Identifier: GPL-2.0
3 // MediaTek ALSA SoC Audio DAI ADDA Control
10 #include "mt6797-afe-common.h"
11 #include "mt6797-interconnection.h"
12 #include "mt6797-reg.h"
65 dev_warn(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in adda_dl_rate_transform()
88 dev_warn(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in adda_ul_rate_transform()
134 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event()
137 dev_dbg(afe->dev, "%s(), name %s, event 0x%x\n", in mtk_adda_ul_event()
138 __func__, w->name, event); in mtk_adda_ul_event()
[all …]
/kernel/linux/linux-5.10/sound/soc/mediatek/mt6797/
Dmt6797-dai-adda.c1 // SPDX-License-Identifier: GPL-2.0
3 // MediaTek ALSA SoC Audio DAI ADDA Control
10 #include "mt6797-afe-common.h"
11 #include "mt6797-interconnection.h"
12 #include "mt6797-reg.h"
65 dev_warn(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in adda_dl_rate_transform()
88 dev_warn(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in adda_ul_rate_transform()
134 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event()
137 dev_dbg(afe->dev, "%s(), name %s, event 0x%x\n", in mtk_adda_ul_event()
138 __func__, w->name, event); in mtk_adda_ul_event()
[all …]

1234567891011