Home
last modified time | relevance | path

Searched full:decimator (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-6.6/sound/soc/codecs/
Dcs42l43.c56 { name_str, "Decimator 1", "Decimator 1" }, \
57 { name_str, "Decimator 2", "Decimator 2" }, \
58 { name_str, "Decimator 3", "Decimator 3" }, \
59 { name_str, "Decimator 4", "Decimator 4" }, \
166 "Decimator 1 Switch",
167 "Decimator 2 Switch",
168 "Decimator 3 Switch",
169 "Decimator 4 Switch",
661 SOC_DAPM_ENUM("Decimator 1 Mode", cs42l43_dec1_mode),
662 SOC_DAPM_ENUM("Decimator 2 Mode", cs42l43_dec2_mode),
[all …]
Dlpass-tx-macro.c245 u8 decimator; member
251 u8 decimator; member
638 static bool is_amic_enabled(struct snd_soc_component *component, u8 decimator) in is_amic_enabled() argument
642 adc_mux_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG1(decimator); in is_amic_enabled()
645 adc_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG0(decimator); in is_amic_enabled()
670 dec_cfg_reg = CDC_TXn_TX_PATH_CFG0(hpf_work->decimator); in tx_macro_tx_hpf_corner_freq_callback()
671 hpf_gate_reg = CDC_TXn_TX_PATH_SEC2(hpf_work->decimator); in tx_macro_tx_hpf_corner_freq_callback()
673 if (is_amic_enabled(component, hpf_work->decimator)) { in tx_macro_tx_hpf_corner_freq_callback()
705 u8 decimator; in tx_macro_mute_update_callback() local
711 decimator = tx_mute_dwork->decimator; in tx_macro_mute_update_callback()
[all …]
Dadau1761.c496 SND_SOC_DAPM_MUX("Left Decimator Mux", SND_SOC_NOPM, 0, 0,
498 SND_SOC_DAPM_MUX("Right Decimator Mux", SND_SOC_NOPM, 0, 0,
505 { "Left Decimator Mux", "ADC", "Left Input Mixer" },
506 { "Left Decimator Mux", "DMIC", "DMIC" },
507 { "Right Decimator Mux", "ADC", "Right Input Mixer" },
508 { "Right Decimator Mux", "DMIC", "DMIC" },
510 { "Left Decimator", NULL, "Left Decimator Mux" },
511 { "Right Decimator", NULL, "Right Decimator Mux" },
515 { "Left Decimator", NULL, "Left Input Mixer" },
516 { "Right Decimator", NULL, "Right Input Mixer" },
[all …]
Dadau17x1.c153 SND_SOC_DAPM_ADC_E("Left Decimator", NULL, ADAU17X1_ADC_CONTROL, 0, 0,
155 SND_SOC_DAPM_ADC("Right Decimator", NULL, ADAU17X1_ADC_CONTROL, 1, 0),
161 { "Left Decimator", NULL, "SYSCLK" },
162 { "Right Decimator", NULL, "SYSCLK" },
270 "Decimator",
301 { "Capture Mux", "Decimator", "Left Decimator" },
302 { "Capture Mux", "Decimator", "Right Decimator" },
308 { "DSP", NULL, "Left Decimator" },
309 { "DSP", NULL, "Right Decimator" },
320 { "Capture", NULL, "Left Decimator" },
[all …]
Dadau1781.c260 { "Left Decimator", NULL, "ADC Engine" },
261 { "Right Decimator", NULL, "ADC Engine" },
281 { "Left Decimator", NULL, "Left PGA" },
282 { "Right Decimator", NULL, "Right PGA" },
312 { "Left Decimator", NULL, "DMIC Select" },
313 { "Right Decimator", NULL, "DMIC Select" },
Dlpass-va-macro.c727 unsigned int decimator; in va_macro_enable_dec() local
734 decimator = w->shift; in va_macro_enable_dec()
737 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_enable_dec()
739 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_enable_dec()
741 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_enable_dec()
743 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_enable_dec()
749 va->dec_mode[decimator] << CDC_VA_ADC_MODE_SHIFT); in va_macro_enable_dec()
794 /* apply gain after decimator is enabled */ in va_macro_enable_dec()
841 u32 decimator, sample_rate; in va_macro_hw_params() local
875 for_each_set_bit(decimator, &va->active_ch_mask[dai->id], in va_macro_hw_params()
[all …]
Dadau1372.c238 SOC_DAPM_ENUM("Decimator 0+1 Capture Mux", adau1372_decimator0_1_mux_enum);
244 SOC_DAPM_ENUM("Decimator 2+3 Capture Mux", adau1372_decimator2_3_mux_enum);
384 SND_SOC_DAPM_SUPPLY("Output ASRC0 Decimator", ADAU1372_REG_DECIM_PWR, 4, 0, NULL, 0),
385 SND_SOC_DAPM_SUPPLY("Output ASRC1 Decimator", ADAU1372_REG_DECIM_PWR, 5, 0, NULL, 0),
386 SND_SOC_DAPM_SUPPLY("Output ASRC2 Decimator", ADAU1372_REG_DECIM_PWR, 6, 0, NULL, 0),
387 SND_SOC_DAPM_SUPPLY("Output ASRC3 Decimator", ADAU1372_REG_DECIM_PWR, 7, 0, NULL, 0),
511 { "Output ASRC0 Mux", NULL, "Output ASRC0 Decimator" },
512 { "Output ASRC1 Mux", NULL, "Output ASRC1 Decimator" },
513 { "Output ASRC2 Mux", NULL, "Output ASRC2 Decimator" },
514 { "Output ASRC3 Mux", NULL, "Output ASRC3 Decimator" },
Dwcd9335.c1801 int decimator = -1; in wcd9335_set_decimator_rate() local
1810 /* Find the SB TX MUX input - which decimator is connected */ in wcd9335_set_decimator_rate()
1839 decimator = tx_port; in wcd9335_set_decimator_rate()
1842 decimator = ((tx_port == 9) ? 7 : 6); in wcd9335_set_decimator_rate()
1845 decimator = tx_mux_sel - 1; in wcd9335_set_decimator_rate()
1848 decimator = 5; in wcd9335_set_decimator_rate()
1851 if (decimator >= 0) { in wcd9335_set_decimator_rate()
1853 WCD9335_CDC_TX_PATH_CTL(decimator), in wcd9335_set_decimator_rate()
1861 dev_err(wcd->dev, "ERROR: Invalid decimator: %d\n", in wcd9335_set_decimator_rate()
1862 decimator); in wcd9335_set_decimator_rate()
[all …]
Dadau1373.c578 SOC_DAPM_ENUM("Decimator Mux", adau1373_decimator_enum);
692 SND_SOC_DAPM_MUX("Decimator Mux", SND_SOC_NOPM, 0, 0,
855 { _sink, "ADC/DMIC1 Swapped Switch", "Decimator Mux" }, \
856 { _sink, "ADC/DMIC1 Switch", "Decimator Mux" }, \
904 { "Decimator Mux", "ADC", "Left ADC" },
905 { "Decimator Mux", "ADC", "Right ADC" },
906 { "Decimator Mux", "DMIC1", "DMIC1" },
Dmsm8916-wcd-digital.c604 unsigned int decimator = w->shift + 1; in msm8916_wcd_digital_enable_dec() local
609 tx_vol_ctl_reg = LPASS_CDC_TX1_VOL_CTL_CFG + 32 * (decimator - 1); in msm8916_wcd_digital_enable_dec()
610 tx_mux_ctl_reg = LPASS_CDC_TX1_MUX_CTL + 32 * (decimator - 1); in msm8916_wcd_digital_enable_dec()
633 /* apply the digital gain after the decimator is enabled */ in msm8916_wcd_digital_enable_dec()
946 /* Decimator Inputs */
Dwcd934x.c1642 int decimator = -1; in wcd934x_set_decimator_rate() local
1646 /* Find the SB TX MUX input - which decimator is connected */ in wcd934x_set_decimator_rate()
1686 decimator = tx_port; in wcd934x_set_decimator_rate()
1690 decimator = ((tx_port == 9) ? 7 : 6); in wcd934x_set_decimator_rate()
1694 decimator = tx_mux_sel - 1; in wcd934x_set_decimator_rate()
1698 decimator = 5; in wcd934x_set_decimator_rate()
1707 WCD934X_CDC_TX_PATH_CTL(decimator), in wcd934x_set_decimator_rate()
1855 dev_err(wcd->dev, "Cannot set TX Decimator rate\n"); in wcd934x_hw_params()
4983 unsigned int decimator; in wcd934x_codec_enable_dec() local
5000 dev_err(comp->dev, "%s: Invalid decimator = %s\n", in wcd934x_codec_enable_dec()
[all …]
Duda1380.c110 /* the interpolator & decimator regs must only be written when the in uda1380_write()
335 SOC_SINGLE("DC Filter Bypass Switch", UDA1380_ADC, 1, 1, 0), /* SKIP_DCFIL (before decimator) */
336 …SOC_SINGLE("DC Filter Enable Switch", UDA1380_ADC, 0, 1, 0), /* EN_DCFIL (at output of decimator)…
/kernel/linux/linux-5.10/sound/soc/codecs/
Dadau1761.c496 SND_SOC_DAPM_MUX("Left Decimator Mux", SND_SOC_NOPM, 0, 0,
498 SND_SOC_DAPM_MUX("Right Decimator Mux", SND_SOC_NOPM, 0, 0,
505 { "Left Decimator Mux", "ADC", "Left Input Mixer" },
506 { "Left Decimator Mux", "DMIC", "DMIC" },
507 { "Right Decimator Mux", "ADC", "Right Input Mixer" },
508 { "Right Decimator Mux", "DMIC", "DMIC" },
510 { "Left Decimator", NULL, "Left Decimator Mux" },
511 { "Right Decimator", NULL, "Right Decimator Mux" },
515 { "Left Decimator", NULL, "Left Input Mixer" },
516 { "Right Decimator", NULL, "Right Input Mixer" },
[all …]
Dadau17x1.c154 SND_SOC_DAPM_ADC_E("Left Decimator", NULL, ADAU17X1_ADC_CONTROL, 0, 0,
156 SND_SOC_DAPM_ADC("Right Decimator", NULL, ADAU17X1_ADC_CONTROL, 1, 0),
162 { "Left Decimator", NULL, "SYSCLK" },
163 { "Right Decimator", NULL, "SYSCLK" },
271 "Decimator",
302 { "Capture Mux", "Decimator", "Left Decimator" },
303 { "Capture Mux", "Decimator", "Right Decimator" },
309 { "DSP", NULL, "Left Decimator" },
310 { "DSP", NULL, "Right Decimator" },
321 { "Capture", NULL, "Left Decimator" },
[all …]
Dadau1781.c260 { "Left Decimator", NULL, "ADC Engine" },
261 { "Right Decimator", NULL, "ADC Engine" },
281 { "Left Decimator", NULL, "Left PGA" },
282 { "Right Decimator", NULL, "Right PGA" },
312 { "Left Decimator", NULL, "DMIC Select" },
313 { "Right Decimator", NULL, "DMIC Select" },
Dwcd9335.c1795 int decimator = -1; in wcd9335_set_decimator_rate() local
1804 /* Find the SB TX MUX input - which decimator is connected */ in wcd9335_set_decimator_rate()
1835 decimator = tx_port; in wcd9335_set_decimator_rate()
1838 decimator = ((tx_port == 9) ? 7 : 6); in wcd9335_set_decimator_rate()
1841 decimator = tx_mux_sel - 1; in wcd9335_set_decimator_rate()
1844 decimator = 5; in wcd9335_set_decimator_rate()
1847 if (decimator >= 0) { in wcd9335_set_decimator_rate()
1849 WCD9335_CDC_TX_PATH_CTL(decimator), in wcd9335_set_decimator_rate()
1857 dev_err(wcd->dev, "ERROR: Invalid decimator: %d\n", in wcd9335_set_decimator_rate()
1858 decimator); in wcd9335_set_decimator_rate()
[all …]
Dwcd934x.c1558 int decimator = -1; in wcd934x_set_decimator_rate() local
1562 /* Find the SB TX MUX input - which decimator is connected */ in wcd934x_set_decimator_rate()
1602 decimator = tx_port; in wcd934x_set_decimator_rate()
1606 decimator = ((tx_port == 9) ? 7 : 6); in wcd934x_set_decimator_rate()
1610 decimator = tx_mux_sel - 1; in wcd934x_set_decimator_rate()
1614 decimator = 5; in wcd934x_set_decimator_rate()
1623 WCD934X_CDC_TX_PATH_CTL(decimator), in wcd934x_set_decimator_rate()
1771 dev_err(wcd->dev, "Cannot set TX Decimator rate\n"); in wcd934x_hw_params()
4185 unsigned int decimator; in wcd934x_codec_enable_dec() local
4202 dev_err(comp->dev, "%s: Invalid decimator = %s\n", in wcd934x_codec_enable_dec()
[all …]
Dadau1373.c579 SOC_DAPM_ENUM("Decimator Mux", adau1373_decimator_enum);
693 SND_SOC_DAPM_MUX("Decimator Mux", SND_SOC_NOPM, 0, 0,
856 { _sink, "ADC/DMIC1 Swapped Switch", "Decimator Mux" }, \
857 { _sink, "ADC/DMIC1 Switch", "Decimator Mux" }, \
905 { "Decimator Mux", "ADC", "Left ADC" },
906 { "Decimator Mux", "ADC", "Right ADC" },
907 { "Decimator Mux", "DMIC1", "DMIC1" },
Dmsm8916-wcd-digital.c604 unsigned int decimator = w->shift + 1; in msm8916_wcd_digital_enable_dec() local
609 tx_vol_ctl_reg = LPASS_CDC_TX1_VOL_CTL_CFG + 32 * (decimator - 1); in msm8916_wcd_digital_enable_dec()
610 tx_mux_ctl_reg = LPASS_CDC_TX1_MUX_CTL + 32 * (decimator - 1); in msm8916_wcd_digital_enable_dec()
633 /* apply the digital gain after the decimator is enabled */ in msm8916_wcd_digital_enable_dec()
946 /* Decimator Inputs */
Duda1380.c110 /* the interpolator & decimator regs must only be written when the in uda1380_write()
335 SOC_SINGLE("DC Filter Bypass Switch", UDA1380_ADC, 1, 1, 0), /* SKIP_DCFIL (before decimator) */
336 …SOC_SINGLE("DC Filter Enable Switch", UDA1380_ADC, 0, 1, 0), /* EN_DCFIL (at output of decimator)…
/kernel/linux/linux-6.6/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c57 u8 decimator; member
86 u32 decimator = max_odr / sensor->odr; in st_lsm6dsx_get_decimator_val() local
89 if (decimator > 1) in st_lsm6dsx_get_decimator_val()
90 decimator = round_down(decimator, 2); in st_lsm6dsx_get_decimator_val()
93 if (st_lsm6dsx_decimator_table[i].decimator == decimator) in st_lsm6dsx_get_decimator_val()
97 sensor->decimator = decimator; in st_lsm6dsx_get_decimator_val()
157 dec_reg = &hw->settings->decimator[sensor->id]; in st_lsm6dsx_update_decimators()
173 * update hw ts decimator if necessary. Decimator for hw timestamp in st_lsm6dsx_update_decimators()
177 ts_dec_reg = &hw->settings->ts_settings.decimator; in st_lsm6dsx_update_decimators()
419 if (gyro_sip > 0 && !(sip % gyro_sensor->decimator)) { in st_lsm6dsx_read_fifo()
[all …]
Dst_lsm6dsx.h191 * @decimator: Hw timer FIFO decimator register info (addr + mask).
198 struct st_lsm6dsx_reg decimator; member
305 * @decimator: List of decimator register info (addr + mask).
338 struct st_lsm6dsx_reg decimator[ST_LSM6DSX_MAX_ID]; member
369 * @decimator: Sensor decimation factor.
384 u8 decimator; member
/kernel/linux/linux-5.10/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c56 u8 decimator; member
85 u32 decimator = max_odr / sensor->odr; in st_lsm6dsx_get_decimator_val() local
88 if (decimator > 1) in st_lsm6dsx_get_decimator_val()
89 decimator = round_down(decimator, 2); in st_lsm6dsx_get_decimator_val()
92 if (st_lsm6dsx_decimator_table[i].decimator == decimator) in st_lsm6dsx_get_decimator_val()
96 sensor->decimator = decimator; in st_lsm6dsx_get_decimator_val()
156 dec_reg = &hw->settings->decimator[sensor->id]; in st_lsm6dsx_update_decimators()
172 * update hw ts decimator if necessary. Decimator for hw timestamp in st_lsm6dsx_update_decimators()
176 ts_dec_reg = &hw->settings->ts_settings.decimator; in st_lsm6dsx_update_decimators()
415 if (gyro_sip > 0 && !(sip % gyro_sensor->decimator)) { in st_lsm6dsx_read_fifo()
[all …]
Dst_lsm6dsx.h162 * @decimator: Hw timer FIFO decimator register info (addr + mask).
169 struct st_lsm6dsx_reg decimator; member
277 * @decimator: List of decimator register info (addr + mask).
310 struct st_lsm6dsx_reg decimator[ST_LSM6DSX_MAX_ID]; member
340 * @decimator: Sensor decimation factor.
354 u8 decimator; member
Dst_lsm6dsx_core.c310 .decimator = {
346 .decimator = {
476 .decimator = {
512 .decimator = {
651 .decimator = {
691 .decimator = {
899 .decimator = {
1104 .decimator = {
1283 .decimator = {

12