upload tizen1.0 source
[kernel/linux-2.6.36.git] / sound / soc / codecs / mc1n2 / mcservice.h
1 /****************************************************************************
2  *
3  *              Copyright(c) 2010 Yamaha Corporation. All rights reserved.
4  *
5  *              Module          : mcservice.h
6  *
7  *              Description     : MC Driver service routine header
8  *
9  *              Version         : 1.0.0         2010.03.18
10  *
11  ****************************************************************************/
12
13 #ifndef _MCSERVICE_H_
14 #define _MCSERVICE_H_
15
16 #include "mctypedef.h"
17
18
19 void    McSrv_SystemInit        ( void );
20 void    McSrv_SystemTerm        ( void );
21 void    McSrv_ClockStart        ( void );
22 void    McSrv_ClockStop         ( void );
23 void    McSrv_WriteI2C          ( UINT8 bSlaveAddr, UINT8 *pbData, UINT32 dSize );
24 UINT8   McSrv_ReadI2C           ( UINT8 bSlaveAddr, UINT32 dRegAddr );
25 void    McSrv_Sleep                     ( UINT32 dSleepTime );
26 void    McSrv_Lock                      ( void );
27 void    McSrv_Unlock            ( void );
28 void    McSrv_MemCopy           ( const UINT8 *pbSrc, UINT8 *pbDest, UINT32 dSize );
29 void    McSrv_DisableIrq        ( void );
30 void    McSrv_EnableIrq         ( void );
31
32
33
34 #endif /* _MCSERVICE_H_ */