]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/media/tuner.h
Move LOG_BUF_SHIFT to a more sensible place
[linux-2.6-omap-h63xx.git] / include / media / tuner.h
index 2f7b00b08e8817224c5827ab09e7f13bd376d883..6dcf3c45707d637518aef5b74d700fe8b2d261d7 100644 (file)
@@ -23,6 +23,7 @@
 #define _TUNER_H
 
 #include <linux/videodev2.h>
+#include <linux/i2c.h>
 #include <media/tuner-types.h>
 
 extern int tuner_debug;
@@ -144,6 +145,8 @@ extern int tuner_debug;
 #define TDA9887_DEEMPHASIS_50          (2<<16)
 #define TDA9887_DEEMPHASIS_75          (3<<16)
 #define TDA9887_AUTOMUTE               (1<<18)
+#define TDA9887_GATING_18              (1<<19)
+#define TDA9887_GAIN_NORMAL            (1<<20)
 
 #ifdef __KERNEL__
 
@@ -175,6 +178,8 @@ struct tuner_setup {
        unsigned short  addr;   /* I2C address */
        unsigned int    type;   /* Tuner type */
        unsigned int    mode_mask;  /* Allowed tuner modes */
+       unsigned int    config; /* configuraion for more complex tuners */
+       int (*tuner_callback) (void *dev, int command,int arg);
 };
 
 struct tuner {
@@ -209,6 +214,9 @@ struct tuner {
        unsigned char tda827x_ver;
        unsigned int sgIF;
 
+       unsigned int config;
+       int (*tuner_callback) (void *dev, int command,int arg);
+
        /* function ptrs */
        void (*set_tv_freq)(struct i2c_client *c, unsigned int freq);
        void (*set_radio_freq)(struct i2c_client *c, unsigned int freq);