Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
clock-pxa3xx.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/syscore_ops.h>
#include <mach/smemc.h>
#include <mach/pxa3xx-regs.h>
#include "clock.h"

Go to the source code of this file.

Macros

#define BASE_CLK   13000000
 
#define RO_CLK   60000000
 
#define ACCR_D0CS   (1 << 26)
 
#define ACCR_PCCE   (1 << 11)
 
#define pxa3xx_clock_suspend   NULL
 
#define pxa3xx_clock_resume   NULL
 

Functions

unsigned int pxa3xx_get_clk_frequency_khz (int info)
 
void clk_pxa3xx_cken_enable (struct clk *clk)
 
void clk_pxa3xx_cken_disable (struct clk *clk)
 

Variables

struct clkops clk_pxa3xx_cken_ops
 
struct clkops clk_pxa3xx_hsio_ops
 
struct clkops clk_pxa3xx_ac97_ops
 
struct clkops clk_pxa3xx_smemc_ops
 
struct clkops clk_pxa3xx_pout_ops
 
struct syscore_ops pxa3xx_clock_syscore_ops
 

Macro Definition Documentation

#define ACCR_D0CS   (1 << 26)

Definition at line 26 of file clock-pxa3xx.c.

#define ACCR_PCCE   (1 << 11)

Definition at line 27 of file clock-pxa3xx.c.

#define BASE_CLK   13000000

Definition at line 21 of file clock-pxa3xx.c.

#define pxa3xx_clock_resume   NULL

Definition at line 206 of file clock-pxa3xx.c.

#define pxa3xx_clock_suspend   NULL

Definition at line 205 of file clock-pxa3xx.c.

#define RO_CLK   60000000

Definition at line 24 of file clock-pxa3xx.c.

Function Documentation

void clk_pxa3xx_cken_disable ( struct clk clk)

Definition at line 136 of file clock-pxa3xx.c.

void clk_pxa3xx_cken_enable ( struct clk clk)

Definition at line 124 of file clock-pxa3xx.c.

unsigned int pxa3xx_get_clk_frequency_khz ( int  info)

Definition at line 37 of file clock-pxa3xx.c.

Variable Documentation

struct clkops clk_pxa3xx_ac97_ops
Initial value:
= {
.getrate = clk_pxa3xx_ac97_getrate,
}

Definition at line 159 of file clock-pxa3xx.c.

struct clkops clk_pxa3xx_cken_ops
Initial value:
= {
}

Definition at line 148 of file clock-pxa3xx.c.

struct clkops clk_pxa3xx_hsio_ops
Initial value:
= {
.getrate = clk_pxa3xx_hsio_getrate,
}

Definition at line 153 of file clock-pxa3xx.c.

struct clkops clk_pxa3xx_pout_ops
Initial value:
= {
.enable = clk_pout_enable,
.disable = clk_pout_disable,
}

Definition at line 181 of file clock-pxa3xx.c.

struct clkops clk_pxa3xx_smemc_ops
Initial value:
= {
.getrate = clk_pxa3xx_smemc_getrate,
}

Definition at line 165 of file clock-pxa3xx.c.

struct syscore_ops pxa3xx_clock_syscore_ops
Initial value:
= {
}

Definition at line 209 of file clock-pxa3xx.c.