Linux Kernel
3.7.1
|
#include <linux/bcd.h>
#include <linux/completion.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/rtc.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <asm/blackfin.h>
Go to the source code of this file.
Data Structures | |
struct | bfin_rtc |
Macros | |
#define | dev_dbg_stamp(dev) dev_dbg(dev, "%s:%i: here i am\n", __func__, __LINE__) |
#define | RTC_ISTAT_WRITE_COMPLETE 0x8000 |
#define | RTC_ISTAT_WRITE_PENDING 0x4000 |
#define | RTC_ISTAT_ALARM_DAY 0x0040 |
#define | RTC_ISTAT_24HR 0x0020 |
#define | RTC_ISTAT_HOUR 0x0010 |
#define | RTC_ISTAT_MIN 0x0008 |
#define | RTC_ISTAT_SEC 0x0004 |
#define | RTC_ISTAT_ALARM 0x0002 |
#define | RTC_ISTAT_STOPWATCH 0x0001 |
#define | DAY_BITS_OFF 17 |
#define | HOUR_BITS_OFF 12 |
#define | MIN_BITS_OFF 6 |
#define | SEC_BITS_OFF 0 |
#define | yesno(x) ((x) ? "yes" : "no") |
#define | bfin_rtc_suspend NULL |
#define | bfin_rtc_resume NULL |
Functions | |
module_platform_driver (bfin_rtc_driver) | |
MODULE_DESCRIPTION ("Blackfin On-Chip Real Time Clock Driver") | |
MODULE_AUTHOR ("Mike Frysinger <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:rtc-bfin") | |
#define bfin_rtc_resume NULL |
Definition at line 445 of file rtc-bfin.c.
#define bfin_rtc_suspend NULL |
Definition at line 444 of file rtc-bfin.c.
#define DAY_BITS_OFF 17 |
Definition at line 78 of file rtc-bfin.c.
Definition at line 58 of file rtc-bfin.c.
#define HOUR_BITS_OFF 12 |
Definition at line 79 of file rtc-bfin.c.
#define MIN_BITS_OFF 6 |
Definition at line 80 of file rtc-bfin.c.
#define RTC_ISTAT_24HR 0x0020 |
Definition at line 70 of file rtc-bfin.c.
#define RTC_ISTAT_ALARM 0x0002 |
Definition at line 74 of file rtc-bfin.c.
#define RTC_ISTAT_ALARM_DAY 0x0040 |
Definition at line 69 of file rtc-bfin.c.
#define RTC_ISTAT_HOUR 0x0010 |
Definition at line 71 of file rtc-bfin.c.
#define RTC_ISTAT_MIN 0x0008 |
Definition at line 72 of file rtc-bfin.c.
#define RTC_ISTAT_SEC 0x0004 |
Definition at line 73 of file rtc-bfin.c.
#define RTC_ISTAT_STOPWATCH 0x0001 |
Definition at line 75 of file rtc-bfin.c.
#define RTC_ISTAT_WRITE_COMPLETE 0x8000 |
Definition at line 67 of file rtc-bfin.c.
#define RTC_ISTAT_WRITE_PENDING 0x4000 |
Definition at line 68 of file rtc-bfin.c.
#define SEC_BITS_OFF 0 |
Definition at line 81 of file rtc-bfin.c.
MODULE_ALIAS | ( | "platform:rtc-bfin" | ) |
MODULE_AUTHOR | ( | "Mike Frysinger <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | bfin_rtc_driver | ) |