Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
rtc-cmos.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/platform_device.h>
#include <linux/mod_devicetable.h>
#include <linux/log2.h>
#include <linux/pm.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <asm-generic/rtc.h>

Go to the source code of this file.

Data Structures

struct  cmos_rtc
 

Macros

#define is_valid_irq(n)   ((n) > 0)
 
#define RTC_IRQMASK   (RTC_PF | RTC_AF | RTC_UF)
 
#define can_bank2   false
 
#define cmos_procfs   NULL
 
#define NVRAM_OFFSET   (RTC_REG_D + 1)
 
#define INITSECTION   __init
 
#define of_cmos_match   NULL
 

Functions

 MODULE_ALIAS ("platform:rtc_cmos")
 
 module_init (cmos_init)
 
 module_exit (cmos_exit)
 
 MODULE_AUTHOR ("David Brownell")
 
 MODULE_DESCRIPTION ("Driver for PC-style 'CMOS' RTCs")
 
 MODULE_LICENSE ("GPL")
 

Variables

irq_handler_t hpet_rtc_interrupt
 

Macro Definition Documentation

#define can_bank2   false

Definition at line 172 of file rtc-cmos.c.

#define cmos_procfs   NULL

Definition at line 434 of file rtc-cmos.c.

#define INITSECTION   __init

Definition at line 585 of file rtc-cmos.c.

#define is_valid_irq (   n)    ((n) > 0)

Definition at line 65 of file rtc-cmos.c.

#define NVRAM_OFFSET   (RTC_REG_D + 1)

Definition at line 454 of file rtc-cmos.c.

#define of_cmos_match   NULL

Definition at line 1104 of file rtc-cmos.c.

#define RTC_IRQMASK   (RTC_PF | RTC_AF | RTC_UF)

Definition at line 73 of file rtc-cmos.c.

Function Documentation

MODULE_ALIAS ( "platform:rtc_cmos"  )
MODULE_AUTHOR ( "David Brownell"  )
MODULE_DESCRIPTION ( "Driver for PC-style 'CMOS' RTCs"  )
module_exit ( cmos_exit  )
module_init ( cmos_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

irq_handler_t hpet_rtc_interrupt