Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
arm
plat-samsung
include
plat
clock-clksrc.h
Go to the documentation of this file.
1
/* linux/arch/arm/plat-samsung/include/plat/clock-clksrc.h
2
*
3
* Parts taken from arch/arm/plat-s3c64xx/clock.c
4
* Copyright 2008 Openmoko, Inc.
5
* Copyright 2008 Simtec Electronics
6
* Ben Dooks <
[email protected]
>
7
* http://armlinux.simtec.co.uk/
8
*
9
* Copyright 2009 Ben Dooks <
[email protected]
>
10
* Copyright 2009 Harald Welte
11
*
12
* This program is free software; you can redistribute it and/or modify
13
* it under the terms of the GNU General Public License version 2 as
14
* published by the Free Software Foundation.
15
*/
16
22
struct
clksrc_sources
{
23
unsigned
int
nr_sources
;
24
struct
clk
**
sources
;
25
};
26
36
struct
clksrc_reg
{
37
void
__iomem
*
reg
;
38
unsigned
short
shift
;
39
unsigned
short
size
;
40
};
41
58
struct
clksrc_clk
{
59
struct
clk
clk
;
60
struct
clksrc_sources
*
sources
;
61
62
struct
clksrc_reg
reg_src
;
63
struct
clksrc_reg
reg_div
;
64
};
65
74
extern
void
s3c_set_clksrc
(
struct
clksrc_clk
*
clk
,
bool
announce);
75
83
extern
void
s3c_register_clksrc
(
struct
clksrc_clk
*srcs,
int
size
);
Generated on Thu Jan 10 2013 13:03:23 for Linux Kernel by
1.8.2