Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
powergate.h File Reference

Go to the source code of this file.

Macros

#define TEGRA_POWERGATE_CPU   0
 
#define TEGRA_POWERGATE_3D   1
 
#define TEGRA_POWERGATE_VENC   2
 
#define TEGRA_POWERGATE_PCIE   3
 
#define TEGRA_POWERGATE_VDEC   4
 
#define TEGRA_POWERGATE_L2   5
 
#define TEGRA_POWERGATE_MPE   6
 
#define TEGRA_POWERGATE_HEG   7
 
#define TEGRA_POWERGATE_SATA   8
 
#define TEGRA_POWERGATE_CPU1   9
 
#define TEGRA_POWERGATE_CPU2   10
 
#define TEGRA_POWERGATE_CPU3   11
 
#define TEGRA_POWERGATE_CELP   12
 
#define TEGRA_POWERGATE_3D1   13
 
#define TEGRA_POWERGATE_CPU0   TEGRA_POWERGATE_CPU
 
#define TEGRA_POWERGATE_3D0   TEGRA_POWERGATE_3D
 

Functions

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

Macro Definition Documentation

#define TEGRA_POWERGATE_3D   1

Definition at line 24 of file powergate.h.

#define TEGRA_POWERGATE_3D0   TEGRA_POWERGATE_3D

Definition at line 39 of file powergate.h.

#define TEGRA_POWERGATE_3D1   13

Definition at line 36 of file powergate.h.

#define TEGRA_POWERGATE_CELP   12

Definition at line 35 of file powergate.h.

#define TEGRA_POWERGATE_CPU   0

Definition at line 23 of file powergate.h.

#define TEGRA_POWERGATE_CPU0   TEGRA_POWERGATE_CPU

Definition at line 38 of file powergate.h.

#define TEGRA_POWERGATE_CPU1   9

Definition at line 32 of file powergate.h.

#define TEGRA_POWERGATE_CPU2   10

Definition at line 33 of file powergate.h.

#define TEGRA_POWERGATE_CPU3   11

Definition at line 34 of file powergate.h.

#define TEGRA_POWERGATE_HEG   7

Definition at line 30 of file powergate.h.

#define TEGRA_POWERGATE_L2   5

Definition at line 28 of file powergate.h.

#define TEGRA_POWERGATE_MPE   6

Definition at line 29 of file powergate.h.

#define TEGRA_POWERGATE_PCIE   3

Definition at line 26 of file powergate.h.

#define TEGRA_POWERGATE_SATA   8

Definition at line 31 of file powergate.h.

#define TEGRA_POWERGATE_VDEC   4

Definition at line 27 of file powergate.h.

#define TEGRA_POWERGATE_VENC   2

Definition at line 25 of file powergate.h.

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.