Initial commit
[kernel/linux-3.0.git] / drivers / media / isdbt / fc8150 / fci_bypass.h
1 /*****************************************************************************
2  Copyright(c) 2012 FCI Inc. All Rights Reserved
3
4  File name : fci_bypass.h
5
6  Description : fci i2c driver header
7 *******************************************************************************/
8
9 #ifndef __FCI_BYPASS_H__
10 #define __FCI_BYPASS_H__
11
12 #include "fci_types.h"
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 extern int fci_bypass_init(HANDLE hDevice, int speed, int slaveaddr);
19 extern int fci_bypass_read(HANDLE hDevice, u8 chip, u8 addr, u8 alen, \
20         u8 *data, u8 len);
21 extern int fci_bypass_write(HANDLE hDevice, u8 chip, u8 addr, u8 alen, \
22         u8 *data, u8 len);
23 extern int fci_bypass_deinit(HANDLE hDevice);
24
25 #ifdef __cplusplus
26 }
27 #endif
28 #endif /* __FCI_BYPASS_H__ */