aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/isdbt/fc8100/fci_i2c.h
diff options
context:
space:
mode:
authorcodeworkx <daniel.hillenbrand@codeworkx.de>2012-06-02 13:09:29 +0200
committercodeworkx <daniel.hillenbrand@codeworkx.de>2012-06-02 13:09:29 +0200
commitc6da2cfeb05178a11c6d062a06f8078150ee492f (patch)
treef3b4021d252c52d6463a9b3c1bb7245e399b009c /drivers/media/isdbt/fc8100/fci_i2c.h
parentc6d7c4dbff353eac7919342ae6b3299a378160a6 (diff)
downloadkernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.zip
kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.gz
kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.bz2
samsung update 1
Diffstat (limited to 'drivers/media/isdbt/fc8100/fci_i2c.h')
-rw-r--r--drivers/media/isdbt/fc8100/fci_i2c.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/drivers/media/isdbt/fc8100/fci_i2c.h b/drivers/media/isdbt/fc8100/fci_i2c.h
new file mode 100644
index 0000000..816a6fc
--- /dev/null
+++ b/drivers/media/isdbt/fc8100/fci_i2c.h
@@ -0,0 +1,31 @@
+/*****************************************************************************
+ Copyright(c) 2009 FCI Inc. All Rights Reserved
+
+ File name : fci_i2c.h
+
+ Description : fci i2c driver header
+
+ History :
+ ----------------------------------------------------------------------
+ 2009/09/11 jason initial
+*******************************************************************************/
+
+#ifndef __FCI_I2C_H__
+#define __FCI_I2C_H__
+
+#include "fci_types.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern int fci_i2c_init(HANDLE hDevice, int speed, int slaveaddr);
+extern int fci_i2c_deinit(HANDLE hDevice);
+extern int fci_i2c_read(HANDLE hDevice, u8 chip, u8 addr, u8 alen, u8 *data, u8 len);
+extern int fci_i2c_write(HANDLE hDevice, u8 chip, u8 addr, u8 alen, u8 *data, u8 len);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif