|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/init.h>#include <linux/module.h>#include <linux/slab.h>#include <linux/irq.h>#include <linux/io.h>#include <linux/delay.h>#include <linux/rtc.h>#include <linux/platform_device.h>Go to the source code of this file.
Data Structures | |
| struct | tegra_rtc_info |
Macros | |
| #define | TEGRA_RTC_REG_BUSY 0x004 |
| #define | TEGRA_RTC_REG_SECONDS 0x008 |
| #define | TEGRA_RTC_REG_SHADOW_SECONDS 0x00c |
| #define | TEGRA_RTC_REG_MILLI_SECONDS 0x010 |
| #define | TEGRA_RTC_REG_SECONDS_ALARM0 0x014 |
| #define | TEGRA_RTC_REG_SECONDS_ALARM1 0x018 |
| #define | TEGRA_RTC_REG_MILLI_SECONDS_ALARM0 0x01c |
| #define | TEGRA_RTC_REG_INTR_MASK 0x028 |
| #define | TEGRA_RTC_REG_INTR_STATUS 0x02c |
| #define | TEGRA_RTC_INTR_MASK_MSEC_CDN_ALARM (1<<4) |
| #define | TEGRA_RTC_INTR_MASK_SEC_CDN_ALARM (1<<3) |
| #define | TEGRA_RTC_INTR_MASK_MSEC_ALARM (1<<2) |
| #define | TEGRA_RTC_INTR_MASK_SEC_ALARM1 (1<<1) |
| #define | TEGRA_RTC_INTR_MASK_SEC_ALARM0 (1<<0) |
| #define | TEGRA_RTC_INTR_STATUS_MSEC_CDN_ALARM (1<<4) |
| #define | TEGRA_RTC_INTR_STATUS_SEC_CDN_ALARM (1<<3) |
| #define | TEGRA_RTC_INTR_STATUS_MSEC_ALARM (1<<2) |
| #define | TEGRA_RTC_INTR_STATUS_SEC_ALARM1 (1<<1) |
| #define | TEGRA_RTC_INTR_STATUS_SEC_ALARM0 (1<<0) |
Functions | |
| MODULE_ALIAS ("platform:tegra_rtc") | |
| module_init (tegra_rtc_init) | |
| module_exit (tegra_rtc_exit) | |
| MODULE_AUTHOR ("Jon Mayo <[email protected]>") | |
| MODULE_DESCRIPTION ("driver for Tegra internal RTC") | |
| MODULE_LICENSE ("GPL") | |
| #define TEGRA_RTC_INTR_MASK_MSEC_ALARM (1<<2) |
Definition at line 46 of file rtc-tegra.c.
| #define TEGRA_RTC_INTR_MASK_MSEC_CDN_ALARM (1<<4) |
Definition at line 44 of file rtc-tegra.c.
| #define TEGRA_RTC_INTR_MASK_SEC_ALARM0 (1<<0) |
Definition at line 48 of file rtc-tegra.c.
| #define TEGRA_RTC_INTR_MASK_SEC_ALARM1 (1<<1) |
Definition at line 47 of file rtc-tegra.c.
| #define TEGRA_RTC_INTR_MASK_SEC_CDN_ALARM (1<<3) |
Definition at line 45 of file rtc-tegra.c.
| #define TEGRA_RTC_INTR_STATUS_MSEC_ALARM (1<<2) |
Definition at line 53 of file rtc-tegra.c.
| #define TEGRA_RTC_INTR_STATUS_MSEC_CDN_ALARM (1<<4) |
Definition at line 51 of file rtc-tegra.c.
| #define TEGRA_RTC_INTR_STATUS_SEC_ALARM0 (1<<0) |
Definition at line 55 of file rtc-tegra.c.
| #define TEGRA_RTC_INTR_STATUS_SEC_ALARM1 (1<<1) |
Definition at line 54 of file rtc-tegra.c.
| #define TEGRA_RTC_INTR_STATUS_SEC_CDN_ALARM (1<<3) |
Definition at line 52 of file rtc-tegra.c.
| #define TEGRA_RTC_REG_BUSY 0x004 |
Definition at line 31 of file rtc-tegra.c.
| #define TEGRA_RTC_REG_INTR_MASK 0x028 |
Definition at line 39 of file rtc-tegra.c.
| #define TEGRA_RTC_REG_INTR_STATUS 0x02c |
Definition at line 41 of file rtc-tegra.c.
| #define TEGRA_RTC_REG_MILLI_SECONDS 0x010 |
Definition at line 35 of file rtc-tegra.c.
| #define TEGRA_RTC_REG_MILLI_SECONDS_ALARM0 0x01c |
Definition at line 38 of file rtc-tegra.c.
| #define TEGRA_RTC_REG_SECONDS 0x008 |
Definition at line 32 of file rtc-tegra.c.
| #define TEGRA_RTC_REG_SECONDS_ALARM0 0x014 |
Definition at line 36 of file rtc-tegra.c.
| #define TEGRA_RTC_REG_SECONDS_ALARM1 0x018 |
Definition at line 37 of file rtc-tegra.c.
| #define TEGRA_RTC_REG_SHADOW_SECONDS 0x00c |
Definition at line 34 of file rtc-tegra.c.
| MODULE_ALIAS | ( | "platform:tegra_rtc" | ) |
| MODULE_AUTHOR | ( | "Jon Mayo <[email protected]>" | ) |
| module_exit | ( | tegra_rtc_exit | ) |
| module_init | ( | tegra_rtc_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2