|
Linux Kernel
3.7.1
|
#include <linux/bcd.h>#include <linux/init.h>#include <linux/kernel.h>#include <linux/gfp.h>#include <linux/delay.h>#include <linux/jiffies.h>#include <linux/rtc.h>#include <linux/platform_device.h>#include <linux/io.h>#include <linux/module.h>Go to the source code of this file.
Data Structures | |
| struct | rtc_plat_data |
Macros | |
| #define | DRV_VERSION "0.4" |
| #define | RTC_SIZE 8 |
| #define | RTC_CONTROL 0 |
| #define | RTC_CENTURY 0 |
| #define | RTC_SECONDS 1 |
| #define | RTC_MINUTES 2 |
| #define | RTC_HOURS 3 |
| #define | RTC_DAY 4 |
| #define | RTC_DATE 5 |
| #define | RTC_MONTH 6 |
| #define | RTC_YEAR 7 |
| #define | RTC_CENTURY_MASK 0x3f |
| #define | RTC_SECONDS_MASK 0x7f |
| #define | RTC_DAY_MASK 0x07 |
| #define | RTC_WRITE 0x80 |
| #define | RTC_READ 0x40 |
| #define | RTC_STOP 0x80 |
| #define | RTC_BATT_FLAG 0x80 |
Functions | |
| module_platform_driver (ds1742_rtc_driver) | |
| MODULE_AUTHOR ("Atsushi Nemoto <anemo@mba.ocn.ne.jp>") | |
| MODULE_DESCRIPTION ("Dallas DS1742 RTC driver") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_VERSION (DRV_VERSION) | |
| MODULE_ALIAS ("platform:rtc-ds1742") | |
| #define DRV_VERSION "0.4" |
Definition at line 26 of file rtc-ds1742.c.
| #define RTC_BATT_FLAG 0x80 |
Definition at line 52 of file rtc-ds1742.c.
| #define RTC_CENTURY 0 |
Definition at line 31 of file rtc-ds1742.c.
| #define RTC_CENTURY_MASK 0x3f |
Definition at line 40 of file rtc-ds1742.c.
| #define RTC_CONTROL 0 |
Definition at line 30 of file rtc-ds1742.c.
| #define RTC_DATE 5 |
Definition at line 36 of file rtc-ds1742.c.
| #define RTC_DAY 4 |
Definition at line 35 of file rtc-ds1742.c.
| #define RTC_DAY_MASK 0x07 |
Definition at line 42 of file rtc-ds1742.c.
| #define RTC_HOURS 3 |
Definition at line 34 of file rtc-ds1742.c.
| #define RTC_MINUTES 2 |
Definition at line 33 of file rtc-ds1742.c.
| #define RTC_MONTH 6 |
Definition at line 37 of file rtc-ds1742.c.
| #define RTC_READ 0x40 |
Definition at line 46 of file rtc-ds1742.c.
| #define RTC_SECONDS 1 |
Definition at line 32 of file rtc-ds1742.c.
| #define RTC_SECONDS_MASK 0x7f |
Definition at line 41 of file rtc-ds1742.c.
| #define RTC_SIZE 8 |
Definition at line 28 of file rtc-ds1742.c.
| #define RTC_STOP 0x80 |
Definition at line 49 of file rtc-ds1742.c.
| #define RTC_WRITE 0x80 |
Definition at line 45 of file rtc-ds1742.c.
| #define RTC_YEAR 7 |
Definition at line 38 of file rtc-ds1742.c.
| MODULE_ALIAS | ( | "platform:rtc-ds1742" | ) |
| MODULE_AUTHOR | ( | "Atsushi Nemoto <anemo@mba.ocn.ne.jp>" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | ds1742_rtc_driver | ) |
| MODULE_VERSION | ( | DRV_VERSION | ) |
1.8.2