Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mc146818rtc.h File Reference
#include <asm/io.h>

Go to the source code of this file.

Macros

#define RTC_PORT(x)   (0x70 + (x))
 
#define RTC_IRQ   8
 
#define RTC_ALWAYS_BCD   1
 
#define mc146818_decode_year(year)   ((year) < 70 ? (year) + 2000 : (year) + 1900)
 

Macro Definition Documentation

#define mc146818_decode_year (   year)    ((year) < 70 ? (year) + 2000 : (year) + 1900)

Definition at line 33 of file mc146818rtc.h.

#define RTC_ALWAYS_BCD   1

Definition at line 30 of file mc146818rtc.h.

#define RTC_IRQ   8

Definition at line 16 of file mc146818rtc.h.

#define RTC_PORT (   x)    (0x70 + (x))

Definition at line 15 of file mc146818rtc.h.