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

Go to the source code of this file.

Data Structures

struct  pl030_rtc
 

Macros

#define RTC_DR   (0)
 
#define RTC_MR   (4)
 
#define RTC_STAT   (8)
 
#define RTC_EOI   (8)
 
#define RTC_LR   (12)
 
#define RTC_CR   (16)
 
#define RTC_CR_MIE   (1 << 0)
 

Functions

 MODULE_DEVICE_TABLE (amba, pl030_ids)
 
 module_amba_driver (pl030_driver)
 
 MODULE_AUTHOR ("Russell King <[email protected]>")
 
 MODULE_DESCRIPTION ("ARM AMBA PL030 RTC Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define RTC_CR   (16)

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

#define RTC_CR_MIE   (1 << 0)

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

#define RTC_DR   (0)

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

#define RTC_EOI   (8)

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

#define RTC_LR   (12)

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

#define RTC_MR   (4)

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

#define RTC_STAT   (8)

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

Function Documentation

module_amba_driver ( pl030_driver  )
MODULE_AUTHOR ( "Russell King <[email protected]>"  )
MODULE_DESCRIPTION ( "ARM AMBA PL030 RTC Driver"  )
MODULE_DEVICE_TABLE ( amba  ,
pl030_ids   
)
MODULE_LICENSE ( "GPL"  )