Home
last modified time | relevance | path

Searched +full:filter +full:- +full:notch +full:- +full:freq (Results 1 – 14 of 14) sorted by relevance

/linux/sound/soc/codecs/
H A Dwm8940.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8940.c -- WM8940 ALSA Soc Audio driver
12 * Notch filter control
120 { 0x10, 0x0000 }, /* Notch Filter 1 Control 1 */
121 { 0x11, 0x0000 }, /* Notch Filter 1 Control 2 */
122 { 0x12, 0x0000 }, /* Notch Filter 2 Control 1 */
123 { 0x13, 0x0000 }, /* Notch Filter 2 Control 2 */
124 { 0x14, 0x0000 }, /* Notch Filter 3 Control 1 */
125 { 0x15, 0x0000 }, /* Notch Filter 3 Control 2 */
126 { 0x16, 0x0000 }, /* Notch Filter 4 Control 1 */
[all …]
H A Dwm8985.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8985.c -- WM8985 / WM8758 ALSA SoC Audio driver
49 { 1, 0x0000 }, /* R1 - Power management 1 */
50 { 2, 0x0000 }, /* R2 - Power management 2 */
51 { 3, 0x0000 }, /* R3 - Power management 3 */
52 { 4, 0x0050 }, /* R4 - Audio Interface */
53 { 5, 0x0000 }, /* R5 - Companding control */
54 { 6, 0x0140 }, /* R6 - Clock Gen control */
55 { 7, 0x0000 }, /* R7 - Additional control */
56 { 8, 0x0000 }, /* R8 - GPIO Control */
[all …]
H A Dwm8983.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8983.c -- WM8983 ALSA SoC Audio driver
29 { 0x01, 0x0000 }, /* R1 - Power management 1 */
30 { 0x02, 0x0000 }, /* R2 - Power management 2 */
31 { 0x03, 0x0000 }, /* R3 - Power management 3 */
32 { 0x04, 0x0050 }, /* R4 - Audio Interface */
33 { 0x05, 0x0000 }, /* R5 - Companding control */
34 { 0x06, 0x0140 }, /* R6 - Clock Gen control */
35 { 0x07, 0x0000 }, /* R7 - Additional control */
36 { 0x08, 0x0000 }, /* R8 - GPIO Control */
[all …]
H A Dcs53l30.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cs53l30.c -- CS53l30 ALSA Soc Audio driver
166 static DECLARE_TLV_DB_SCALE(pga_tlv, -600, 50, 0);
167 static DECLARE_TLV_DB_SCALE(dig_tlv, -9600, 100, 1);
245 * TB - Time base
264 "-64dB/-34dB", "-66dB/-36dB", "-70dB/-40dB", "-73dB/-43dB",
265 "-76dB/-46dB", "-82dB/-52dB", "-58dB", "-64dB",
292 SOC_SINGLE("Digital Soft-Ramp Switch", CS53L30_SFT_RAMP,
306 SOC_SINGLE("ADC1 Notch Filter Switch", CS53L30_ADCDMIC1_CTL2,
308 SOC_SINGLE("ADC2 Notch Filter Switch", CS53L30_ADCDMIC2_CTL2,
[all …]
H A Des8316.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * es8316.c -- es8316 ALSA SoC audio driver
6 * Authors: David Yang <yangxiaohua@everest-semi.com>,
21 #include <sound/soc-dapm.h>
50 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9600, 50, 1);
51 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9600, 50, 1);
52 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_max_gain_tlv, -650, 150, 0);
53 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_min_gain_tlv, -1200, 150, 0);
56 0, 10, TLV_DB_SCALE_ITEM(-1650, 150, 0),
57 11, 11, TLV_DB_SCALE_ITEM(-150, 0, 0),
[all …]
H A Dwm8996.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm8996.c - WM8996 audio codec interface
5 * Copyright 2011-2 Wolfson Microelectronics PLC.
108 regcache_mark_dirty(wm8996->regmap); \
299 static const DECLARE_TLV_DB_SCALE(sidetone_tlv, -3600, 150, 0);
300 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7200, 75, 1);
301 static const DECLARE_TLV_DB_SCALE(out_digital_tlv, -1200, 150, 0);
302 static const DECLARE_TLV_DB_SCALE(out_tlv, -900, 75, 0);
303 static const DECLARE_TLV_DB_SCALE(spk_tlv, -900, 150, 0);
304 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0);
[all …]
H A Dcs42l42.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cs42l42.c -- CS42L42 ALSA SoC audio driver
29 #include <sound/soc-dapm.h>
32 #include <dt-bindings/sound/cs42l42.h>
400 static DECLARE_TLV_DB_SCALE(adc_tlv, -9700, 100, true);
401 static DECLARE_TLV_DB_SCALE(mixer_tlv, -6300, 100, true);
410 switch (ucontrol->value.integer.value[0]) { in cs42l42_slow_start_put()
418 return -EINVAL; in cs42l42_slow_start_put()
443 /* ADC Volume and Filter Controls */
444 SOC_SINGLE("ADC Notch Switch", CS42L42_ADC_CTL,
[all …]
/linux/drivers/iio/adc/
H A Dad7192.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2011-2015 Analog Devices Inc.
11 #include <linux/clk-provider.h>
35 #define AD7192_REG_COMM 0 /* Communications Register (WO, 8-bit) */
36 #define AD7192_REG_STAT 0 /* Status Register (RO, 8-bit) */
37 #define AD7192_REG_MODE 1 /* Mode Register (RW, 24-bit */
38 #define AD7192_REG_CONF 2 /* Configuration Register (RW, 24-bit) */
39 #define AD7192_REG_DATA 3 /* Data Register (RO, 24/32-bit) */
40 #define AD7192_REG_ID 4 /* ID Register (RO, 8-bit) */
41 #define AD7192_REG_GPOCON 5 /* GPOCON Register (RO, 8-bit) */
[all …]
/linux/drivers/media/pci/cx18/
H A Dcx18-av-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Derived from cx25840-core.c
11 #include "cx18-driver.h"
12 #include "cx18-io.h"
13 #include "cx18-cards.h"
90 * The crystal freq used in calculations in this driver will be in cx18_av_init()
106 /* xtal * 0xe.2913d68/0x16 = 48000 * 384: 406 MHz pre post-div*/ in cx18_av_init()
127 /* enable sleep mode - register appears to be read only... */ in cx18_av_initialize()
167 * Disable Video Auto-config of the Analog Front End and Video PLL. in cx18_av_initialize()
171 * 0x102 (CXADEC_CHIP_CTRL), 0x104-0x106 (CXADEC_AFE_CTRL), in cx18_av_initialize()
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8852c.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2022 Realtek Corporation
20 RTW8852C_FW_BASENAME "-" __stringify(RTW8852C_FW_FORMAT_MAX) ".bin"
393 ether_addr_copy(efuse->addr, map->e.mac_addr); in rtw8852c_e_efuse_parsing()
394 efuse->rfe_type = map->rfe_type; in rtw8852c_e_efuse_parsing()
395 efuse->xtal_cap = map->xtal_k; in rtw8852c_e_efuse_parsing()
401 struct rtw89_tssi_info *tssi = &rtwdev->tssi; in rtw8852c_efuse_parsing_tssi()
402 struct rtw8852c_tssi_offset *ofst[] = {&map->path_a_tssi, &map->path_b_tssi}; in rtw8852c_efuse_parsing_tssi()
403 u8 *bw40_1s_tssi_6g_ofst[] = {map->bw40_1s_tssi_6g_a, map->bw40_1s_tssi_6g_b}; in rtw8852c_efuse_parsing_tssi()
406 tssi->thermal[RF_PATH_A] = map->path_a_therm; in rtw8852c_efuse_parsing_tssi()
[all …]
/linux/drivers/media/dvb-frontends/
H A Dcxd2841er.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * CXD2841ER - DVB-S/S2/T/T2/C/C2
7 * CXD2854ER - DVB-S/S2/T/T2/C/C2, ISDB-T/S
35 /* DVB-C constellation */
207 dev_dbg(&priv->i2c->dev, in cxd2841er_i2c_debug()
218 priv->i2c_addr_slvx : priv->i2c_addr_slvt); in cxd2841er_write_regs()
229 dev_warn(&priv->i2c->dev, "wr reg=%04x: len=%d is too big!\n", in cxd2841er_write_regs()
231 return -E2BIG; in cxd2841er_write_regs()
238 ret = i2c_transfer(priv->i2c, msg, 1); in cxd2841er_write_regs()
240 ret = -EIO; in cxd2841er_write_regs()
[all …]
H A Ddib7000p.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Linux-DVB Driver for DiBcom's second generation DiB7000P (PC).
5 * Copyright (C) 2005-7 DiBcom (http://www.dibcom.fr/)
27 MODULE_PARM_DESC(buggy_sfn_workaround, "Enable work-around for buggy SFNs (default: 0)");
99 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib7000p_read_word()
104 state->i2c_write_buffer[0] = reg >> 8; in dib7000p_read_word()
105 state->i2c_write_buffer[1] = reg & 0xff; in dib7000p_read_word()
107 memset(state->msg, 0, 2 * sizeof(struct i2c_msg)); in dib7000p_read_word()
108 state->msg[0].addr = state->i2c_addr >> 1; in dib7000p_read_word()
109 state->msg[0].flags = 0; in dib7000p_read_word()
[all …]
/linux/drivers/media/tuners/
H A Dtda8290.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 #include "tuner-i2c.h"
26 MODULE_PARM_DESC(deemphasis_50, "0 - 75us deemphasis; 1 - 50us deemphasis");
28 /* ---------------------------------------------------------------------- */
48 /*---------------------------------------------------------------------*/
52 struct tda8290_priv *priv = fe->analog_demod_priv; in tda8290_i2c_bridge()
60 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); in tda8290_i2c_bridge()
65 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); in tda8290_i2c_bridge()
73 struct tda8290_priv *priv = fe->analog_demod_priv; in tda8295_i2c_bridge()
82 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); in tda8295_i2c_bridge()
[all …]
/linux/drivers/iio/temperature/
H A Dltc2983.c1 // SPDX-License-Identifier: GPL-2.0
3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System
60 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG)
62 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG)
312 * instance a resolution of 2^-10 means we have 10 fractional bits.
326 s64 __res = -(s32)val; in __convert_to_raw_sign()
330 return (u32)-__res; in __convert_to_raw_sign()
337 const struct device *dev = &st->spi->dev; in __ltc2983_fault_handler()
341 return -EIO; in __ltc2983_fault_handler()
354 u32 reg = LTC2983_CHAN_START_ADDR(sensor->chan); in __ltc2983_chan_assign_common()
[all …]