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

Go to the source code of this file.

Macros

#define AB3100_RTC_CLOCK_RATE   32768
 
#define AB3100_RTC   0x53
 
#define RTC_SETTING   0x30
 
#define AB3100_AL0   0x56
 
#define AB3100_AL1   0x57
 
#define AB3100_AL2   0x58
 
#define AB3100_AL3   0x59
 
#define AB3100_TI0   0x5a
 
#define AB3100_TI1   0x5b
 
#define AB3100_TI2   0x5c
 
#define AB3100_TI3   0x5d
 
#define AB3100_TI4   0x5e
 
#define AB3100_TI5   0x5f
 

Functions

 module_init (ab3100_rtc_init)
 
 module_exit (ab3100_rtc_exit)
 
 MODULE_AUTHOR ("Linus Walleij <[email protected]>")
 
 MODULE_DESCRIPTION ("AB3100 RTC Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define AB3100_AL0   0x56

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

#define AB3100_AL1   0x57

Definition at line 32 of file rtc-ab3100.c.

#define AB3100_AL2   0x58

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

#define AB3100_AL3   0x59

Definition at line 34 of file rtc-ab3100.c.

#define AB3100_RTC   0x53

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

#define AB3100_RTC_CLOCK_RATE   32768

Definition at line 15 of file rtc-ab3100.c.

#define AB3100_TI0   0x5a

Definition at line 36 of file rtc-ab3100.c.

#define AB3100_TI1   0x5b

Definition at line 37 of file rtc-ab3100.c.

#define AB3100_TI2   0x5c

Definition at line 38 of file rtc-ab3100.c.

#define AB3100_TI3   0x5d

Definition at line 39 of file rtc-ab3100.c.

#define AB3100_TI4   0x5e

Definition at line 40 of file rtc-ab3100.c.

#define AB3100_TI5   0x5f

Definition at line 41 of file rtc-ab3100.c.

#define RTC_SETTING   0x30

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

Function Documentation

MODULE_AUTHOR ( "Linus Walleij <[email protected]>"  )
MODULE_DESCRIPTION ( "AB3100 RTC Driver"  )
module_exit ( ab3100_rtc_exit  )
module_init ( ab3100_rtc_init  )
MODULE_LICENSE ( "GPL"  )