Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/rtc.h>
#include <linux/bcd.h>
#include <linux/err.h>
#include <linux/mfd/pcf50633/core.h>
Go to the source code of this file.
Data Structures | |
struct | pcf50633_time |
struct | pcf50633_rtc |
Macros | |
#define | PCF50633_REG_RTCSC 0x59 /* Second */ |
#define | PCF50633_REG_RTCMN 0x5a /* Minute */ |
#define | PCF50633_REG_RTCHR 0x5b /* Hour */ |
#define | PCF50633_REG_RTCWD 0x5c /* Weekday */ |
#define | PCF50633_REG_RTCDT 0x5d /* Day */ |
#define | PCF50633_REG_RTCMT 0x5e /* Month */ |
#define | PCF50633_REG_RTCYR 0x5f /* Year */ |
#define | PCF50633_REG_RTCSCA 0x60 /* Alarm Second */ |
#define | PCF50633_REG_RTCMNA 0x61 /* Alarm Minute */ |
#define | PCF50633_REG_RTCHRA 0x62 /* Alarm Hour */ |
#define | PCF50633_REG_RTCWDA 0x63 /* Alarm Weekday */ |
#define | PCF50633_REG_RTCDTA 0x64 /* Alarm Day */ |
#define | PCF50633_REG_RTCMTA 0x65 /* Alarm Month */ |
#define | PCF50633_REG_RTCYRA 0x66 /* Alarm Year */ |
Enumerations | |
enum | pcf50633_time_indexes { PCF50633_TI_SEC, PCF50633_TI_MIN, PCF50633_TI_HOUR, PCF50633_TI_WKDAY, PCF50633_TI_DAY, PCF50633_TI_MONTH, PCF50633_TI_YEAR, PCF50633_TI_EXTENT } |
Functions | |
module_platform_driver (pcf50633_rtc_driver) | |
MODULE_DESCRIPTION ("PCF50633 RTC driver") | |
MODULE_AUTHOR ("Balaji Rao <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
#define PCF50633_REG_RTCDT 0x5d /* Day */ |
Definition at line 33 of file rtc-pcf50633.c.
#define PCF50633_REG_RTCDTA 0x64 /* Alarm Day */ |
Definition at line 40 of file rtc-pcf50633.c.
#define PCF50633_REG_RTCHR 0x5b /* Hour */ |
Definition at line 31 of file rtc-pcf50633.c.
#define PCF50633_REG_RTCHRA 0x62 /* Alarm Hour */ |
Definition at line 38 of file rtc-pcf50633.c.
#define PCF50633_REG_RTCMN 0x5a /* Minute */ |
Definition at line 30 of file rtc-pcf50633.c.
#define PCF50633_REG_RTCMNA 0x61 /* Alarm Minute */ |
Definition at line 37 of file rtc-pcf50633.c.
#define PCF50633_REG_RTCMT 0x5e /* Month */ |
Definition at line 34 of file rtc-pcf50633.c.
#define PCF50633_REG_RTCMTA 0x65 /* Alarm Month */ |
Definition at line 41 of file rtc-pcf50633.c.
#define PCF50633_REG_RTCSC 0x59 /* Second */ |
Definition at line 29 of file rtc-pcf50633.c.
#define PCF50633_REG_RTCSCA 0x60 /* Alarm Second */ |
Definition at line 36 of file rtc-pcf50633.c.
#define PCF50633_REG_RTCWD 0x5c /* Weekday */ |
Definition at line 32 of file rtc-pcf50633.c.
#define PCF50633_REG_RTCWDA 0x63 /* Alarm Weekday */ |
Definition at line 39 of file rtc-pcf50633.c.
#define PCF50633_REG_RTCYR 0x5f /* Year */ |
Definition at line 35 of file rtc-pcf50633.c.
#define PCF50633_REG_RTCYRA 0x66 /* Alarm Year */ |
Definition at line 42 of file rtc-pcf50633.c.
PCF50633_TI_SEC | |
PCF50633_TI_MIN | |
PCF50633_TI_HOUR | |
PCF50633_TI_WKDAY | |
PCF50633_TI_DAY | |
PCF50633_TI_MONTH | |
PCF50633_TI_YEAR | |
PCF50633_TI_EXTENT |
Definition at line 44 of file rtc-pcf50633.c.
MODULE_AUTHOR | ( | "Balaji Rao <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | pcf50633_rtc_driver | ) |