summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/mach-common/bits/trace.h
blob: 13e2134ab323d5585d968d764a53aa9fc3db6d75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Trace Unit Masks
 */

#ifndef __BFIN_PERIPHERAL_TRACE__
#define __BFIN_PERIPHERAL_TRACE__

/* Trace Buffer Control (TBUFCTL) Register Masks */
#define TBUFPWR       0x00000001
#define TBUFEN        0x00000002
#define TBUFOVF       0x00000004
#define CMPLB_SINGLE  0x00000008
#define CMPLP_DOUBLE  0x00000010
#define CMPLB         (CMPLB_SINGLE | CMPLP_DOUBLE)

/* Trace Buffer Status (TBUFSTAT) Register Masks */
#define TBUFCNT       0x0000001F

#endif
OpenPOWER on IntegriCloud