#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/mutex.h>
#include "dvb_frontend.h"
#include "dib0090.h"
#include "dibx000_common.h"
Go to the source code of this file.
|
| module_param (debug, int, 0644) |
|
| MODULE_PARM_DESC (debug,"turn on debugging (default: 0)") |
|
void | dib0090_dcc_freq (struct dvb_frontend *fe, u8 fast) |
|
| EXPORT_SYMBOL (dib0090_dcc_freq) |
|
void | dib0090_pwm_gain_reset (struct dvb_frontend *fe) |
|
| EXPORT_SYMBOL (dib0090_pwm_gain_reset) |
|
void | dib0090_set_dc_servo (struct dvb_frontend *fe, u8 DC_servo_cutoff) |
|
| EXPORT_SYMBOL (dib0090_set_dc_servo) |
|
int | dib0090_gain_control (struct dvb_frontend *fe) |
|
| EXPORT_SYMBOL (dib0090_gain_control) |
|
void | dib0090_get_current_gain (struct dvb_frontend *fe, u16 *rf, u16 *bb, u16 *rf_gain_limit, u16 *rflt) |
|
| EXPORT_SYMBOL (dib0090_get_current_gain) |
|
u16 | dib0090_get_wbd_target (struct dvb_frontend *fe) |
|
| EXPORT_SYMBOL (dib0090_get_wbd_target) |
|
u16 | dib0090_get_wbd_offset (struct dvb_frontend *fe) |
|
| EXPORT_SYMBOL (dib0090_get_wbd_offset) |
|
int | dib0090_set_switch (struct dvb_frontend *fe, u8 sw1, u8 sw2, u8 sw3) |
|
| EXPORT_SYMBOL (dib0090_set_switch) |
|
int | dib0090_set_vga (struct dvb_frontend *fe, u8 onoff) |
|
| EXPORT_SYMBOL (dib0090_set_vga) |
|
int | dib0090_update_rframp_7090 (struct dvb_frontend *fe, u8 cfg_sensitivity) |
|
| EXPORT_SYMBOL (dib0090_update_rframp_7090) |
|
int | dib0090_update_tuning_table_7090 (struct dvb_frontend *fe, u8 cfg_sensitivity) |
|
| EXPORT_SYMBOL (dib0090_update_tuning_table_7090) |
|
enum frontend_tune_state | dib0090_get_tune_state (struct dvb_frontend *fe) |
|
| EXPORT_SYMBOL (dib0090_get_tune_state) |
|
int | dib0090_set_tune_state (struct dvb_frontend *fe, enum frontend_tune_state tune_state) |
|
| EXPORT_SYMBOL (dib0090_set_tune_state) |
|
struct dvb_frontend * | dib0090_register (struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct dib0090_config *config) |
|
| EXPORT_SYMBOL (dib0090_register) |
|
struct dvb_frontend * | dib0090_fw_register (struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct dib0090_config *config) |
|
| EXPORT_SYMBOL (dib0090_fw_register) |
|
| MODULE_AUTHOR ("Patrick Boettcher <[email protected]>") |
|
| MODULE_AUTHOR ("Olivier Grenie <[email protected]>") |
|
| MODULE_DESCRIPTION ("Driver for the DiBcom 0090 base-band RF Tuner") |
|
| MODULE_LICENSE ("GPL") |
|
#define CAP_VALUE_MAX (u8) 40 |
#define CAP_VALUE_MIN (u8) 9 |
#define CONFIG_BAND_CBAND |
#define CONFIG_DIB0090_USE_PWM_AGC |
#define dprintk |
( |
|
args... | ) |
|
Value:do { \
printk(args); \
printk("\n"); \
} \
} while (0)
Definition at line 41 of file dib0090.c.
#define EN_CRYSTAL 0x0002 |
#define EN_DIGCLK 0x0080 /* not in the 0x24 reg, only in 0x1b */ |
#define KROSUS_PLL_LOCKED 0x800 |
#define MP001 0x1 /* Single 9090/8096 */ |
#define MP005 0x4 /* Single Sband */ |
#define MP008 0x6 /* Dual diversity VHF-UHF-LBAND */ |
#define MP009 0x7 /* Dual diversity 29098 CBAND-UHF-LBAND-SBAND */ |
#define pgm_read_word |
( |
|
w | ) |
(*w) |
#define SOC_7090_P1G_11R1 0x82 |
#define SOC_7090_P1G_21R1 0x8a |
#define SOC_8090_P1G_11R1 0x86 |
#define SOC_8090_P1G_21R1 0x8e |
#define steps |
( |
|
u | ) |
(((u) > 15) ? ((u)-16) : (u)) |
#define WBD 0x781 /* 1 1 1 1 0000 0 0 1 */ |
#define WBD 0x781 /* 1 1 1 1 0000 0 0 1 */ |
MODULE_DESCRIPTION |
( |
"Driver for the DiBcom 0090 base-band RF Tuner" |
| ) |
|
MODULE_PARM_DESC |
( |
debug |
, |
|
|
"turn on debugging (default: 0)" |
|
|
) |
| |