summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/bt8xx/bt878.h
diff options
context:
space:
mode:
authorFlorian Schirmer <devnull@localhost>2003-01-25 16:25:48 +0000
committerFlorian Schirmer <devnull@localhost>2003-01-25 16:25:48 +0000
commit20f38ee4089ddef8a057920c8ded5b67fd24bd60 (patch)
treeae376aa3626c959aa6d64d1d74dfc1a1db366116 /linux/drivers/media/dvb/bt8xx/bt878.h
parent79dbc09e09d48ebb4a087f003789a8bf22d2cc13 (diff)
downloadmediapointer-dvb-s2-20f38ee4089ddef8a057920c8ded5b67fd24bd60.tar.gz
mediapointer-dvb-s2-20f38ee4089ddef8a057920c8ded5b67fd24bd60.tar.bz2
- Rewritten RISC programm
- Push sync handling down to DVB API - Major fixes
Diffstat (limited to 'linux/drivers/media/dvb/bt8xx/bt878.h')
-rw-r--r--linux/drivers/media/dvb/bt8xx/bt878.h23
1 files changed, 16 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/bt878.h b/linux/drivers/media/dvb/bt8xx/bt878.h
index adbb74145..5676f7708 100644
--- a/linux/drivers/media/dvb/bt8xx/bt878.h
+++ b/linux/drivers/media/dvb/bt8xx/bt878.h
@@ -87,12 +87,22 @@ struct bt878 {
unsigned int irq;
unsigned long bt878_adr;
unsigned char *bt878_mem;
- int nbuffers;
- int buffersize;
- int framesize;
- int allocbufsize;
- void *buffer;
- void *riscprog;
+
+ u32 finished_block;
+ u32 last_block;
+ u32 block_count;
+ u32 block_bytes;
+ u32 line_bytes;
+ u32 line_count;
+
+ u32 buf_size;
+ u8 *buf_cpu;
+ dma_addr_t buf_dma;
+
+ u32 risc_size;
+ u32 *risc_cpu;
+ dma_addr_t risc_dma;
+ u32 risc_pos;
int writebuf;
int readbuf;
@@ -103,7 +113,6 @@ struct bt878 {
int shutdown;
};
-int bt878_get_buffers(struct bt878 *bt, int bpl, int lpf, int nbufs, int sync);
void bt878_start(struct bt878 *bt, u32 controlreg);
void bt878_stop(struct bt878 *bt);
#endif