summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/au8522.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-04-05 20:55:14 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-13 07:15:57 -0200
commitadeeac3b7989ad9f03651e9224c9c63e221d4310 (patch)
treec969ddd4d4ff0c45f2d41e690f6290ca1e0e07fc /drivers/media/dvb/frontends/au8522.h
parent641015ab2c452e8e554625e2a8e95218182acb4b (diff)
downloadlwn-adeeac3b7989ad9f03651e9224c9c63e221d4310.tar.gz
lwn-adeeac3b7989ad9f03651e9224c9c63e221d4310.zip
V4L/DVB (9149): hvr950q: led feedback based on snr
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/au8522.h')
-rw-r--r--drivers/media/dvb/frontends/au8522.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/au8522.h b/drivers/media/dvb/frontends/au8522.h
index 595915ade8c3..7b94f554a093 100644
--- a/drivers/media/dvb/frontends/au8522.h
+++ b/drivers/media/dvb/frontends/au8522.h
@@ -30,6 +30,21 @@ enum au8522_if_freq {
AU8522_IF_3_25MHZ,
};
+struct au8522_led_config {
+ u16 vsb8_strong;
+ u16 qam64_strong;
+ u16 qam256_strong;
+
+ u16 gpio_output;
+ /* unset hi bits, set low bits */
+ u16 gpio_output_enable;
+ u16 gpio_output_disable;
+
+ u16 gpio_leds;
+ u8 *led_states;
+ unsigned int num_led_states;
+};
+
struct au8522_config {
/* the demodulator's i2c address */
u8 demod_address;
@@ -39,6 +54,8 @@ struct au8522_config {
#define AU8522_DEMODLOCKING 1
u8 status_mode;
+ struct au8522_led_config *led_cfg;
+
enum au8522_if_freq vsb_if;
enum au8522_if_freq qam_if;
};