Go to the documentation of this file.
27 #include <linux/types.h>
28 #include <linux/sched.h>
30 #include <linux/i2c.h>
35 #include <linux/socket.h>
47 #define DDB_MAX_PORT 4
48 #define DDB_MAX_INPUT 8
49 #define DDB_MAX_OUTPUT 4
62 #define INPUT_DMA_MAX_BUFS 32
63 #define INPUT_DMA_BUFS 8
64 #define INPUT_DMA_SIZE (128*47*21)
66 #define OUTPUT_DMA_MAX_BUFS 32
67 #define OUTPUT_DMA_BUFS 8
68 #define OUTPUT_DMA_SIZE (128*47*21)
141 #define DDB_PORT_NONE 0
142 #define DDB_PORT_CI 1
143 #define DDB_PORT_TUNER 2
145 #define DDB_TUNER_NONE 0
146 #define DDB_TUNER_DVBS_ST 1
147 #define DDB_TUNER_DVBS_ST_AA 2
148 #define DDB_TUNER_DVBCT_TR 16
149 #define DDB_TUNER_DVBCT_ST 17
175 #define ddbwritel(_val, _adr) writel((_val), \
176 (char *) (dev->regs+(_adr)))
177 #define ddbreadl(_adr) readl((char *) (dev->regs+(_adr)))
178 #define ddbcpyto(_adr, _src, _count) memcpy_toio((char *) \
179 (dev->regs+(_adr)), (_src), (_count))
180 #define ddbcpyfrom(_dst, _adr, _count) memcpy_fromio((_dst), (char *) \
181 (dev->regs+(_adr)), (_count))