Lines Matching defs:decimator
245 u8 decimator;
251 u8 decimator;
638 static bool is_amic_enabled(struct snd_soc_component *component, u8 decimator)
642 adc_mux_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG1(decimator);
645 adc_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG0(decimator);
670 dec_cfg_reg = CDC_TXn_TX_PATH_CFG0(hpf_work->decimator);
671 hpf_gate_reg = CDC_TXn_TX_PATH_SEC2(hpf_work->decimator);
673 if (is_amic_enabled(component, hpf_work->decimator)) {
705 u8 decimator;
711 decimator = tx_mute_dwork->decimator;
713 snd_soc_component_write_field(component, CDC_TXn_TX_PATH_CTL(decimator),
857 u8 decimator;
866 decimator = w->shift;
867 tx_vol_ctl_reg = CDC_TXn_TX_PATH_CTL(decimator);
868 hpf_gate_reg = CDC_TXn_TX_PATH_SEC2(decimator);
869 dec_cfg_reg = CDC_TXn_TX_PATH_CFG0(decimator);
870 tx_gain_ctl_reg = CDC_TXn_TX_VOL_CTL(decimator);
874 adc_mux_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG1(decimator);
876 adc_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG0(decimator);
890 tx->dec_mode[decimator]);
898 if (!is_amic_enabled(component, decimator)) {
906 tx->tx_hpf_work[decimator].hpf_cut_off_freq =
914 if (is_amic_enabled(component, decimator)) {
920 &tx->tx_mute_dwork[decimator].dwork,
922 if (tx->tx_hpf_work[decimator].hpf_cut_off_freq != CF_MIN_3DB_150HZ) {
924 &tx->tx_hpf_work[decimator].dwork,
930 if (!is_amic_enabled(component, decimator))
945 /* apply gain after decimator is enabled */
957 tx->tx_hpf_work[decimator].hpf_cut_off_freq;
961 &tx->tx_hpf_work[decimator].dwork)) {
967 if (is_amic_enabled(component, decimator))
991 cancel_delayed_work_sync(&tx->tx_mute_dwork[decimator].dwork);
1073 u8 decimator;
1106 for_each_set_bit(decimator, &tx->active_ch_mask[dai->id], TX_MACRO_DEC_MAX)
1107 snd_soc_component_update_bits(component, CDC_TXn_TX_PATH_CTL(decimator),
1137 u8 decimator;
1139 /* active decimator not set yet */
1143 decimator = tx->active_decimator[dai->id];
1147 CDC_TXn_TX_PATH_CTL(decimator),
1151 CDC_TXn_TX_PATH_CTL(decimator),
1835 tx->tx_hpf_work[i].decimator = i;
1842 tx->tx_mute_dwork[i].decimator = i;