Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
rtc-coh901331.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/rtc.h>
#include <linux/clk.h>
#include <linux/interrupt.h>
#include <linux/pm.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  coh901331_port
 

Macros

#define COH901331_ALARM   0x00U
 
#define COH901331_SET_TIME   0x04U
 
#define COH901331_VALID   0x08U
 
#define COH901331_CUR_TIME   0x0cU
 
#define COH901331_IRQ_EVENT   0x10U
 
#define COH901331_IRQ_MASK   0x14U
 
#define COH901331_IRQ_FORCE   0x18U
 
#define coh901331_suspend   NULL
 
#define coh901331_resume   NULL
 

Functions

 module_init (coh901331_init)
 
 module_exit (coh901331_exit)
 
 MODULE_AUTHOR ("Linus Walleij <[email protected]>")
 
 MODULE_DESCRIPTION ("ST-Ericsson AB COH 901 331 RTC Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define COH901331_ALARM   0x00U

Definition at line 23 of file rtc-coh901331.c.

#define COH901331_CUR_TIME   0x0cU

Definition at line 29 of file rtc-coh901331.c.

#define COH901331_IRQ_EVENT   0x10U

Definition at line 31 of file rtc-coh901331.c.

#define COH901331_IRQ_FORCE   0x18U

Definition at line 35 of file rtc-coh901331.c.

#define COH901331_IRQ_MASK   0x14U

Definition at line 33 of file rtc-coh901331.c.

#define coh901331_resume   NULL

Definition at line 270 of file rtc-coh901331.c.

#define COH901331_SET_TIME   0x04U

Definition at line 25 of file rtc-coh901331.c.

#define coh901331_suspend   NULL

Definition at line 269 of file rtc-coh901331.c.

#define COH901331_VALID   0x08U

Definition at line 27 of file rtc-coh901331.c.

Function Documentation

MODULE_AUTHOR ( "Linus Walleij <[email protected]>"  )
MODULE_DESCRIPTION ( "ST-Ericsson AB COH 901 331 RTC Driver"  )
module_exit ( coh901331_exit  )
module_init ( coh901331_init  )
MODULE_LICENSE ( "GPL"  )