#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/i2c.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>
#include <media/tuner.h>
#include "tuner-i2c.h"
#include "tda9887.h"
Go to the source code of this file.
|
| | module_param (debug, int, 0644) |
| |
| | MODULE_PARM_DESC (debug,"enable verbose debug messages") |
| |
| | module_param (port1, int, 0644) |
| |
| | module_param (port2, int, 0644) |
| |
| | module_param (qss, int, 0644) |
| |
| | module_param (adjust, int, 0644) |
| |
| struct dvb_frontend * | tda9887_attach (struct dvb_frontend *fe, struct i2c_adapter *i2c_adap, u8 i2c_addr) |
| |
| | EXPORT_SYMBOL_GPL (tda9887_attach) |
| |
| | MODULE_LICENSE ("GPL") |
| |
| #define cAudioIF_4_5 0x00 |
| #define cAudioIF_5_5 0x01 |
| #define cAudioIF_6_0 0x02 |
| #define cAudioIF_6_5 0x03 |
| #define cAutoMuteFmActive 0x02 |
| #define cAutoMuteFmInactive 0x00 |
| #define cDeemphasis50 0x40 |
| #define cDeemphasis75 0x00 |
| #define cDeemphasisOFF 0x00 |
| #define cDeemphasisON 0x20 |
| #define cForcedMuteAudioOFF 0x00 |
| #define cForcedMuteAudioON 0x20 |
| #define cIntercarrier 0x00 |
| #define cNegativeFmTV 0x10 |
| #define cOutputPort1Active 0x00 |
| #define cOutputPort1Inactive 0x40 |
| #define cOutputPort2Active 0x00 |
| #define cOutputPort2Inactive 0x80 |
| #define cPositiveAmTV 0x00 |
| #define cRadioAGC_FM 0x08 |
| #define cRadioAGC_SIF 0x00 |
| #define cRadioIF_33_30 0x00 |
| #define cRadioIF_38_90 0x1C |
| #define cRadioIF_41_30 0x04 |
| #define cRadioIF_45_75 0x18 |
| #define cTunerGainLow 0x20 |
| #define cTunerGainNormal 0x00 |
| #define cVideoIF_33_40 0x14 |
| #define cVideoIF_33_90 0x10 |
| #define cVideoIF_38_00 0x0C |
| #define cVideoIF_38_90 0x08 |
| #define cVideoIF_45_75 0x04 |
| #define cVideoIF_58_75 0x00 |
| #define cVideoIFMask 0x1c |
| #define cVideoTrapBypassOFF 0x00 |
| #define cVideoTrapBypassON 0x01 |
| module_param |
( |
port1 |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
| module_param |
( |
port2 |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
| module_param |
( |
qss |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |