Go to the documentation of this file.
9 #ifndef __ASM_BFIN_PPI_H__
10 #define __ASM_BFIN_PPI_H__
12 #include <linux/types.h>
19 #define __BFP(m) u16 m; u16 __pad_##m
80 #define EPPI_STAT_CFIFOERR 0x00000001
81 #define EPPI_STAT_YFIFOERR 0x00000002
82 #define EPPI_STAT_LTERROVR 0x00000004
83 #define EPPI_STAT_LTERRUNDR 0x00000008
84 #define EPPI_STAT_FTERROVR 0x00000010
85 #define EPPI_STAT_FTERRUNDR 0x00000020
86 #define EPPI_STAT_ERRNCOR 0x00000040
87 #define EPPI_STAT_PXPERR 0x00000080
88 #define EPPI_STAT_ERRDET 0x00004000
89 #define EPPI_STAT_FLD 0x00008000
91 #define EPPI_HCNT_VALUE 0x0000FFFF
93 #define EPPI_HDLY_VALUE 0x0000FFFF
95 #define EPPI_VCNT_VALUE 0x0000FFFF
97 #define EPPI_VDLY_VALUE 0x0000FFFF
99 #define EPPI_FRAME_VALUE 0x0000FFFF
101 #define EPPI_LINE_VALUE 0x0000FFFF
103 #define EPPI_CLKDIV_VALUE 0x0000FFFF
105 #define EPPI_CTL_EN 0x00000001
106 #define EPPI_CTL_DIR 0x00000002
107 #define EPPI_CTL_XFRTYPE 0x0000000C
108 #define EPPI_CTL_ACTIVE656 0x00000000
109 #define EPPI_CTL_ENTIRE656 0x00000004
110 #define EPPI_CTL_VERT656 0x00000008
111 #define EPPI_CTL_NON656 0x0000000C
112 #define EPPI_CTL_FSCFG 0x00000030
113 #define EPPI_CTL_SYNC0 0x00000000
114 #define EPPI_CTL_SYNC1 0x00000010
115 #define EPPI_CTL_SYNC2 0x00000020
116 #define EPPI_CTL_SYNC3 0x00000030
117 #define EPPI_CTL_FLDSEL 0x00000040
118 #define EPPI_CTL_ITUTYPE 0x00000080
119 #define EPPI_CTL_BLANKGEN 0x00000100
120 #define EPPI_CTL_ICLKGEN 0x00000200
121 #define EPPI_CTL_IFSGEN 0x00000400
122 #define EPPI_CTL_SIGNEXT 0x00000800
123 #define EPPI_CTL_POLC 0x00003000
124 #define EPPI_CTL_POLC0 0x00000000
125 #define EPPI_CTL_POLC1 0x00001000
126 #define EPPI_CTL_POLC2 0x00002000
127 #define EPPI_CTL_POLC3 0x00003000
128 #define EPPI_CTL_POLS 0x0000C000
129 #define EPPI_CTL_FS1HI_FS2HI 0x00000000
130 #define EPPI_CTL_FS1LO_FS2HI 0x00004000
131 #define EPPI_CTL_FS1HI_FS2LO 0x00008000
132 #define EPPI_CTL_FS1LO_FS2LO 0x0000C000
133 #define EPPI_CTL_DLEN 0x00070000
134 #define EPPI_CTL_DLEN08 0x00000000
135 #define EPPI_CTL_DLEN10 0x00010000
136 #define EPPI_CTL_DLEN12 0x00020000
137 #define EPPI_CTL_DLEN14 0x00030000
138 #define EPPI_CTL_DLEN16 0x00040000
139 #define EPPI_CTL_DLEN18 0x00050000
140 #define EPPI_CTL_DLEN20 0x00060000
141 #define EPPI_CTL_DLEN24 0x00070000
142 #define EPPI_CTL_DMIRR 0x00080000
143 #define EPPI_CTL_SKIPEN 0x00100000
144 #define EPPI_CTL_SKIPEO 0x00200000
145 #define EPPI_CTL_PACKEN 0x00400000
146 #define EPPI_CTL_SWAPEN 0x00800000
147 #define EPPI_CTL_SPLTEO 0x01000000
148 #define EPPI_CTL_SUBSPLTODD 0x02000000
149 #define EPPI_CTL_SPLTWRD 0x04000000
150 #define EPPI_CTL_RGBFMTEN 0x08000000
151 #define EPPI_CTL_DMACFG 0x10000000
152 #define EPPI_CTL_DMAFINEN 0x20000000
153 #define EPPI_CTL_MUXSEL 0x40000000
154 #define EPPI_CTL_CLKGATEN 0x80000000
156 #define EPPI_FS2_WLVB_F2VBAD 0xFF000000
157 #define EPPI_FS2_WLVB_F2VBBD 0x00FF0000
158 #define EPPI_FS2_WLVB_F1VBAD 0x0000FF00
159 #define EPPI_FS2_WLVB_F1VBBD 0x000000FF
161 #define EPPI_FS2_PALPF_F2ACT 0xFFFF0000
162 #define EPPI_FS2_PALPF_F1ACT 0x0000FFFF
164 #define EPPI_IMSK_CFIFOERR 0x00000001
165 #define EPPI_IMSK_YFIFOERR 0x00000002
166 #define EPPI_IMSK_LTERROVR 0x00000004
167 #define EPPI_IMSK_LTERRUNDR 0x00000008
168 #define EPPI_IMSK_FTERROVR 0x00000010
169 #define EPPI_IMSK_FTERRUNDR 0x00000020
170 #define EPPI_IMSK_ERRNCOR 0x00000040
171 #define EPPI_IMSK_PXPERR 0x00000080
173 #define EPPI_ODDCLIP_HIGHODD 0xFFFF0000
174 #define EPPI_ODDCLIP_LOWODD 0x0000FFFF
176 #define EPPI_EVENCLIP_HIGHEVEN 0xFFFF0000
177 #define EPPI_EVENCLIP_LOWEVEN 0x0000FFFF
179 #define EPPI_CTL2_FS1FINEN 0x00000002