2 * linux/arch/arm/mach-s3c2410/clock.h
4 * Copyright (c) 2004-2005 Simtec Electronics
5 * http://www.simtec.co.uk/products/SWLINUX/
6 * Written by Ben Dooks, <ben@simtec.co.uk>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
14 struct list_head list
;
21 unsigned long ctrlbit
;
22 int (*enable
)(struct clk
*, int enable
);
25 /* other clocks which may be registered by board support */
27 extern struct clk s3c24xx_dclk0
;
28 extern struct clk s3c24xx_dclk1
;
29 extern struct clk s3c24xx_clkout0
;
30 extern struct clk s3c24xx_clkout1
;
31 extern struct clk s3c24xx_uclk
;
33 /* exports for arch/arm/mach-s3c2410
35 * Please DO NOT use these outside of arch/arm/mach-s3c2410
38 extern int s3c24xx_clkcon_enable(struct clk
*clk
, int enable
);
39 extern int s3c24xx_register_clock(struct clk
*clk
);
41 extern int s3c24xx_setup_clocks(unsigned long xtal
,