Lines Matching refs:decimator
245 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()
713 snd_soc_component_write_field(component, CDC_TXn_TX_PATH_CTL(decimator), in tx_macro_mute_update_callback()
857 u8 decimator; in tx_macro_enable_dec() local
866 decimator = w->shift; in tx_macro_enable_dec()
867 tx_vol_ctl_reg = CDC_TXn_TX_PATH_CTL(decimator); in tx_macro_enable_dec()
868 hpf_gate_reg = CDC_TXn_TX_PATH_SEC2(decimator); in tx_macro_enable_dec()
869 dec_cfg_reg = CDC_TXn_TX_PATH_CFG0(decimator); in tx_macro_enable_dec()
870 tx_gain_ctl_reg = CDC_TXn_TX_VOL_CTL(decimator); in tx_macro_enable_dec()
874 adc_mux_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG1(decimator); in tx_macro_enable_dec()
876 adc_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG0(decimator); in tx_macro_enable_dec()
890 tx->dec_mode[decimator]); in tx_macro_enable_dec()
898 if (!is_amic_enabled(component, decimator)) { in tx_macro_enable_dec()
906 tx->tx_hpf_work[decimator].hpf_cut_off_freq = in tx_macro_enable_dec()
914 if (is_amic_enabled(component, decimator)) { in tx_macro_enable_dec()
920 &tx->tx_mute_dwork[decimator].dwork, in tx_macro_enable_dec()
922 if (tx->tx_hpf_work[decimator].hpf_cut_off_freq != CF_MIN_3DB_150HZ) { in tx_macro_enable_dec()
924 &tx->tx_hpf_work[decimator].dwork, in tx_macro_enable_dec()
930 if (!is_amic_enabled(component, decimator)) in tx_macro_enable_dec()
957 tx->tx_hpf_work[decimator].hpf_cut_off_freq; in tx_macro_enable_dec()
961 &tx->tx_hpf_work[decimator].dwork)) { in tx_macro_enable_dec()
967 if (is_amic_enabled(component, decimator)) in tx_macro_enable_dec()
991 cancel_delayed_work_sync(&tx->tx_mute_dwork[decimator].dwork); in tx_macro_enable_dec()
1073 u8 decimator; in tx_macro_hw_params() local
1106 for_each_set_bit(decimator, &tx->active_ch_mask[dai->id], TX_MACRO_DEC_MAX) in tx_macro_hw_params()
1107 snd_soc_component_update_bits(component, CDC_TXn_TX_PATH_CTL(decimator), in tx_macro_hw_params()
1137 u8 decimator; in tx_macro_digital_mute() local
1143 decimator = tx->active_decimator[dai->id]; in tx_macro_digital_mute()
1147 CDC_TXn_TX_PATH_CTL(decimator), in tx_macro_digital_mute()
1151 CDC_TXn_TX_PATH_CTL(decimator), in tx_macro_digital_mute()
1835 tx->tx_hpf_work[i].decimator = i; in tx_macro_component_probe()
1842 tx->tx_mute_dwork[i].decimator = i; in tx_macro_component_probe()