summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis/mantis_link.h
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-04 05:11:14 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 11:55:34 -0200
commit6053240f5cc914d40ac9c7afe15008bf3e46359c (patch)
tree5a7cdd5b07c43722945f9cb7e57b527eb732169d /drivers/media/dvb/mantis/mantis_link.h
parentc9a750c909cbde15ecd0f8545f48e051bfee6271 (diff)
downloadblackbird-obmc-linux-6053240f5cc914d40ac9c7afe15008bf3e46359c.tar.gz
blackbird-obmc-linux-6053240f5cc914d40ac9c7afe15008bf3e46359c.zip
V4L/DVB (13743): [Mantis CA] Use DVB_CA Tuple parser
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_link.h')
-rw-r--r--drivers/media/dvb/mantis/mantis_link.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/media/dvb/mantis/mantis_link.h b/drivers/media/dvb/mantis/mantis_link.h
index 478900ea184d..23ff2d6aadbc 100644
--- a/drivers/media/dvb/mantis/mantis_link.h
+++ b/drivers/media/dvb/mantis/mantis_link.h
@@ -22,6 +22,7 @@
#define __MANTIS_LINK_H
#include <linux/workqueue.h>
+#include "dvb_ca_en50221.h"
enum mantis_sbuf_status {
MANTIS_SBUF_DATA_AVAIL = 1,
@@ -56,8 +57,10 @@ struct mantis_ca {
enum mantis_slot_state slot_state;
- struct dvb_device *ca_dev;
+// struct dvb_device *ca_dev;
void *ca_priv;
+
+ struct dvb_ca_en50221 en50221;
};
/* CA */
@@ -73,7 +76,7 @@ extern int mantis_hif_init(struct mantis_ca *ca);
extern void mantis_hif_exit(struct mantis_ca *ca);
extern int mantis_hif_read_mem(struct mantis_ca *ca, u32 addr);
extern int mantis_hif_write_mem(struct mantis_ca *ca, u32 addr, u8 data);
-extern int mantis_hif_read_iom(struct mantis_ca *ca, u32 addr, u32 count, u32 *data);
-extern int mantis_hif_write_iom(struct mantis_ca *ca, u32 addr, u32 data);
+extern int mantis_hif_read_iom(struct mantis_ca *ca, u32 addr);
+extern int mantis_hif_write_iom(struct mantis_ca *ca, u32 addr, u8 data);
#endif // __MANTIS_LINK_H
OpenPOWER on IntegriCloud