#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/videodev2.h>
#include <linux/delay.h>
#include <linux/dvb/frontend.h>
#include <linux/i2c.h>
#include "dvb_frontend.h"
#include "xc5000.h"
#include "tuner-i2c.h"
Go to the source code of this file.
#define DK_SECAM_A2DK1 12 |
#define DK_SECAM_A2LDK3 13 |
#define DK_SECAM_A2MONO 14 |
#define FM_Radio_INPUT1 22 |
#define FM_Radio_INPUT1_MONO 23 |
#define FM_Radio_INPUT2 21 |
#define I_PAL_NICAM_MONO 8 |
#define LC_SECAM_NICAM 16 |
#define MAX_TV_STANDARD 24 |
#define MN_NTSC_PAL_BTSC 0 |
#define MN_NTSC_PAL_EIAJ 2 |
#define MN_NTSC_PAL_Mono 3 |
#define XC5000A_FIRMWARE "dvb-fe-xc5000-1.6.114.fw" |
#define XC5000C_FIRMWARE "dvb-fe-xc5000c-4.1.30.7.fw" |
#define XC_MAX_I2C_WRITE_LENGTH 64 |
#define XC_PRODUCT_ID_FW_LOADED 0x1388 |
#define XC_PRODUCT_ID_FW_NOT_LOADED 0x2000 |
#define XC_RESULT_I2C_READ_FAILURE 3 |
#define XC_RESULT_I2C_WRITE_FAILURE 2 |
#define XC_RESULT_OUT_OF_RANGE 5 |
#define XC_RESULT_RESET_FAILURE 1 |
#define XC_RESULT_SUCCESS 0 |
#define XC_RF_MODE_CABLE 1 |
#define XC_TUNE_DIGITAL 1 |
#define XREG_ADC_ENV 0x00 |
#define XREG_AUDIO_MODE 0x02 |
#define XREG_DDIMODE 0x11 |
#define XREG_FINERFREQ 0x10 |
#define XREG_FRAME_LINES 0x02 |
#define XREG_FREQ_ERROR 0x05 |
#define XREG_FW_CHECKSUM 0x12 |
#define XREG_HSYNC_FREQ 0x03 |
#define XREG_INIT_STATUS 0x13 |
#define XREG_OUTPUT_AMP 0x0B |
#define XREG_POWER_DOWN 0x0A /* Obsolete */ |
#define XREG_PRODUCT_ID 0x08 |
#define XREG_QUALITY 0x01 |
#define XREG_RF_FREQ 0x03 |
#define XREG_SEEK_MODE 0x07 |
#define XREG_SIGNALSOURCE 0x0D /* 0=Air, 1=Cable */ |
#define XREG_SMOOTHEDCVBS 0x0E |
#define XREG_TOTALGAIN 0x0F |
#define XREG_VERSION 0x07 |
#define XREG_VIDEO_MODE 0x01 |
#define XREG_XTALFREQ 0x0F |
MODULE_AUTHOR |
( |
"Steven Toth" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Xceive xc5000 silicon tuner driver" |
| ) |
|
module_param |
( |
no_poweroff |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
debug |
, |
|
|
"Turn on/off debugging (default:off)." |
|
|
) |
| |