Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
reset.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/io.h>
#include <asm/proc-fns.h>
#include <asm/system_misc.h>
#include <mach/regs-ost.h>
#include <mach/reset.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (reset_status)
 
int init_gpio_reset (int gpio, int output, int level)
 
void pxa_restart (char mode, const char *cmd)
 

Variables

unsigned int reset_status
 

Function Documentation

EXPORT_SYMBOL ( reset_status  )
int init_gpio_reset ( int  gpio,
int  output,
int  level 
)

init_gpio_reset() - register GPIO as reset generator : gpio nr : set gpio as output instead of input during normal work : output level

Definition at line 24 of file reset.c.

void pxa_restart ( char  mode,
const char cmd 
)

Definition at line 86 of file reset.c.

Variable Documentation

unsigned int reset_status

Definition at line 17 of file reset.c.