Linux Kernel
3.7.1
|
#include <linux/bcd.h>
#include <linux/i2c.h>
#include <linux/mfd/max8907.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/rtc.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | max8907_rtc |
Macros | |
#define | TIME_NUM 8 |
#define | ALARM_1SEC (1 << 7) |
#define | HOUR_12 (1 << 7) |
#define | HOUR_AM_PM (1 << 5) |
#define | ALARM0_IRQ (1 << 3) |
#define | ALARM1_IRQ (1 << 2) |
#define | ALARM0_STATUS (1 << 2) |
#define | ALARM1_STATUS (1 << 1) |
Enumerations | |
enum | { RTC_SEC = 0, RTC_MIN, RTC_HOUR, RTC_WEEKDAY, RTC_DATE, RTC_MONTH, RTC_YEAR1, RTC_YEAR2 } |
Functions | |
module_platform_driver (max8907_rtc_driver) | |
MODULE_DESCRIPTION ("Maxim MAX8907 RTC driver") | |
MODULE_LICENSE ("GPL v2") | |
#define ALARM0_IRQ (1 << 3) |
Definition at line 38 of file rtc-max8907.c.
#define ALARM0_STATUS (1 << 2) |
Definition at line 40 of file rtc-max8907.c.
#define ALARM1_IRQ (1 << 2) |
Definition at line 39 of file rtc-max8907.c.
#define ALARM1_STATUS (1 << 1) |
Definition at line 41 of file rtc-max8907.c.
#define ALARM_1SEC (1 << 7) |
Definition at line 35 of file rtc-max8907.c.
#define HOUR_12 (1 << 7) |
Definition at line 36 of file rtc-max8907.c.
#define HOUR_AM_PM (1 << 5) |
Definition at line 37 of file rtc-max8907.c.
#define TIME_NUM 8 |
Definition at line 34 of file rtc-max8907.c.
anonymous enum |
Definition at line 23 of file rtc-max8907.c.
MODULE_LICENSE | ( | "GPL v2" | ) |
module_platform_driver | ( | max8907_rtc_driver | ) |