Lines Matching refs:decimator

241 	u32 decimator;  member
247 u8 decimator; member
630 static bool is_amic_enabled(struct snd_soc_component *component, int decimator) in is_amic_enabled() argument
634 adc_mux_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG1(decimator); in is_amic_enabled()
637 adc_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG0(decimator); in is_amic_enabled()
662 dec_cfg_reg = CDC_TXn_TX_PATH_CFG0(hpf_work->decimator); in tx_macro_tx_hpf_corner_freq_callback()
663 hpf_gate_reg = CDC_TXn_TX_PATH_SEC2(hpf_work->decimator); in tx_macro_tx_hpf_corner_freq_callback()
665 if (is_amic_enabled(component, hpf_work->decimator)) { in tx_macro_tx_hpf_corner_freq_callback()
697 u8 decimator; in tx_macro_mute_update_callback() local
703 decimator = tx_mute_dwork->decimator; in tx_macro_mute_update_callback()
705 snd_soc_component_write_field(component, CDC_TXn_TX_PATH_CTL(decimator), in tx_macro_mute_update_callback()
835 unsigned int decimator; in tx_macro_enable_dec() local
844 decimator = w->shift; in tx_macro_enable_dec()
845 tx_vol_ctl_reg = CDC_TXn_TX_PATH_CTL(decimator); in tx_macro_enable_dec()
846 hpf_gate_reg = CDC_TXn_TX_PATH_SEC2(decimator); in tx_macro_enable_dec()
847 dec_cfg_reg = CDC_TXn_TX_PATH_CFG0(decimator); in tx_macro_enable_dec()
848 tx_gain_ctl_reg = CDC_TXn_TX_VOL_CTL(decimator); in tx_macro_enable_dec()
852 adc_mux_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG1(decimator); in tx_macro_enable_dec()
854 adc_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG0(decimator); in tx_macro_enable_dec()
868 tx->dec_mode[decimator]); in tx_macro_enable_dec()
876 if (!is_amic_enabled(component, decimator)) { in tx_macro_enable_dec()
884 tx->tx_hpf_work[decimator].hpf_cut_off_freq = in tx_macro_enable_dec()
892 if (is_amic_enabled(component, decimator)) { in tx_macro_enable_dec()
898 &tx->tx_mute_dwork[decimator].dwork, in tx_macro_enable_dec()
900 if (tx->tx_hpf_work[decimator].hpf_cut_off_freq != CF_MIN_3DB_150HZ) { in tx_macro_enable_dec()
902 &tx->tx_hpf_work[decimator].dwork, in tx_macro_enable_dec()
908 if (!is_amic_enabled(component, decimator)) in tx_macro_enable_dec()
935 tx->tx_hpf_work[decimator].hpf_cut_off_freq; in tx_macro_enable_dec()
939 &tx->tx_hpf_work[decimator].dwork)) { in tx_macro_enable_dec()
945 if (is_amic_enabled(component, decimator)) in tx_macro_enable_dec()
969 cancel_delayed_work_sync(&tx->tx_mute_dwork[decimator].dwork); in tx_macro_enable_dec()
1047 u32 decimator, sample_rate; in tx_macro_hw_params() local
1080 for_each_set_bit(decimator, &tx->active_ch_mask[dai->id], TX_MACRO_DEC_MAX) in tx_macro_hw_params()
1081 snd_soc_component_update_bits(component, CDC_TXn_TX_PATH_CTL(decimator), in tx_macro_hw_params()
1111 u16 decimator; in tx_macro_digital_mute() local
1113 decimator = tx->active_decimator[dai->id]; in tx_macro_digital_mute()
1117 CDC_TXn_TX_PATH_CTL(decimator), in tx_macro_digital_mute()
1121 CDC_TXn_TX_PATH_CTL(decimator), in tx_macro_digital_mute()
1662 tx->tx_hpf_work[i].decimator = i; in tx_macro_component_probe()
1669 tx->tx_mute_dwork[i].decimator = i; in tx_macro_component_probe()