Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
powergate.c File Reference
#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/debugfs.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/seq_file.h>
#include <linux/spinlock.h>
#include <mach/clk.h>
#include <mach/iomap.h>
#include <mach/powergate.h>
#include "fuse.h"

Go to the source code of this file.

Macros

#define PWRGATE_TOGGLE   0x30
 
#define PWRGATE_TOGGLE_START   (1 << 8)
 
#define REMOVE_CLAMPING   0x34
 
#define PWRGATE_STATUS   0x38
 

Functions

int tegra_powergate_power_on (int id)
 
int tegra_powergate_power_off (int id)
 
int tegra_powergate_is_powered (int id)
 
int tegra_powergate_remove_clamping (int id)
 
int tegra_powergate_sequence_power_up (int id, struct clk *clk)
 
int tegra_cpu_powergate_id (int cpuid)
 
int __init tegra_powergate_init (void)
 

Macro Definition Documentation

#define PWRGATE_STATUS   0x38

Definition at line 41 of file powergate.c.

#define PWRGATE_TOGGLE   0x30

Definition at line 36 of file powergate.c.

#define PWRGATE_TOGGLE_START   (1 << 8)

Definition at line 37 of file powergate.c.

#define REMOVE_CLAMPING   0x34

Definition at line 39 of file powergate.c.

Function Documentation

int tegra_cpu_powergate_id ( int  cpuid)

Definition at line 172 of file powergate.c.

int __init tegra_powergate_init ( void  )

Definition at line 180 of file powergate.c.

int tegra_powergate_is_powered ( int  id)

Definition at line 104 of file powergate.c.

int tegra_powergate_power_off ( int  id)

Definition at line 96 of file powergate.c.

int tegra_powergate_power_on ( int  id)

Definition at line 88 of file powergate.c.

int tegra_powergate_remove_clamping ( int  id)

Definition at line 115 of file powergate.c.

int tegra_powergate_sequence_power_up ( int  id,
struct clk clk 
)

Definition at line 139 of file powergate.c.