Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
system.c File Reference
#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/module.h>
#include <asm/proc-fns.h>
#include <asm/system_misc.h>
#include <mach/mxs.h>
#include <mach/common.h>

Go to the source code of this file.

Macros

#define MX23_CLKCTRL_RESET_OFFSET   0x120
 
#define MX28_CLKCTRL_RESET_OFFSET   0x1e0
 
#define MXS_CLKCTRL_RESET_CHIP   (1 << 1)
 
#define MXS_MODULE_CLKGATE   (1 << 30)
 
#define MXS_MODULE_SFTRST   (1 << 31)
 

Functions

void mxs_restart (char mode, const char *cmd)
 
 core_initcall (mxs_arch_reset_init)
 
int mxs_reset_block (void __iomem *reset_addr)
 
 EXPORT_SYMBOL (mxs_reset_block)
 

Macro Definition Documentation

#define MX23_CLKCTRL_RESET_OFFSET   0x120

Definition at line 33 of file system.c.

#define MX28_CLKCTRL_RESET_OFFSET   0x1e0

Definition at line 34 of file system.c.

#define MXS_CLKCTRL_RESET_CHIP   (1 << 1)

Definition at line 35 of file system.c.

#define MXS_MODULE_CLKGATE   (1 << 30)

Definition at line 37 of file system.c.

#define MXS_MODULE_SFTRST   (1 << 31)

Definition at line 38 of file system.c.

Function Documentation

core_initcall ( mxs_arch_reset_init  )
EXPORT_SYMBOL ( mxs_reset_block  )
int mxs_reset_block ( void __iomem reset_addr)

Definition at line 100 of file system.c.

void mxs_restart ( char  mode,
const char cmd 
)

Definition at line 45 of file system.c.