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:09:47 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 11:55:34 -0200
commitd8b14f8a76d71c84622a211f57baf15f61cc9703 (patch)
tree7af98c74163d9cb078a96cd25859cc1a0d805e1c /drivers/media/dvb/mantis/mantis_link.h
parent12855cac87218d0c92ffdebb7270cec040cf5a6a (diff)
downloadblackbird-obmc-linux-d8b14f8a76d71c84622a211f57baf15f61cc9703.tar.gz
blackbird-obmc-linux-d8b14f8a76d71c84622a211f57baf15f61cc9703.zip
V4L/DVB (13741): [Mantis] Implement HIF Mem Read/Write operations
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.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/media/dvb/mantis/mantis_link.h b/drivers/media/dvb/mantis/mantis_link.h
index 33b39b781d2e..8862502866c5 100644
--- a/drivers/media/dvb/mantis/mantis_link.h
+++ b/drivers/media/dvb/mantis/mantis_link.h
@@ -31,6 +31,8 @@ enum mantis_sbuf_status {
struct mantis_slot {
u32 timeout;
+ u32 slave_cfg;
+ u32 bar;
};
/* Physical layer */
@@ -40,7 +42,7 @@ enum mantis_slot_state {
};
struct mantis_ca {
- struct mantis_slot slot;
+ struct mantis_slot slot[4];
struct work_struct hif_evm_work;
@@ -66,4 +68,10 @@ extern void mantis_pcmcia_exit(struct mantis_ca *ca);
extern int mantis_evmgr_init(struct mantis_ca *ca);
extern void mantis_evmgr_exit(struct mantis_ca *ca);
+/* HIF */
+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);
+
#endif // __MANTIS_LINK_H
OpenPOWER on IntegriCloud