Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pl022.h
Go to the documentation of this file.
1 /*
2  * include/linux/amba/pl022.h
3  *
4  * Copyright (C) 2008-2009 ST-Ericsson AB
5  * Copyright (C) 2006 STMicroelectronics Pvt. Ltd.
6  *
7  * Author: Linus Walleij <[email protected]>
8  *
9  * Initial version inspired by:
10  * linux-2.6.17-rc3-mm1/drivers/spi/pxa2xx_spi.c
11  * Initial adoption to PL022 by:
12  * Sachin Verma <[email protected]>
13  *
14  * This program is free software; you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License as published by
16  * the Free Software Foundation; either version 2 of the License, or
17  * (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  */
24 
25 #ifndef _SSP_PL022_H
26 #define _SSP_PL022_H
27 
28 #include <linux/types.h>
29 
36 };
37 
53 };
54 
61 };
62 
68  u8 cpsdvsr; /* value from 2 to 254 (even only!) */
69  u8 scr; /* value from 0 to 255 */
70 };
71 
79 };
80 
87 };
88 
103 };
104 
108 enum ssp_mode {
112 };
113 
124 };
125 
136 };
137 
146 };
147 
156 };
157 
172 };
173 
182 };
183 
195 };
196 
220 };
221 
228 };
229 
230 
231 struct dma_chan;
253  bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
257  bool rt;
259 };
260 
293 };
294 
295 #endif /* _SSP_PL022_H */