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

Go to the source code of this file.

Data Structures

struct  rc5t583_rtc
 

Macros

#define NUM_TIME_REGS   (RC5T583_RTC_YEAR - RC5T583_RTC_SEC + 1)
 
#define NUM_YAL_REGS   (RC5T583_RTC_AY_YEAR - RC5T583_RTC_AY_MIN + 1)
 
#define SET_YAL   BIT(5)
 
#define GET_YAL_STATUS   BIT(3)
 
#define DEV_PM_OPS   NULL
 

Functions

 module_platform_driver (rc5t583_rtc_driver)
 
 MODULE_ALIAS ("platform:rtc-rc5t583")
 
 MODULE_AUTHOR ("Venu Byravarasu <[email protected]>")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define DEV_PM_OPS   NULL

Definition at line 315 of file rtc-rc5t583.c.

#define GET_YAL_STATUS   BIT(3)

Definition at line 46 of file rtc-rc5t583.c.

#define NUM_TIME_REGS   (RC5T583_RTC_YEAR - RC5T583_RTC_SEC + 1)

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

#define NUM_YAL_REGS   (RC5T583_RTC_AY_YEAR - RC5T583_RTC_AY_MIN + 1)

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

#define SET_YAL   BIT(5)

Definition at line 43 of file rtc-rc5t583.c.

Function Documentation

MODULE_ALIAS ( "platform:rtc-rc5t583 )
MODULE_AUTHOR ( "Venu Byravarasu <[email protected]>"  )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( rc5t583_rtc_driver  )