upload tizen1.0 source
[kernel/linux-2.6.36.git] / sound / soc / codecs / mc1n2 / mcmachdep.h
1 /****************************************************************************
2  *
3  *              Copyright(c) 2010 Yamaha Corporation. All rights reserved.
4  *
5  *              Module          : mcmachdep.h
6  *
7  *              Description     : MC Driver machine dependent part header
8  *
9  *              Version         : 1.0.0         2010.09.10
10  *
11  ****************************************************************************/
12
13 #ifndef _MCMACHDEP_H_
14 #define _MCMACHDEP_H_
15
16 #include "mctypedef.h"
17
18
19 #define MCDRV_DEBUG_LEVEL       (0)
20
21
22 void    machdep_SystemInit      ( void );
23 void    machdep_SystemTerm      ( void );
24 void    machdep_ClockStart      ( void );
25 void    machdep_ClockStop       ( void );
26 void    machdep_WriteI2C        ( UINT8 bSlaveAdr, const UINT8 *pbData, UINT32 dSize );
27 UINT8   machdep_ReadI2C         ( UINT8 bSlaveAdr, UINT32 dAddress );
28 void    machdep_Sleep           ( UINT32 dSleepTime );
29 void    machdep_Lock            ( void );
30 void    machdep_Unlock          ( void );
31 void    machdep_DebugPrint      ( UINT8 *pbLogString );
32
33
34 #endif /* _MCMACHDEP_H_ */