Lines Matching refs:decimator
247 u8 decimator; member
253 u8 decimator; member
652 struct tx_macro *tx, u8 decimator) in is_amic_enabled() argument
656 adc_mux_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG1(decimator); in is_amic_enabled()
663 adc_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG0(decimator); in is_amic_enabled()
688 dec_cfg_reg = CDC_TXn_TX_PATH_CFG0(hpf_work->decimator); in tx_macro_tx_hpf_corner_freq_callback()
689 hpf_gate_reg = CDC_TXn_TX_PATH_SEC2(hpf_work->decimator); in tx_macro_tx_hpf_corner_freq_callback()
691 if (is_amic_enabled(component, tx, hpf_work->decimator)) { in tx_macro_tx_hpf_corner_freq_callback()
723 u8 decimator; in tx_macro_mute_update_callback() local
729 decimator = tx_mute_dwork->decimator; in tx_macro_mute_update_callback()
731 snd_soc_component_write_field(component, CDC_TXn_TX_PATH_CTL(decimator), in tx_macro_mute_update_callback()
914 u8 decimator; in tx_macro_enable_dec() local
923 decimator = w->shift; in tx_macro_enable_dec()
924 tx_vol_ctl_reg = CDC_TXn_TX_PATH_CTL(decimator); in tx_macro_enable_dec()
925 hpf_gate_reg = CDC_TXn_TX_PATH_SEC2(decimator); in tx_macro_enable_dec()
926 dec_cfg_reg = CDC_TXn_TX_PATH_CFG0(decimator); in tx_macro_enable_dec()
927 tx_gain_ctl_reg = CDC_TXn_TX_VOL_CTL(decimator); in tx_macro_enable_dec()
931 adc_mux_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG1(decimator); in tx_macro_enable_dec()
933 adc_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG0(decimator); in tx_macro_enable_dec()
947 tx->dec_mode[decimator]); in tx_macro_enable_dec()
955 if (!is_amic_enabled(component, tx, decimator)) { in tx_macro_enable_dec()
963 tx->tx_hpf_work[decimator].hpf_cut_off_freq = in tx_macro_enable_dec()
971 if (is_amic_enabled(component, tx, decimator)) { in tx_macro_enable_dec()
977 &tx->tx_mute_dwork[decimator].dwork, in tx_macro_enable_dec()
979 if (tx->tx_hpf_work[decimator].hpf_cut_off_freq != CF_MIN_3DB_150HZ) { in tx_macro_enable_dec()
981 &tx->tx_hpf_work[decimator].dwork, in tx_macro_enable_dec()
987 if (!is_amic_enabled(component, tx, decimator)) in tx_macro_enable_dec()
1014 tx->tx_hpf_work[decimator].hpf_cut_off_freq; in tx_macro_enable_dec()
1018 &tx->tx_hpf_work[decimator].dwork)) { in tx_macro_enable_dec()
1024 if (is_amic_enabled(component, tx, decimator)) in tx_macro_enable_dec()
1048 cancel_delayed_work_sync(&tx->tx_mute_dwork[decimator].dwork); in tx_macro_enable_dec()
1130 u8 decimator; in tx_macro_hw_params() local
1163 for_each_set_bit(decimator, &tx->active_ch_mask[dai->id], TX_MACRO_DEC_MAX) in tx_macro_hw_params()
1164 snd_soc_component_update_bits(component, CDC_TXn_TX_PATH_CTL(decimator), in tx_macro_hw_params()
1194 u8 decimator; in tx_macro_digital_mute() local
1200 decimator = tx->active_decimator[dai->id]; in tx_macro_digital_mute()
1204 CDC_TXn_TX_PATH_CTL(decimator), in tx_macro_digital_mute()
1208 CDC_TXn_TX_PATH_CTL(decimator), in tx_macro_digital_mute()
2123 tx->tx_hpf_work[i].decimator = i; in tx_macro_component_probe()
2130 tx->tx_mute_dwork[i].decimator = i; in tx_macro_component_probe()