X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=kernel-2.6.28%2Fsound%2Fsoc%2Fcodecs%2Ftlv320aic3x.h;fp=kernel-2.6.28%2Fsound%2Fsoc%2Fcodecs%2Ftlv320aic3x.h;h=1e71f08d1d5bd6859487e315d5972ce85cc52955;hb=73b3a14c93124179fea8d9e83f0ebac429e850ab;hp=eb1a5a2aa65fede1ab3851f262f35ca1208fbae2;hpb=b5b52432c643decdd96e02b009c150d309cb741e;p=aic34-eq diff --git a/kernel-2.6.28/sound/soc/codecs/tlv320aic3x.h b/kernel-2.6.28/sound/soc/codecs/tlv320aic3x.h index eb1a5a2..1e71f08 100644 --- a/kernel-2.6.28/sound/soc/codecs/tlv320aic3x.h +++ b/kernel-2.6.28/sound/soc/codecs/tlv320aic3x.h @@ -288,6 +288,19 @@ enum { AIC3X_GPIO2_FUNC_BUTTON_PRESS_IRQ = 15 }; +/* Data for reading/writing to the IIR Filter hwdep */ +struct aic3x_iir_coeffs { + short N0, N1, N2, D1, D2; + short N3, N4, N5, D4, D5; +}; + +int aic3x_deemph_set_coeffs(struct snd_soc_codec *codec, + int N0, int N1, int D1); +int aic3x_deemph_set_state(struct snd_soc_codec *codec, int state); +int aic3x_dacfilter_set_coeffs + (struct snd_soc_codec *codec, struct aic3x_iir_coeffs *coeffs); +int aic3x_dacfilter_set_state(struct snd_soc_codec *codec, int state); + void aic3x_set_gpio(struct snd_soc_codec *codec, int gpio, int state); int aic3x_get_gpio(struct snd_soc_codec *codec, int gpio); int aic3x_headset_detected(struct snd_soc_codec *codec);