|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/module.h>#include <linux/platform_device.h>#include <linux/rtc.h>#include <linux/slab.h>#include <linux/spinlock.h>Go to the source code of this file.
Data Structures | |
| struct | jz4740_rtc |
Macros | |
| #define | JZ_REG_RTC_CTRL 0x00 |
| #define | JZ_REG_RTC_SEC 0x04 |
| #define | JZ_REG_RTC_SEC_ALARM 0x08 |
| #define | JZ_REG_RTC_REGULATOR 0x0C |
| #define | JZ_REG_RTC_HIBERNATE 0x20 |
| #define | JZ_REG_RTC_SCRATCHPAD 0x34 |
| #define | JZ_RTC_CTRL_WRDY BIT(7) |
| #define | JZ_RTC_CTRL_1HZ BIT(6) |
| #define | JZ_RTC_CTRL_1HZ_IRQ BIT(5) |
| #define | JZ_RTC_CTRL_AF BIT(4) |
| #define | JZ_RTC_CTRL_AF_IRQ BIT(3) |
| #define | JZ_RTC_CTRL_AE BIT(2) |
| #define | JZ_RTC_CTRL_ENABLE BIT(0) |
| #define | JZ4740_RTC_PM_OPS NULL |
Functions | |
| void | jz4740_rtc_poweroff (struct device *dev) |
| EXPORT_SYMBOL_GPL (jz4740_rtc_poweroff) | |
| module_platform_driver (jz4740_rtc_driver) | |
| MODULE_AUTHOR ("Lars-Peter Clausen <[email protected]>") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_DESCRIPTION ("RTC driver for the JZ4740 SoC\n") | |
| MODULE_ALIAS ("platform:jz4740-rtc") | |
| #define JZ4740_RTC_PM_OPS NULL |
Definition at line 345 of file rtc-jz4740.c.
| #define JZ_REG_RTC_CTRL 0x00 |
Definition at line 24 of file rtc-jz4740.c.
| #define JZ_REG_RTC_HIBERNATE 0x20 |
Definition at line 28 of file rtc-jz4740.c.
| #define JZ_REG_RTC_REGULATOR 0x0C |
Definition at line 27 of file rtc-jz4740.c.
| #define JZ_REG_RTC_SCRATCHPAD 0x34 |
Definition at line 29 of file rtc-jz4740.c.
| #define JZ_REG_RTC_SEC 0x04 |
Definition at line 25 of file rtc-jz4740.c.
| #define JZ_REG_RTC_SEC_ALARM 0x08 |
Definition at line 26 of file rtc-jz4740.c.
| #define JZ_RTC_CTRL_1HZ BIT(6) |
Definition at line 32 of file rtc-jz4740.c.
| #define JZ_RTC_CTRL_1HZ_IRQ BIT(5) |
Definition at line 33 of file rtc-jz4740.c.
| #define JZ_RTC_CTRL_AE BIT(2) |
Definition at line 36 of file rtc-jz4740.c.
| #define JZ_RTC_CTRL_AF BIT(4) |
Definition at line 34 of file rtc-jz4740.c.
| #define JZ_RTC_CTRL_AF_IRQ BIT(3) |
Definition at line 35 of file rtc-jz4740.c.
| #define JZ_RTC_CTRL_ENABLE BIT(0) |
Definition at line 37 of file rtc-jz4740.c.
| #define JZ_RTC_CTRL_WRDY BIT(7) |
Definition at line 31 of file rtc-jz4740.c.
| EXPORT_SYMBOL_GPL | ( | jz4740_rtc_poweroff | ) |
Definition at line 206 of file rtc-jz4740.c.
| MODULE_ALIAS | ( | "platform:jz4740-rtc" | ) |
| MODULE_AUTHOR | ( | "Lars-Peter Clausen <[email protected]>" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | jz4740_rtc_driver | ) |
1.8.2