Lines Matching full:decimator
1795 int decimator = -1; in wcd9335_set_decimator_rate() local
1804 /* Find the SB TX MUX input - which decimator is connected */ in wcd9335_set_decimator_rate()
1835 decimator = tx_port; in wcd9335_set_decimator_rate()
1838 decimator = ((tx_port == 9) ? 7 : 6); in wcd9335_set_decimator_rate()
1841 decimator = tx_mux_sel - 1; in wcd9335_set_decimator_rate()
1844 decimator = 5; in wcd9335_set_decimator_rate()
1847 if (decimator >= 0) { in wcd9335_set_decimator_rate()
1849 WCD9335_CDC_TX_PATH_CTL(decimator), in wcd9335_set_decimator_rate()
1857 dev_err(wcd->dev, "ERROR: Invalid decimator: %d\n", in wcd9335_set_decimator_rate()
1858 decimator); in wcd9335_set_decimator_rate()
1927 dev_err(wcd->dev, "Cannot set TX Decimator rate\n"); in wcd9335_hw_params()
2717 unsigned int decimator; in wcd9335_codec_enable_dec() local
2734 dev_err(comp->dev, "%s: Invalid decimator = %s\n", in wcd9335_codec_enable_dec()
2743 dev_err(comp->dev, "%s: decimator index not found\n", in wcd9335_codec_enable_dec()
2749 ret = kstrtouint(dec, 10, &decimator); in wcd9335_codec_enable_dec()
2751 dev_err(comp->dev, "%s: Invalid decimator = %s\n", in wcd9335_codec_enable_dec()
2757 tx_vol_ctl_reg = WCD9335_CDC_TX0_TX_PATH_CTL + 16 * decimator; in wcd9335_codec_enable_dec()
2758 hpf_gate_reg = WCD9335_CDC_TX0_TX_PATH_SEC2 + 16 * decimator; in wcd9335_codec_enable_dec()
2759 dec_cfg_reg = WCD9335_CDC_TX0_TX_PATH_CFG0 + 16 * decimator; in wcd9335_codec_enable_dec()
2760 tx_gain_ctl_reg = WCD9335_CDC_TX0_TX_VOL_CTL + 16 * decimator; in wcd9335_codec_enable_dec()
2764 amic_n = wcd9335_codec_find_amic_input(comp, decimator); in wcd9335_codec_enable_dec()
2808 if (decimator == 0) { in wcd9335_codec_enable_dec()