summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/b2c2/flexcop-common.h
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2005-06-22 18:53:25 +0000
committerPatrick Boettcher <devnull@localhost>2005-06-22 18:53:25 +0000
commitb7edecd715cc1c362ace64ebd925f6fb40a8967f (patch)
tree3170828f049dae7a96bdf713b6c026ad2efd8fcf /linux/drivers/media/dvb/b2c2/flexcop-common.h
parentbf26c70f504763809544095c38f614bea587c3ac (diff)
downloadmediapointer-dvb-s2-b7edecd715cc1c362ace64ebd925f6fb40a8967f.tar.gz
mediapointer-dvb-s2-b7edecd715cc1c362ace64ebd925f6fb40a8967f.tar.bz2
no-data (IRQ-stop) problem (partially) fixed by resetting register 0x300 at each data_rcv-stop
small change in register-struct restructured code in dma-handling (added some comments regarding FCIIb limitations) debug-messages and irq-watchdog (disabled by default, but maybe needed later) added Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/b2c2/flexcop-common.h')
-rw-r--r--linux/drivers/media/dvb/b2c2/flexcop-common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/b2c2/flexcop-common.h b/linux/drivers/media/dvb/b2c2/flexcop-common.h
index 773d15803..a94912ac1 100644
--- a/linux/drivers/media/dvb/b2c2/flexcop-common.h
+++ b/linux/drivers/media/dvb/b2c2/flexcop-common.h
@@ -108,6 +108,8 @@ void flexcop_device_kfree(struct flexcop_device*);
int flexcop_device_initialize(struct flexcop_device*);
void flexcop_device_exit(struct flexcop_device *fc);
+void flexcop_reset_block_300(struct flexcop_device *fc);
+
/* from flexcop-dma.c */
int flexcop_dma_allocate(struct pci_dev *pdev, struct flexcop_dma *dma, u32 size);
void flexcop_dma_free(struct flexcop_dma *dma);
@@ -115,7 +117,8 @@ void flexcop_dma_free(struct flexcop_dma *dma);
int flexcop_dma_control_timer_irq(struct flexcop_device *fc, flexcop_dma_index_t no, int onoff);
int flexcop_dma_control_size_irq(struct flexcop_device *fc, flexcop_dma_index_t no, int onoff);
int flexcop_dma_control_packet_irq(struct flexcop_device *fc, flexcop_dma_index_t no, int onoff);
-int flexcop_dma_config(struct flexcop_device *fc, struct flexcop_dma *dma, flexcop_dma_index_t dma_idx,flexcop_dma_addr_index_t index);
+int flexcop_dma_config(struct flexcop_device *fc, struct flexcop_dma *dma, flexcop_dma_index_t dma_idx);
+int flexcop_dma_xfer_control(struct flexcop_device *fc, flexcop_dma_index_t dma_idx, flexcop_dma_addr_index_t index, int onoff);
int flexcop_dma_config_timer(struct flexcop_device *fc, flexcop_dma_index_t dma_idx, u8 cycles);
int flexcop_dma_config_packet_count(struct flexcop_device *fc, flexcop_dma_index_t dma_idx, u8 packets);
@@ -151,6 +154,7 @@ int flexcop_sram_init(struct flexcop_device *fc);
/* from flexcop-misc.c */
void flexcop_determine_revision(struct flexcop_device *fc);
void flexcop_device_name(struct flexcop_device *fc,const char *prefix,const char *suffix);
+void flexcop_dump_reg(struct flexcop_device *fc, flexcop_ibi_register reg, int num);
/* from flexcop-hw-filter.c */
int flexcop_pid_feed_control(struct flexcop_device *fc, struct dvb_demux_feed *dvbdmxfeed, int onoff);