summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/mach-common/bits/uart4.h
blob: 37808de243d249220b606cb994ba5744ae3ea0a2 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
 * UART4 Masks
 */

#ifndef __BFIN_PERIPHERAL_UART4__
#define __BFIN_PERIPHERAL_UART4__

/* UART_CONTROL */
#define UEN			(1 << 0)
#define LOOP_ENA		(1 << 1)
#define UMOD			(3 << 4)
#define UMOD_UART		(0 << 4)
#define UMOD_MDB		(1 << 4)
#define UMOD_IRDA		(1 << 4)
#define WLS			(3 << 8)
#define WLS_5			(0 << 8)
#define WLS_6			(1 << 8)
#define WLS_7			(2 << 8)
#define WLS_8			(3 << 8)
#define STB			(1 << 12)
#define STBH			(1 << 13)
#define PEN			(1 << 14)
#define EPS			(1 << 15)
#define STP			(1 << 16)
#define FPE			(1 << 17)
#define FFE			(1 << 18)
#define SB			(1 << 19)
#define FCPOL			(1 << 22)
#define RPOLC			(1 << 23)
#define TPOLC			(1 << 24)
#define MRTS			(1 << 25)
#define XOFF			(1 << 26)
#define ARTS			(1 << 27)
#define ACTS			(1 << 28)
#define RFIT			(1 << 29)
#define RFRT			(1 << 30)

/* UART_STATUS */
#define DR			(1 << 0)
#define OE			(1 << 1)
#define PE			(1 << 2)
#define FE			(1 << 3)
#define BI			(1 << 4)
#define THRE			(1 << 5)
#define TEMT			(1 << 7)
#define TFI			(1 << 8)
#define ASTKY			(1 << 9)
#define ADDR			(1 << 10)
#define RO			(1 << 11)
#define SCTS			(1 << 12)
#define CTS			(1 << 16)
#define RFCS			(1 << 17)

/* UART_EMASK */
#define ERBFI			(1 << 0)
#define ETBEI			(1 << 1)
#define ELSI			(1 << 2)
#define EDSSI			(1 << 3)
#define EDTPTI			(1 << 4)
#define ETFI			(1 << 5)
#define ERFCI			(1 << 6)
#define EAWI			(1 << 7)
#define ERXS			(1 << 8)
#define ETXS			(1 << 9)

#endif
OpenPOWER on IntegriCloud