Home
last modified time | relevance | path

Searched refs:ana_gain (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/sound/soc/codecs/
Dmt6358.c88 int ana_gain[AUDIO_ANALOG_VOLUME_TYPE_MAX]; member
434 priv->ana_gain[AUDIO_ANALOG_VOLUME_HPOUTL] = in mt6358_put_volsw()
436 priv->ana_gain[AUDIO_ANALOG_VOLUME_HPOUTR] = in mt6358_put_volsw()
441 priv->ana_gain[AUDIO_ANALOG_VOLUME_LINEOUTL] = in mt6358_put_volsw()
443 priv->ana_gain[AUDIO_ANALOG_VOLUME_LINEOUTR] = in mt6358_put_volsw()
448 priv->ana_gain[AUDIO_ANALOG_VOLUME_HSOUTL] = in mt6358_put_volsw()
450 priv->ana_gain[AUDIO_ANALOG_VOLUME_HSOUTR] = in mt6358_put_volsw()
456 priv->ana_gain[AUDIO_ANALOG_VOLUME_MICAMP1] = in mt6358_put_volsw()
459 priv->ana_gain[AUDIO_ANALOG_VOLUME_MICAMP2] = in mt6358_put_volsw()
933 priv->ana_gain[AUDIO_ANALOG_VOLUME_HPOUTL]); in mtk_hp_enable()
[all …]
Dmt6351.c195 int ana_gain[AUDIO_ANALOG_VOLUME_TYPE_MAX]; member
332 old_idx = priv->ana_gain[AUDIO_ANALOG_VOLUME_HPOUTL]; in hp_gain_ramp_set()
334 idx = priv->ana_gain[AUDIO_ANALOG_VOLUME_HPOUTL]; in hp_gain_ramp_set()
740 priv->ana_gain[AUDIO_ANALOG_VOLUME_HPOUTL] = reg & 0x1f; in mt_hp_event()
741 priv->ana_gain[AUDIO_ANALOG_VOLUME_HPOUTR] = (reg >> 7) & 0x1f; in mt_hp_event()
/Linux-v5.4/drivers/media/dvb-frontends/
Ddib8000.c2060 u16 i, ana_gain = 0; in dib8000_adp_fine_tune() local
2066 ana_gain = 0x7; in dib8000_adp_fine_tune()
2070 ana_gain = 0x7; in dib8000_adp_fine_tune()
2074 ana_gain = 0; in dib8000_adp_fine_tune()
2082 return ana_gain; in dib8000_adp_fine_tune()
2085 static void dib8000_update_ana_gain(struct dib8000_state *state, u16 ana_gain) in dib8000_update_ana_gain() argument
2089 dib8000_write_word(state, 116, ana_gain); in dib8000_update_ana_gain()
2092 if (ana_gain) { /* set -16dB ADC target for ana_gain=-1 */ in dib8000_update_ana_gain()
2346 u16 tmcc_pow = 0, ana_gain = 0, tmp = 0, i = 0, nbseg_diff = 0 ; in dib8000_set_isdbt_common_channel() local
2398 ana_gain = dib8000_adp_fine_tune(state, max_constellation); in dib8000_set_isdbt_common_channel()
[all …]