aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/isdbt/fc8150/fci_bypass.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/isdbt/fc8150/fci_bypass.h')
-rw-r--r--drivers/media/isdbt/fc8150/fci_bypass.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/media/isdbt/fc8150/fci_bypass.h b/drivers/media/isdbt/fc8150/fci_bypass.h
new file mode 100644
index 0000000..dda0e64
--- /dev/null
+++ b/drivers/media/isdbt/fc8150/fci_bypass.h
@@ -0,0 +1,34 @@
+/*****************************************************************************
+ Copyright(c) 2012 FCI Inc. All Rights Reserved
+
+ File name : fci_bypass.h
+
+ Description : fci i2c driver header
+*******************************************************************************/
+
+#ifndef __FCI_BYPASS_H__
+#define __FCI_BYPASS_H__
+
+#include "fci_types.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern int fci_bypass_init(HANDLE hDevice, int speed, int slaveaddr);
+extern int fci_bypass_read(HANDLE hDevice, u8 chip, u8 addr
+ , u8 alen, u8 *data, u8 len);
+extern int fci_bypass_write(HANDLE hDevice, u8 chip, u8 addr
+ , u8 alen, u8 *data, u8 len);
+extern int fci_bypass_deinit(HANDLE hDevice);
+
+extern int fc8150_bypass_read(HANDLE hDevice, u8 chip
+ , u8 addr, u8 *data, u16 length);
+extern int fc8150_bypass_write(HANDLE hDevice, u8 chip
+ , u8 addr, u8 *data, u16 length);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif