Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | dibx000_i2c_master |
struct | dibx000_agc_config |
struct | dibx000_bandwidth_config |
struct | dvb_frontend_parametersContext |
struct | dibGPIOFunction |
struct | dibSubbandSelection |
Functions | |
int | dibx000_init_i2c_master (struct dibx000_i2c_master *mst, u16 device_rev, struct i2c_adapter *i2c_adap, u8 i2c_addr) |
struct i2c_adapter * | dibx000_get_i2c_adapter (struct dibx000_i2c_master *mst, enum dibx000_i2c_interface intf, int gating) |
void | dibx000_exit_i2c_master (struct dibx000_i2c_master *mst) |
void | dibx000_reset_i2c_master (struct dibx000_i2c_master *mst) |
int | dibx000_i2c_set_speed (struct i2c_adapter *i2c_adap, u16 speed) |
u32 | systime (void) |
#define ADC_ON_DIBTX 3 |
Definition at line 275 of file dibx000_common.h.
#define BAND_CBAND 0x20 |
Definition at line 57 of file dibx000_common.h.
#define BAND_FM 0x10 |
Definition at line 56 of file dibx000_common.h.
#define BAND_LBAND 0x01 |
Definition at line 52 of file dibx000_common.h.
#define BAND_OF_FREQUENCY | ( | freq_kHz | ) |
Definition at line 59 of file dibx000_common.h.
#define BAND_SBAND 0x08 |
Definition at line 55 of file dibx000_common.h.
#define BAND_UHF 0x02 |
Definition at line 53 of file dibx000_common.h.
#define BAND_VHF 0x04 |
Definition at line 54 of file dibx000_common.h.
Definition at line 150 of file dibx000_common.h.
Definition at line 149 of file dibx000_common.h.
#define BOARD_GPIO_COMPONENT_BUS_ADAPTER 1 |
Definition at line 233 of file dibx000_common.h.
#define BOARD_GPIO_COMPONENT_DEMOD 2 |
Definition at line 234 of file dibx000_common.h.
#define BOARD_GPIO_FUNCTION_BOARD_OFF 2 |
Definition at line 238 of file dibx000_common.h.
#define BOARD_GPIO_FUNCTION_BOARD_ON 1 |
Definition at line 237 of file dibx000_common.h.
#define BOARD_GPIO_FUNCTION_COMPONENT_OFF 4 |
Definition at line 240 of file dibx000_common.h.
#define BOARD_GPIO_FUNCTION_COMPONENT_ON 3 |
Definition at line 239 of file dibx000_common.h.
#define BOARD_GPIO_FUNCTION_SUBBAND_GPIO 6 |
Definition at line 242 of file dibx000_common.h.
#define BOARD_GPIO_FUNCTION_SUBBAND_PWM 5 |
Definition at line 241 of file dibx000_common.h.
#define CHANNEL_STATUS_PARAMETERS_SET 0x02 |
Definition at line 207 of file dibx000_common.h.
#define CHANNEL_STATUS_PARAMETERS_UNKNOWN 0x01 |
Definition at line 206 of file dibx000_common.h.
#define DATA_BUS_ACCESS_MODE_16BIT 0x02 |
Definition at line 229 of file dibx000_common.h.
#define DATA_BUS_ACCESS_MODE_8BIT 0x01 |
Definition at line 228 of file dibx000_common.h.
#define DATA_BUS_ACCESS_MODE_NO_ADDRESS_INCREMENT 0x10 |
Definition at line 230 of file dibx000_common.h.
#define DEMOD_TIMF_GET 0x01 |
Definition at line 270 of file dibx000_common.h.
#define DEMOD_TIMF_SET 0x00 |
Definition at line 269 of file dibx000_common.h.
#define DEMOD_TIMF_UPDATE 0x02 |
Definition at line 271 of file dibx000_common.h.
#define DEMOUT_ON_HOSTBUS 4 |
Definition at line 276 of file dibx000_common.h.
#define DIB3000MC 1 |
Definition at line 12 of file dibx000_common.h.
#define DIB7000 2 |
Definition at line 13 of file dibx000_common.h.
#define DIB7000MC 12 |
Definition at line 15 of file dibx000_common.h.
#define DIB7000P 11 |
Definition at line 14 of file dibx000_common.h.
#define DIB8000 13 |
Definition at line 16 of file dibx000_common.h.
#define DIBTX_ON_HOSTBUS 5 |
Definition at line 277 of file dibx000_common.h.
#define DIV_ON_DIBTX 2 |
Definition at line 274 of file dibx000_common.h.
#define FE_CALLBACK_TIME_NEVER 0xffffffff |
Definition at line 224 of file dibx000_common.h.
#define FE_STATUS_DATA_LOCKED -8 |
Definition at line 222 of file dibx000_common.h.
#define FE_STATUS_DEMOD_SUCCESS -6 |
Definition at line 220 of file dibx000_common.h.
#define FE_STATUS_FFT_SUCCESS -5 |
Definition at line 219 of file dibx000_common.h.
#define FE_STATUS_LOCKED -7 |
Definition at line 221 of file dibx000_common.h.
#define FE_STATUS_STD_SUCCESS -4 |
Definition at line 218 of file dibx000_common.h.
#define FE_STATUS_TUNE_FAILED 0 |
Definition at line 214 of file dibx000_common.h.
#define FE_STATUS_TUNE_PENDING -3 |
Definition at line 217 of file dibx000_common.h.
#define FE_STATUS_TUNE_TIME_TOO_SHORT -2 |
Definition at line 216 of file dibx000_common.h.
#define FE_STATUS_TUNE_TIMED_OUT -1 |
Definition at line 215 of file dibx000_common.h.
#define INPUT_MODE_DIVERSITY 0x12 |
Definition at line 162 of file dibx000_common.h.
#define INPUT_MODE_MPEG 0x13 |
Definition at line 163 of file dibx000_common.h.
#define INPUT_MODE_OFF 0x11 |
Definition at line 161 of file dibx000_common.h.
#define MAX_NB_SUBBANDS 8 |
Definition at line 260 of file dibx000_common.h.
#define MPEG_ON_DIBTX 1 |
Definition at line 273 of file dibx000_common.h.
#define MPEG_ON_HOSTBUS 6 |
Definition at line 278 of file dibx000_common.h.
#define OUTMODE_ANALOG_ADC 6 |
Definition at line 159 of file dibx000_common.h.
#define OUTMODE_DIVERSITY 4 |
Definition at line 157 of file dibx000_common.h.
#define OUTMODE_HIGH_Z 0 |
Definition at line 153 of file dibx000_common.h.
#define OUTMODE_MPEG2_FIFO 5 |
Definition at line 158 of file dibx000_common.h.
#define OUTMODE_MPEG2_PAR_CONT_CLK 2 |
Definition at line 155 of file dibx000_common.h.
#define OUTMODE_MPEG2_PAR_GATED_CLK 1 |
Definition at line 154 of file dibx000_common.h.
#define OUTMODE_MPEG2_SERIAL 7 |
Definition at line 156 of file dibx000_common.h.
enum dibx000_adc_states |
DIBX000_SLOW_ADC_ON | |
DIBX000_SLOW_ADC_OFF | |
DIBX000_ADC_ON | |
DIBX000_ADC_OFF | |
DIBX000_VBG_ENABLE | |
DIBX000_VBG_DISABLE |
Definition at line 140 of file dibx000_common.h.
DIBX000_I2C_INTERFACE_TUNER | |
DIBX000_I2C_INTERFACE_GPIO_1_2 | |
DIBX000_I2C_INTERFACE_GPIO_3_4 | |
DIBX000_I2C_INTERFACE_GPIO_6_7 |
Definition at line 4 of file dibx000_common.h.
enum frontend_tune_state |
Definition at line 165 of file dibx000_common.h.
void dibx000_exit_i2c_master | ( | struct dibx000_i2c_master * | mst | ) |
Definition at line 494 of file dibx000_common.c.
|
read |
Definition at line 370 of file dibx000_common.c.
int dibx000_i2c_set_speed | ( | struct i2c_adapter * | i2c_adap, |
u16 | speed | ||
) |
Definition at line 175 of file dibx000_common.c.
int dibx000_init_i2c_master | ( | struct dibx000_i2c_master * | mst, |
u16 | device_rev, | ||
struct i2c_adapter * | i2c_adap, | ||
u8 | i2c_addr | ||
) |
Definition at line 430 of file dibx000_common.c.
void dibx000_reset_i2c_master | ( | struct dibx000_i2c_master * | mst | ) |
Definition at line 403 of file dibx000_common.c.
Definition at line 504 of file dibx000_common.c.