Linux Kernel
3.7.1
|
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/rtc.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | msm6242_priv |
Enumerations | |
enum | { MSM6242_SECOND1 = 0x0, MSM6242_SECOND10 = 0x1, MSM6242_MINUTE1 = 0x2, MSM6242_MINUTE10 = 0x3, MSM6242_HOUR1 = 0x4, MSM6242_HOUR10 = 0x5, MSM6242_DAY1 = 0x6, MSM6242_DAY10 = 0x7, MSM6242_MONTH1 = 0x8, MSM6242_MONTH10 = 0x9, MSM6242_YEAR1 = 0xa, MSM6242_YEAR10 = 0xb, MSM6242_WEEK = 0xc, MSM6242_CD = 0xd, MSM6242_CE = 0xe, MSM6242_CF = 0xf } |
Functions | |
module_init (msm6242_rtc_init) | |
module_exit (msm6242_rtc_fini) | |
MODULE_AUTHOR ("Geert Uytterhoeven <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
MODULE_DESCRIPTION ("Oki MSM6242 RTC driver") | |
MODULE_ALIAS ("platform:rtc-msm6242") | |
#define MSM6242_CD_30_S_ADJ (1 << 3) /* 30-second adjustment */ |
Definition at line 50 of file rtc-msm6242.c.
#define MSM6242_CD_BUSY (1 << 1) |
Definition at line 52 of file rtc-msm6242.c.
#define MSM6242_CD_HOLD (1 << 0) |
Definition at line 53 of file rtc-msm6242.c.
#define MSM6242_CD_IRQ_FLAG (1 << 2) |
Definition at line 51 of file rtc-msm6242.c.
#define MSM6242_CE_ITRPT_STND (1 << 1) |
Definition at line 61 of file rtc-msm6242.c.
Definition at line 62 of file rtc-msm6242.c.
Definition at line 59 of file rtc-msm6242.c.
Definition at line 57 of file rtc-msm6242.c.
Definition at line 58 of file rtc-msm6242.c.
Definition at line 56 of file rtc-msm6242.c.
#define MSM6242_CE_T_MASK (3 << 2) |
Definition at line 55 of file rtc-msm6242.c.
#define MSM6242_CF_12H (0 << 2) |
Definition at line 65 of file rtc-msm6242.c.
#define MSM6242_CF_24H (1 << 2) |
Definition at line 66 of file rtc-msm6242.c.
#define MSM6242_CF_REST (1 << 0) /* reset */ |
Definition at line 68 of file rtc-msm6242.c.
#define MSM6242_CF_STOP (1 << 1) |
Definition at line 67 of file rtc-msm6242.c.
#define MSM6242_CF_TEST (1 << 3) |
Definition at line 64 of file rtc-msm6242.c.
#define MSM6242_HOUR10_AM (0 << 2) |
Definition at line 38 of file rtc-msm6242.c.
#define MSM6242_HOUR10_HR_MASK (3 << 0) |
Definition at line 40 of file rtc-msm6242.c.
#define MSM6242_HOUR10_PM (1 << 2) |
Definition at line 39 of file rtc-msm6242.c.
#define MSM6242_WEEK_FRIDAY 5 |
Definition at line 47 of file rtc-msm6242.c.
#define MSM6242_WEEK_MONDAY 1 |
Definition at line 43 of file rtc-msm6242.c.
#define MSM6242_WEEK_SATURDAY 6 |
Definition at line 48 of file rtc-msm6242.c.
#define MSM6242_WEEK_SUNDAY 0 |
Definition at line 42 of file rtc-msm6242.c.
#define MSM6242_WEEK_THURSDAY 4 |
Definition at line 46 of file rtc-msm6242.c.
#define MSM6242_WEEK_TUESDAY 2 |
Definition at line 44 of file rtc-msm6242.c.
#define MSM6242_WEEK_WEDNESDAY 3 |
Definition at line 45 of file rtc-msm6242.c.
anonymous enum |
Definition at line 19 of file rtc-msm6242.c.
MODULE_ALIAS | ( | "platform:rtc-msm6242" | ) |
MODULE_AUTHOR | ( | "Geert Uytterhoeven <[email protected]>" | ) |
module_exit | ( | msm6242_rtc_fini | ) |
module_init | ( | msm6242_rtc_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |