0001
0002
0003
0004
0005
0006
0007
0008 #ifndef MN88472_H
0009 #define MN88472_H
0010
0011 #include <linux/dvb/frontend.h>
0012
0013
0014 #define VARIABLE_TS_CLOCK MN88472_TS_CLK_VARIABLE
0015 #define FIXED_TS_CLOCK MN88472_TS_CLK_FIXED
0016 #define SERIAL_TS_MODE MN88472_TS_MODE_SERIAL
0017 #define PARALLEL_TS_MODE MN88472_TS_MODE_PARALLEL
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028 struct mn88472_config {
0029 unsigned int xtal;
0030
0031 #define MN88472_TS_MODE_SERIAL 0
0032 #define MN88472_TS_MODE_PARALLEL 1
0033 int ts_mode;
0034
0035 #define MN88472_TS_CLK_FIXED 0
0036 #define MN88472_TS_CLK_VARIABLE 1
0037 int ts_clock;
0038
0039 u16 i2c_wr_max;
0040
0041
0042
0043
0044
0045
0046 struct dvb_frontend **fe;
0047 struct dvb_frontend* (*get_dvb_frontend)(struct i2c_client *);
0048 };
0049
0050 #endif