Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
pm.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/atomic.h>
#include <mach/cns3xxx.h>
#include <mach/pm.h>
#include "core.h"

Go to the source code of this file.

Functions

void cns3xxx_pwr_clk_en (unsigned int block)
 
 EXPORT_SYMBOL (cns3xxx_pwr_clk_en)
 
void cns3xxx_pwr_clk_dis (unsigned int block)
 
 EXPORT_SYMBOL (cns3xxx_pwr_clk_dis)
 
void cns3xxx_pwr_power_up (unsigned int block)
 
 EXPORT_SYMBOL (cns3xxx_pwr_power_up)
 
void cns3xxx_pwr_power_down (unsigned int block)
 
 EXPORT_SYMBOL (cns3xxx_pwr_power_down)
 
 EXPORT_SYMBOL (cns3xxx_pwr_soft_rst_force)
 
void cns3xxx_pwr_soft_rst (unsigned int block)
 
 EXPORT_SYMBOL (cns3xxx_pwr_soft_rst)
 
void cns3xxx_restart (char mode, const char *cmd)
 
int cns3xxx_cpu_clock (void)
 
 EXPORT_SYMBOL (cns3xxx_cpu_clock)
 
 EXPORT_SYMBOL (usb_pwr_ref)
 

Variables

atomic_t usb_pwr_ref = ATOMIC_INIT(0)
 

Function Documentation

int cns3xxx_cpu_clock ( void  )

Definition at line 107 of file pm.c.

void cns3xxx_pwr_clk_dis ( unsigned int  block)

Definition at line 27 of file pm.c.

void cns3xxx_pwr_clk_en ( unsigned int  block)

Definition at line 18 of file pm.c.

void cns3xxx_pwr_power_down ( unsigned int  block)

Definition at line 48 of file pm.c.

void cns3xxx_pwr_power_up ( unsigned int  block)

Definition at line 36 of file pm.c.

void cns3xxx_pwr_soft_rst ( unsigned int  block)

Definition at line 78 of file pm.c.

void cns3xxx_restart ( char  mode,
const char cmd 
)

Definition at line 92 of file pm.c.

EXPORT_SYMBOL ( cns3xxx_pwr_clk_en  )
EXPORT_SYMBOL ( cns3xxx_pwr_clk_dis  )
EXPORT_SYMBOL ( cns3xxx_pwr_power_up  )
EXPORT_SYMBOL ( cns3xxx_pwr_power_down  )
EXPORT_SYMBOL ( cns3xxx_pwr_soft_rst_force  )
EXPORT_SYMBOL ( cns3xxx_pwr_soft_rst  )
EXPORT_SYMBOL ( cns3xxx_cpu_clock  )
EXPORT_SYMBOL ( usb_pwr_ref  )

Variable Documentation

atomic_t usb_pwr_ref = ATOMIC_INIT(0)

Definition at line 123 of file pm.c.