Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
hp_sdc_rtc.c File Reference
#include <linux/hp_sdc.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/time.h>
#include <linux/miscdevice.h>
#include <linux/proc_fs.h>
#include <linux/poll.h>
#include <linux/rtc.h>
#include <linux/mutex.h>
#include <linux/semaphore.h>

Go to the source code of this file.

Macros

#define RTC_VERSION   "1.10d"
 
#define hp_sdc_rtc_set_mt
 
#define hp_sdc_rtc_set_dt
 
#define hp_sdc_rtc_set_ct
 
#define YN(bit)   ("no")
 
#define NY(bit)   ("yes")
 

Functions

 MODULE_AUTHOR ("Brian S. Julin <[email protected]>")
 
 MODULE_DESCRIPTION ("HP i8042 SDC + MSM-58321 RTC Driver")
 
 MODULE_LICENSE ("Dual BSD/GPL")
 
 module_init (hp_sdc_rtc_init)
 
 module_exit (hp_sdc_rtc_exit)
 

Macro Definition Documentation

#define hp_sdc_rtc_set_ct
Value:
(setto) \
hp_sdc_rtc_set_i8042timer(setto, HP_SDC_CMD_SET_CT)

Definition at line 356 of file hp_sdc_rtc.c.

#define hp_sdc_rtc_set_dt
Value:
(setto) \
hp_sdc_rtc_set_i8042timer(setto, HP_SDC_CMD_SET_DT)

Definition at line 352 of file hp_sdc_rtc.c.

#define hp_sdc_rtc_set_mt
Value:
(setto) \
hp_sdc_rtc_set_i8042timer(setto, HP_SDC_CMD_SET_MT)

Definition at line 348 of file hp_sdc_rtc.c.

#define NY (   bit)    ("yes")
#define RTC_VERSION   "1.10d"

Definition at line 53 of file hp_sdc_rtc.c.

#define YN (   bit)    ("no")

Function Documentation

MODULE_AUTHOR ( "Brian S. Julin <[email protected]>"  )
MODULE_DESCRIPTION ( "HP i8042 SDC + MSM-58321 RTC Driver"  )
module_exit ( hp_sdc_rtc_exit  )
module_init ( hp_sdc_rtc_init  )
MODULE_LICENSE ( "Dual BSD/GPL"  )