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

Go to the source code of this file.

Data Structures

struct  ep93xx_rtc
 

Macros

#define EP93XX_RTC_DATA   0x000
 
#define EP93XX_RTC_MATCH   0x004
 
#define EP93XX_RTC_STATUS   0x008
 
#define EP93XX_RTC_STATUS_INTR   (1<<0)
 
#define EP93XX_RTC_LOAD   0x00C
 
#define EP93XX_RTC_CONTROL   0x010
 
#define EP93XX_RTC_CONTROL_MIE   (1<<0)
 
#define EP93XX_RTC_SWCOMP   0x108
 
#define EP93XX_RTC_SWCOMP_DEL_MASK   0x001f0000
 
#define EP93XX_RTC_SWCOMP_DEL_SHIFT   16
 
#define EP93XX_RTC_SWCOMP_INT_MASK   0x0000ffff
 
#define EP93XX_RTC_SWCOMP_INT_SHIFT   0
 
#define DRV_VERSION   "0.3"
 

Functions

 module_platform_driver (ep93xx_rtc_driver)
 
 MODULE_AUTHOR ("Alessandro Zummo <[email protected]>")
 
 MODULE_DESCRIPTION ("EP93XX RTC driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (DRV_VERSION)
 
 MODULE_ALIAS ("platform:ep93xx-rtc")
 

Macro Definition Documentation

#define DRV_VERSION   "0.3"

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

#define EP93XX_RTC_CONTROL   0x010

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

#define EP93XX_RTC_CONTROL_MIE   (1<<0)

Definition at line 24 of file rtc-ep93xx.c.

#define EP93XX_RTC_DATA   0x000

Definition at line 18 of file rtc-ep93xx.c.

#define EP93XX_RTC_LOAD   0x00C

Definition at line 22 of file rtc-ep93xx.c.

#define EP93XX_RTC_MATCH   0x004

Definition at line 19 of file rtc-ep93xx.c.

#define EP93XX_RTC_STATUS   0x008

Definition at line 20 of file rtc-ep93xx.c.

#define EP93XX_RTC_STATUS_INTR   (1<<0)

Definition at line 21 of file rtc-ep93xx.c.

#define EP93XX_RTC_SWCOMP   0x108

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

#define EP93XX_RTC_SWCOMP_DEL_MASK   0x001f0000

Definition at line 26 of file rtc-ep93xx.c.

#define EP93XX_RTC_SWCOMP_DEL_SHIFT   16

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

#define EP93XX_RTC_SWCOMP_INT_MASK   0x0000ffff

Definition at line 28 of file rtc-ep93xx.c.

#define EP93XX_RTC_SWCOMP_INT_SHIFT   0

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

Function Documentation

MODULE_ALIAS ( "platform:ep93xx-rtc )
MODULE_AUTHOR ( "Alessandro Zummo <[email protected]>"  )
MODULE_DESCRIPTION ( "EP93XX RTC driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( ep93xx_rtc_driver  )
MODULE_VERSION ( DRV_VERSION  )