Home
last modified time | relevance | path

Searched refs:decimator (Results 1 – 6 of 6) sorted by relevance

/linux/sound/soc/codecs/
H A Dlpass-tx-macro.c246 u8 decimator; member
252 u8 decimator; member
651 struct tx_macro *tx, u8 decimator) in is_amic_enabled() argument
655 adc_mux_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG1(decimator); in is_amic_enabled()
662 adc_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG0(decimator); in is_amic_enabled()
687 dec_cfg_reg = CDC_TXn_TX_PATH_CFG0(hpf_work->decimator); in tx_macro_tx_hpf_corner_freq_callback()
688 hpf_gate_reg = CDC_TXn_TX_PATH_SEC2(hpf_work->decimator); in tx_macro_tx_hpf_corner_freq_callback()
690 if (is_amic_enabled(component, tx, hpf_work->decimator)) { in tx_macro_tx_hpf_corner_freq_callback()
722 u8 decimator; in tx_macro_mute_update_callback() local
728 decimator in tx_macro_mute_update_callback()
913 u8 decimator; tx_macro_enable_dec() local
1129 u8 decimator; tx_macro_hw_params() local
1193 u8 decimator; tx_macro_digital_mute() local
[all...]
H A Dlpass-va-macro.c743 unsigned int decimator; in va_macro_enable_dec() local
750 decimator = w->shift; in va_macro_enable_dec()
753 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_enable_dec()
755 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_enable_dec()
757 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_enable_dec()
759 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_enable_dec()
765 va->dec_mode[decimator] << CDC_VA_ADC_MODE_SHIFT); in va_macro_enable_dec()
857 u32 decimator, sample_rate; in va_macro_hw_params() local
891 for_each_set_bit(decimator, &va->active_ch_mask[dai->id], in va_macro_hw_params()
894 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_hw_params()
[all …]
H A Dwcd9335.c1802 int decimator = -1; in wcd9335_set_decimator_rate()
1811 /* Find the SB TX MUX input - which decimator is connected */ in wcd9335_set_decimator_rate()
1840 decimator = tx_port; in wcd9335_set_decimator_rate()
1843 decimator = ((tx_port == 9) ? 7 : 6); in wcd9335_set_decimator_rate()
1846 decimator = tx_mux_sel - 1; in wcd9335_set_decimator_rate()
1849 decimator = 5; in wcd9335_set_decimator_rate()
1852 if (decimator >= 0) { in wcd9335_set_decimator_rate()
1854 WCD9335_CDC_TX_PATH_CTL(decimator), in wcd9335_set_decimator_rate()
1862 dev_err(wcd->dev, "ERROR: Invalid decimator: %d\n", in wcd9335_set_decimator_rate()
1863 decimator); in wcd9335_set_decimator_rate()
1798 int decimator = -1; wcd9335_set_decimator_rate() local
2720 unsigned int decimator; wcd9335_codec_enable_dec() local
[all...]
H A Dmsm8916-wcd-digital.c602 unsigned int decimator = w->shift + 1; in msm8916_wcd_digital_enable_dec()
607 tx_vol_ctl_reg = LPASS_CDC_TX1_VOL_CTL_CFG + 32 * (decimator - 1); in msm8916_wcd_digital_enable_dec()
608 tx_mux_ctl_reg = LPASS_CDC_TX1_MUX_CTL + 32 * (decimator - 1); in msm8916_wcd_digital_enable_dec()
631 /* apply the digital gain after the decimator is enabled */ in msm8916_wcd_digital_enable_dec()
604 unsigned int decimator = w->shift + 1; msm8916_wcd_digital_enable_dec() local
/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_buffer.c80 u8 decimator; member
109 u32 decimator = max_odr / sensor->hwfifo_odr_mHz; in st_lsm6dsx_get_decimator_val() local
112 if (decimator > 1) in st_lsm6dsx_get_decimator_val()
113 decimator = round_down(decimator, 2); in st_lsm6dsx_get_decimator_val()
116 if (st_lsm6dsx_decimator_table[i].decimator == decimator) in st_lsm6dsx_get_decimator_val()
120 sensor->decimator = decimator; in st_lsm6dsx_get_decimator_val()
180 dec_reg = &hw->settings->decimator[sensor->id]; in st_lsm6dsx_update_decimators()
200 ts_dec_reg = &hw->settings->ts_settings.decimator; in st_lsm6dsx_update_decimators()
442 if (gyro_sip > 0 && !(sip % gyro_sensor->decimator)) { in st_lsm6dsx_read_fifo()
448 if (acc_sip > 0 && !(sip % acc_sensor->decimator)) { in st_lsm6dsx_read_fifo()
[all …]
H A Dst_lsm6dsx_core.c371 .decimator = {
408 .decimator = {
538 .decimator = {
575 .decimator = {
735 .decimator = {
776 .decimator = {
1014 .decimator = {
1230 .decimator = {
1408 .decimator = {