|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/kernel.h>#include <linux/init.h>#include <linux/platform_device.h>#include <linux/rtc.h>#include <linux/mfd/abx500.h>#include <linux/mfd/abx500/ab8500.h>#include <linux/delay.h>#include <linux/of.h>Go to the source code of this file.
Macros | |
| #define | AB8500_RTC_SOFF_STAT_REG 0x00 |
| #define | AB8500_RTC_CC_CONF_REG 0x01 |
| #define | AB8500_RTC_READ_REQ_REG 0x02 |
| #define | AB8500_RTC_WATCH_TSECMID_REG 0x03 |
| #define | AB8500_RTC_WATCH_TSECHI_REG 0x04 |
| #define | AB8500_RTC_WATCH_TMIN_LOW_REG 0x05 |
| #define | AB8500_RTC_WATCH_TMIN_MID_REG 0x06 |
| #define | AB8500_RTC_WATCH_TMIN_HI_REG 0x07 |
| #define | AB8500_RTC_ALRM_MIN_LOW_REG 0x08 |
| #define | AB8500_RTC_ALRM_MIN_MID_REG 0x09 |
| #define | AB8500_RTC_ALRM_MIN_HI_REG 0x0A |
| #define | AB8500_RTC_STAT_REG 0x0B |
| #define | AB8500_RTC_BKUP_CHG_REG 0x0C |
| #define | AB8500_RTC_FORCE_BKUP_REG 0x0D |
| #define | AB8500_RTC_CALIB_REG 0x0E |
| #define | AB8500_RTC_SWITCH_STAT_REG 0x0F |
| #define | RTC_READ_REQUEST 0x01 |
| #define | RTC_WRITE_REQUEST 0x02 |
| #define | RTC_ALARM_ENA 0x04 |
| #define | RTC_STATUS_DATA 0x01 |
| #define | COUNTS_PER_SEC (0xF000 / 60) |
| #define | AB8500_RTC_EPOCH 2000 |
Functions | |
| module_platform_driver (ab8500_rtc_driver) | |
| MODULE_AUTHOR ("Virupax Sadashivpetimath <[email protected]>") | |
| MODULE_DESCRIPTION ("AB8500 RTC Driver") | |
| MODULE_LICENSE ("GPL v2") | |
| #define AB8500_RTC_ALRM_MIN_HI_REG 0x0A |
Definition at line 32 of file rtc-ab8500.c.
| #define AB8500_RTC_ALRM_MIN_LOW_REG 0x08 |
Definition at line 30 of file rtc-ab8500.c.
| #define AB8500_RTC_ALRM_MIN_MID_REG 0x09 |
Definition at line 31 of file rtc-ab8500.c.
| #define AB8500_RTC_BKUP_CHG_REG 0x0C |
Definition at line 34 of file rtc-ab8500.c.
| #define AB8500_RTC_CALIB_REG 0x0E |
Definition at line 36 of file rtc-ab8500.c.
| #define AB8500_RTC_CC_CONF_REG 0x01 |
Definition at line 23 of file rtc-ab8500.c.
| #define AB8500_RTC_EPOCH 2000 |
Definition at line 48 of file rtc-ab8500.c.
| #define AB8500_RTC_FORCE_BKUP_REG 0x0D |
Definition at line 35 of file rtc-ab8500.c.
| #define AB8500_RTC_READ_REQ_REG 0x02 |
Definition at line 24 of file rtc-ab8500.c.
| #define AB8500_RTC_SOFF_STAT_REG 0x00 |
Definition at line 22 of file rtc-ab8500.c.
| #define AB8500_RTC_STAT_REG 0x0B |
Definition at line 33 of file rtc-ab8500.c.
| #define AB8500_RTC_SWITCH_STAT_REG 0x0F |
Definition at line 37 of file rtc-ab8500.c.
| #define AB8500_RTC_WATCH_TMIN_HI_REG 0x07 |
Definition at line 29 of file rtc-ab8500.c.
| #define AB8500_RTC_WATCH_TMIN_LOW_REG 0x05 |
Definition at line 27 of file rtc-ab8500.c.
| #define AB8500_RTC_WATCH_TMIN_MID_REG 0x06 |
Definition at line 28 of file rtc-ab8500.c.
| #define AB8500_RTC_WATCH_TSECHI_REG 0x04 |
Definition at line 26 of file rtc-ab8500.c.
| #define AB8500_RTC_WATCH_TSECMID_REG 0x03 |
Definition at line 25 of file rtc-ab8500.c.
| #define COUNTS_PER_SEC (0xF000 / 60) |
Definition at line 47 of file rtc-ab8500.c.
| #define RTC_ALARM_ENA 0x04 |
Definition at line 44 of file rtc-ab8500.c.
| #define RTC_READ_REQUEST 0x01 |
Definition at line 40 of file rtc-ab8500.c.
| #define RTC_STATUS_DATA 0x01 |
Definition at line 45 of file rtc-ab8500.c.
| #define RTC_WRITE_REQUEST 0x02 |
Definition at line 41 of file rtc-ab8500.c.
| MODULE_AUTHOR | ( | "Virupax Sadashivpetimath <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "AB8500 RTC Driver" | ) |
| MODULE_LICENSE | ( | "GPL v2" | ) |
| module_platform_driver | ( | ab8500_rtc_driver | ) |
1.8.2