Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
s3c2416.h
Go to the documentation of this file.
1 /* linux/arch/arm/plat-samsung/include/plat/s3c2416.h
2  *
3  * Copyright (c) 2009 Yauhen Kharuzhy <[email protected]>
4  *
5  * Header file for s3c2416 cpu support
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10 */
11 
12 #ifdef CONFIG_CPU_S3C2416
13 
14 struct s3c2410_uartcfg;
15 
16 extern int s3c2416_init(void);
17 
18 extern void s3c2416_map_io(void);
19 
20 extern void s3c2416_init_uarts(struct s3c2410_uartcfg *cfg, int no);
21 
22 extern void s3c2416_init_clocks(int xtal);
23 
24 extern int s3c2416_baseclk_add(void);
25 
26 extern void s3c2416_restart(char mode, const char *cmd);
27 
28 extern struct syscore_ops s3c2416_irq_syscore_ops;
29 
30 #else
31 #define s3c2416_init_clocks NULL
32 #define s3c2416_init_uarts NULL
33 #define s3c2416_map_io NULL
34 #define s3c2416_init NULL
35 #define s3c2416_restart NULL
36 #endif