#ifndef __STB0899_PRIV_H
#define __STB0899_PRIV_H
#include <media/dvb_frontend.h>
#include "stb0899_drv.h"
#define FE_ERROR …
#define FE_NOTICE …
#define FE_INFO …
#define FE_DEBUG …
#define FE_DEBUGREG …
#define dprintk(x, y, z, format, arg...) …
#define INRANGE(val, x, y) …
#define BYTE0 …
#define BYTE1 …
#define BYTE2 …
#define BYTE3 …
#define GETBYTE(x, y) …
#define MAKEWORD32(a, b, c, d) …
#define MAKEWORD16(a, b) …
#define LSB(x) …
#define MSB(y) …
#define STB0899_GETFIELD(bitf, val) …
#define STB0899_SETFIELD(mask, val, width, offset) …
#define STB0899_SETFIELD_VAL(bitf, mask, val) …
enum stb0899_status { … };
enum stb0899_modcod { … };
enum stb0899_frame { … };
enum stb0899_alpha { … };
struct stb0899_tab { … };
enum stb0899_fec { … };
struct stb0899_params { … };
struct stb0899_internal { … };
struct stb0899_state { … };
extern int stb0899_read_reg(struct stb0899_state *state,
unsigned int reg);
extern u32 _stb0899_read_s2reg(struct stb0899_state *state,
u32 stb0899_i2cdev,
u32 stb0899_base_addr,
u16 stb0899_reg_offset);
extern int stb0899_read_regs(struct stb0899_state *state,
unsigned int reg, u8 *buf,
u32 count);
extern int stb0899_write_regs(struct stb0899_state *state,
unsigned int reg, u8 *data,
u32 count);
extern int stb0899_write_reg(struct stb0899_state *state,
unsigned int reg,
u8 data);
extern int stb0899_write_s2reg(struct stb0899_state *state,
u32 stb0899_i2cdev,
u32 stb0899_base_addr,
u16 stb0899_reg_offset,
u32 stb0899_data);
extern int stb0899_i2c_gate_ctrl(struct dvb_frontend *fe, int enable);
#define STB0899_READ_S2REG(DEVICE, REG) …
extern enum stb0899_status stb0899_dvbs_algo(struct stb0899_state *state);
extern enum stb0899_status stb0899_dvbs2_algo(struct stb0899_state *state);
extern long stb0899_carr_width(struct stb0899_state *state);
#endif