summaryrefslogtreecommitdiff
path: root/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/dbg-trace.h
blob: a5aac2673670b42a4a2fffb41b6e919029f0c4e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#ifndef _MV_DBG_TRCE_H_
#define _MV_DBG_TRCE_H_

#ifdef CONFIG_MV_DBG_TRACE
void TRC_INIT(void *callback1, void *callback2, 
    unsigned char callback1_param, unsigned char callback2_param);
void TRC_REC(char *fmt,...);
void TRC_OUTPUT(void);
void TRC_RELEASE(void);
void TRC_START(void);
void TRC_STOP(void);

#else
#define TRC_INIT(x1,x2,x3,x4)
#define TRC_REC(X...)
#define TRC_OUTPUT()
#define TRC_RELEASE()
#define TRC_START()
#define TRC_STOP()
#endif


#endif