diff options
Diffstat (limited to 'drivers/media/isdbt/fc8150/fc8150_ppi.h')
-rw-r--r-- | drivers/media/isdbt/fc8150/fc8150_ppi.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/drivers/media/isdbt/fc8150/fc8150_ppi.h b/drivers/media/isdbt/fc8150/fc8150_ppi.h new file mode 100644 index 0000000..b7d5322 --- /dev/null +++ b/drivers/media/isdbt/fc8150/fc8150_ppi.h @@ -0,0 +1,33 @@ +/***************************************************************************** + Copyright(c) 2012 FCI Inc. All Rights Reserved + + File name : fc8150_ppi.c + + Description : API of 1-SEG baseband module + +*******************************************************************************/ + +#ifndef __FC8150_PPI_H__ +#define __FC8150_PPI_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +extern int fc8150_ppi_init(HANDLE hDevice, u16 param1, u16 param2); +extern int fc8150_ppi_byteread(HANDLE hDevice, u16 addr, u8 *data); +extern int fc8150_ppi_wordread(HANDLE hDevice, u16 addr, u16 *data); +extern int fc8150_ppi_longread(HANDLE hDevice, u16 addr, u32 *data); +extern int fc8150_ppi_bulkread(HANDLE hDevice, u16 addr, u8 *data, u16 length); +extern int fc8150_ppi_bytewrite(HANDLE hDevice, u16 addr, u8 data); +extern int fc8150_ppi_wordwrite(HANDLE hDevice, u16 addr, u16 data); +extern int fc8150_ppi_longwrite(HANDLE hDevice, u16 addr, u32 data); +extern int fc8150_ppi_bulkwrite(HANDLE hDevice, u16 addr, u8 *data, u16 length); +extern int fc8150_ppi_dataread(HANDLE hDevice, u16 addr, u8 *data, u32 length); +extern int fc8150_ppi_deinit(HANDLE hDevice); + +#ifdef __cplusplus +} +#endif + +#endif |