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
powerpc
include
asm
clk_interface.h
Go to the documentation of this file.
1
#ifndef __ASM_POWERPC_CLK_INTERFACE_H
2
#define __ASM_POWERPC_CLK_INTERFACE_H
3
4
#include <
linux/clk.h
>
5
6
struct
clk_interface
{
7
struct
clk
* (*clk_get) (
struct
device
*
dev
,
const
char
*
id
);
8
int
(*
clk_enable
) (
struct
clk
*
clk
);
9
void
(*
clk_disable
) (
struct
clk
*
clk
);
10
unsigned
long
(*
clk_get_rate
) (
struct
clk
*
clk
);
11
void
(*
clk_put
) (
struct
clk
*
clk
);
12
long
(*
clk_round_rate
) (
struct
clk
*
clk
,
unsigned
long
rate
);
13
int
(*
clk_set_rate
) (
struct
clk
*
clk
,
unsigned
long
rate
);
14
int
(*
clk_set_parent
) (
struct
clk
*
clk
,
struct
clk
*
parent
);
15
struct
clk
* (*clk_get_parent) (
struct
clk
*
clk
);
16
};
17
18
extern
struct
clk_interface
clk_functions
;
19
20
#endif
/* __ASM_POWERPC_CLK_INTERFACE_H */
Generated on Thu Jan 10 2013 13:13:15 for Linux Kernel by
1.8.2