Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
rtc-88pm80x.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/regmap.h>
#include <linux/mfd/core.h>
#include <linux/mfd/88pm80x.h>
#include <linux/rtc.h>

Go to the source code of this file.

Data Structures

struct  pm80x_rtc_info
 

Macros

#define PM800_RTC_COUNTER1   (0xD1)
 
#define PM800_RTC_COUNTER2   (0xD2)
 
#define PM800_RTC_COUNTER3   (0xD3)
 
#define PM800_RTC_COUNTER4   (0xD4)
 
#define PM800_RTC_EXPIRE1_1   (0xD5)
 
#define PM800_RTC_EXPIRE1_2   (0xD6)
 
#define PM800_RTC_EXPIRE1_3   (0xD7)
 
#define PM800_RTC_EXPIRE1_4   (0xD8)
 
#define PM800_RTC_TRIM1   (0xD9)
 
#define PM800_RTC_TRIM2   (0xDA)
 
#define PM800_RTC_TRIM3   (0xDB)
 
#define PM800_RTC_TRIM4   (0xDC)
 
#define PM800_RTC_EXPIRE2_1   (0xDD)
 
#define PM800_RTC_EXPIRE2_2   (0xDE)
 
#define PM800_RTC_EXPIRE2_3   (0xDF)
 
#define PM800_RTC_EXPIRE2_4   (0xE0)
 
#define PM800_POWER_DOWN_LOG1   (0xE5)
 
#define PM800_POWER_DOWN_LOG2   (0xE6)
 

Functions

 module_platform_driver (pm80x_rtc_driver)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Marvell 88PM80x RTC driver")
 
 MODULE_AUTHOR ("Qiao Zhou <[email protected]>")
 
 MODULE_ALIAS ("platform:88pm80x-rtc")
 

Macro Definition Documentation

#define PM800_POWER_DOWN_LOG1   (0xE5)

Definition at line 47 of file rtc-88pm80x.c.

#define PM800_POWER_DOWN_LOG2   (0xE6)

Definition at line 48 of file rtc-88pm80x.c.

#define PM800_RTC_COUNTER1   (0xD1)

Definition at line 30 of file rtc-88pm80x.c.

#define PM800_RTC_COUNTER2   (0xD2)

Definition at line 31 of file rtc-88pm80x.c.

#define PM800_RTC_COUNTER3   (0xD3)

Definition at line 32 of file rtc-88pm80x.c.

#define PM800_RTC_COUNTER4   (0xD4)

Definition at line 33 of file rtc-88pm80x.c.

#define PM800_RTC_EXPIRE1_1   (0xD5)

Definition at line 34 of file rtc-88pm80x.c.

#define PM800_RTC_EXPIRE1_2   (0xD6)

Definition at line 35 of file rtc-88pm80x.c.

#define PM800_RTC_EXPIRE1_3   (0xD7)

Definition at line 36 of file rtc-88pm80x.c.

#define PM800_RTC_EXPIRE1_4   (0xD8)

Definition at line 37 of file rtc-88pm80x.c.

#define PM800_RTC_EXPIRE2_1   (0xDD)

Definition at line 42 of file rtc-88pm80x.c.

#define PM800_RTC_EXPIRE2_2   (0xDE)

Definition at line 43 of file rtc-88pm80x.c.

#define PM800_RTC_EXPIRE2_3   (0xDF)

Definition at line 44 of file rtc-88pm80x.c.

#define PM800_RTC_EXPIRE2_4   (0xE0)

Definition at line 45 of file rtc-88pm80x.c.

#define PM800_RTC_TRIM1   (0xD9)

Definition at line 38 of file rtc-88pm80x.c.

#define PM800_RTC_TRIM2   (0xDA)

Definition at line 39 of file rtc-88pm80x.c.

#define PM800_RTC_TRIM3   (0xDB)

Definition at line 40 of file rtc-88pm80x.c.

#define PM800_RTC_TRIM4   (0xDC)

Definition at line 41 of file rtc-88pm80x.c.

Function Documentation

MODULE_ALIAS ( "platform:88pm80x-rtc )
MODULE_AUTHOR ( "Qiao Zhou <[email protected]>"  )
MODULE_DESCRIPTION ( "Marvell 88PM80x RTC driver"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( pm80x_rtc_driver  )