Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rtc.c File Reference
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/miscdevice.h>
#include <linux/ioport.h>
#include <linux/fcntl.h>
#include <linux/mc146818rtc.h>
#include <linux/init.h>
#include <linux/poll.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/spinlock.h>
#include <linux/sched.h>
#include <linux/sysctl.h>
#include <linux/wait.h>
#include <linux/bcd.h>
#include <linux/delay.h>
#include <linux/uaccess.h>
#include <linux/ratelimit.h>
#include <asm/current.h>

Go to the source code of this file.

Macros

#define RTC_VERSION   "1.12b"
 
#define is_hpet_enabled()   0
 
#define hpet_set_alarm_time(hrs, min, sec)   0
 
#define hpet_set_periodic_freq(arg)   0
 
#define hpet_mask_rtc_irq_bit(arg)   0
 
#define hpet_set_rtc_irq_bit(arg)   0
 
#define hpet_rtc_timer_init()   do { } while (0)
 
#define hpet_rtc_dropped_irq()   0
 
#define hpet_register_irq_handler(h)   ({ 0; })
 
#define hpet_unregister_irq_handler(h)   ({ 0; })
 
#define RTC_IS_OPEN   0x01 /* means /dev/rtc is in use */
 
#define RTC_TIMER_ON   0x02 /* missed irq timer active */
 

Functions

int rtc_register (rtc_task_t *task)
 
 EXPORT_SYMBOL (rtc_register)
 
int rtc_unregister (rtc_task_t *task)
 
 EXPORT_SYMBOL (rtc_unregister)
 
int rtc_control (rtc_task_t *task, unsigned int cmd, unsigned long arg)
 
 EXPORT_SYMBOL (rtc_control)
 
 module_init (rtc_init)
 
 module_exit (rtc_exit)
 
 MODULE_AUTHOR ("Paul Gortmaker")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_MISCDEV (RTC_MINOR)
 

Macro Definition Documentation

#define hpet_mask_rtc_irq_bit (   arg)    0

Definition at line 112 of file rtc.c.

#define hpet_register_irq_handler (   h)    ({ 0; })

Definition at line 116 of file rtc.c.

#define hpet_rtc_dropped_irq (   void)    0

Definition at line 115 of file rtc.c.

#define hpet_rtc_timer_init (   void)    do { } while (0)

Definition at line 114 of file rtc.c.

#define hpet_set_alarm_time (   hrs,
  min,
  sec 
)    0

Definition at line 110 of file rtc.c.

#define hpet_set_periodic_freq (   arg)    0

Definition at line 111 of file rtc.c.

#define hpet_set_rtc_irq_bit (   arg)    0

Definition at line 113 of file rtc.c.

#define hpet_unregister_irq_handler (   h)    ({ 0; })

Definition at line 117 of file rtc.c.

#define is_hpet_enabled (   void)    0

Definition at line 109 of file rtc.c.

#define RTC_IS_OPEN   0x01 /* means /dev/rtc is in use */

Definition at line 181 of file rtc.c.

#define RTC_TIMER_ON   0x02 /* missed irq timer active */

Definition at line 182 of file rtc.c.

#define RTC_VERSION   "1.12b"

Definition at line 54 of file rtc.c.

Function Documentation

EXPORT_SYMBOL ( rtc_register  )
EXPORT_SYMBOL ( rtc_unregister  )
EXPORT_SYMBOL ( rtc_control  )
MODULE_ALIAS_MISCDEV ( RTC_MINOR  )
MODULE_AUTHOR ( "Paul Gortmaker"  )
module_exit ( rtc_exit  )
module_init ( rtc_init  )
MODULE_LICENSE ( "GPL"  )
int rtc_control ( rtc_task_t task,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 876 of file rtc.c.

int rtc_register ( rtc_task_t task)

Definition at line 812 of file rtc.c.

int rtc_unregister ( rtc_task_t task)

Definition at line 839 of file rtc.c.