Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | stb0899_tab |
struct | stb0899_params |
struct | stb0899_internal |
struct | stb0899_state |
Macros | |
#define | FE_ERROR 0 |
#define | FE_NOTICE 1 |
#define | FE_INFO 2 |
#define | FE_DEBUG 3 |
#define | FE_DEBUGREG 4 |
#define | dprintk(x, y, z, format, arg...) |
#define | INRANGE(val, x, y) |
#define | BYTE0 0 |
#define | BYTE1 8 |
#define | BYTE2 16 |
#define | BYTE3 24 |
#define | GETBYTE(x, y) (((x) >> (y)) & 0xff) |
#define | MAKEWORD32(a, b, c, d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d)) |
#define | MAKEWORD16(a, b) (((a) << 8) | (b)) |
#define | LSB(x) ((x & 0xff)) |
#define | MSB(y) ((y >> 8) & 0xff) |
#define | STB0899_GETFIELD(bitf, val) ((val >> STB0899_OFFST_##bitf) & ((1 << STB0899_WIDTH_##bitf) - 1)) |
#define | STB0899_SETFIELD(mask, val, width, offset) |
#define | STB0899_SETFIELD_VAL(bitf, mask, val) |
#define | STB0899_READ_S2REG(DEVICE, REG) (_stb0899_read_s2reg(state, DEVICE, STB0899_BASE_##REG, STB0899_OFF0_##REG)) |
Functions | |
int | stb0899_read_reg (struct stb0899_state *state, unsigned int reg) |
u32 | _stb0899_read_s2reg (struct stb0899_state *state, u32 stb0899_i2cdev, u32 stb0899_base_addr, u16 stb0899_reg_offset) |
int | stb0899_read_regs (struct stb0899_state *state, unsigned int reg, u8 *buf, u32 count) |
int | stb0899_write_regs (struct stb0899_state *state, unsigned int reg, u8 *data, u32 count) |
int | stb0899_write_reg (struct stb0899_state *state, unsigned int reg, u8 data) |
int | stb0899_write_s2reg (struct stb0899_state *state, u32 stb0899_i2cdev, u32 stb0899_base_addr, u16 stb0899_reg_offset, u32 stb0899_data) |
int | stb0899_i2c_gate_ctrl (struct dvb_frontend *fe, int enable) |
enum stb0899_status | stb0899_dvbs_algo (struct stb0899_state *state) |
enum stb0899_status | stb0899_dvbs2_algo (struct stb0899_state *state) |
long | stb0899_carr_width (struct stb0899_state *state) |
#define BYTE0 0 |
Definition at line 53 of file stb0899_priv.h.
#define BYTE1 8 |
Definition at line 54 of file stb0899_priv.h.
#define BYTE2 16 |
Definition at line 55 of file stb0899_priv.h.
#define BYTE3 24 |
Definition at line 56 of file stb0899_priv.h.
Definition at line 34 of file stb0899_priv.h.
#define FE_DEBUG 3 |
Definition at line 31 of file stb0899_priv.h.
#define FE_DEBUGREG 4 |
Definition at line 32 of file stb0899_priv.h.
#define FE_ERROR 0 |
Definition at line 28 of file stb0899_priv.h.
#define FE_INFO 2 |
Definition at line 30 of file stb0899_priv.h.
#define FE_NOTICE 1 |
Definition at line 29 of file stb0899_priv.h.
Definition at line 62 of file stb0899_priv.h.
Definition at line 59 of file stb0899_priv.h.
Definition at line 63 of file stb0899_priv.h.
#define STB0899_GETFIELD | ( | bitf, | |
val | |||
) | ((val >> STB0899_OFFST_##bitf) & ((1 << STB0899_WIDTH_##bitf) - 1)) |
Definition at line 66 of file stb0899_priv.h.
#define STB0899_READ_S2REG | ( | DEVICE, | |
REG | |||
) | (_stb0899_read_s2reg(state, DEVICE, STB0899_BASE_##REG, STB0899_OFF0_##REG)) |
Definition at line 255 of file stb0899_priv.h.
enum stb0899_alpha |
Definition at line 136 of file stb0899_priv.h.
enum stb0899_fec |
STB0899_FEC_1_2 | |
STB0899_FEC_2_3 | |
STB0899_FEC_3_4 | |
STB0899_FEC_5_6 | |
STB0899_FEC_6_7 | |
STB0899_FEC_7_8 |
Definition at line 147 of file stb0899_priv.h.
enum stb0899_frame |
Definition at line 131 of file stb0899_priv.h.
enum stb0899_modcod |
Definition at line 99 of file stb0899_priv.h.
enum stb0899_status |
NOAGC1 | |
AGC1OK | |
NOTIMING | |
ANALOGCARRIER | |
TIMINGOK | |
NOAGC2 | |
AGC2OK | |
NOCARRIER | |
CARRIEROK | |
NODATA | |
FALSELOCK | |
DATAOK | |
OUTOFRANGE | |
RANGEOK | |
DVBS2_DEMOD_LOCK | |
DVBS2_DEMOD_NOLOCK | |
DVBS2_FEC_LOCK | |
DVBS2_FEC_NOLOCK |
Definition at line 78 of file stb0899_priv.h.
u32 _stb0899_read_s2reg | ( | struct stb0899_state * | state, |
u32 | stb0899_i2cdev, | ||
u32 | stb0899_base_addr, | ||
u16 | stb0899_reg_offset | ||
) |
Definition at line 275 of file stb0899_drv.c.
long stb0899_carr_width | ( | struct stb0899_state * | state | ) |
Definition at line 131 of file stb0899_algo.c.
enum stb0899_status stb0899_dvbs2_algo | ( | struct stb0899_state * | state | ) |
Definition at line 1306 of file stb0899_algo.c.
enum stb0899_status stb0899_dvbs_algo | ( | struct stb0899_state * | state | ) |
Definition at line 492 of file stb0899_algo.c.
int stb0899_i2c_gate_ctrl | ( | struct dvb_frontend * | fe, |
int | enable | ||
) |
Definition at line 1227 of file stb0899_drv.c.
int stb0899_read_reg | ( | struct stb0899_state * | state, |
unsigned int | reg | ||
) |
Definition at line 258 of file stb0899_drv.c.
Definition at line 448 of file stb0899_drv.c.
int stb0899_write_reg | ( | struct stb0899_state * | state, |
unsigned int | reg, | ||
u8 | data | ||
) |
Definition at line 542 of file stb0899_drv.c.
Definition at line 499 of file stb0899_drv.c.
int stb0899_write_s2reg | ( | struct stb0899_state * | state, |
u32 | stb0899_i2cdev, | ||
u32 | stb0899_base_addr, | ||
u16 | stb0899_reg_offset, | ||
u32 | stb0899_data | ||
) |
Definition at line 375 of file stb0899_drv.c.