summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/mantis/mantis_link.h
diff options
context:
space:
mode:
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