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>
#include <asm/mips-boards/generic.h>
#include <asm/mips-boards/malta.h>

Go to the source code of this file.

Macros

#define RTC_PORT(x)   (0x70 + (x))
 
#define RTC_IRQ   8
 
#define RTC_ALWAYS_BCD   0
 
#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 46 of file mc146818rtc.h.

#define RTC_ALWAYS_BCD   0

Definition at line 44 of file mc146818rtc.h.

#define RTC_IRQ   8

Definition at line 30 of file mc146818rtc.h.

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

Definition at line 29 of file mc146818rtc.h.