Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/bcd.h>
#include <linux/i2c.h>
#include <linux/list.h>
#include <linux/rtc.h>
Go to the source code of this file.
Data Structures | |
struct | rx8025_data |
Functions | |
MODULE_DEVICE_TABLE (i2c, rx8025_id) | |
module_i2c_driver (rx8025_driver) | |
MODULE_AUTHOR ("Wolfgang Grandegger <[email protected]>") | |
MODULE_DESCRIPTION ("RX-8025 SA/NB RTC driver") | |
MODULE_LICENSE ("GPL") | |
#define RX8025_ADJ_DATA_MAX 62 |
Definition at line 65 of file rtc-rx8025.c.
#define RX8025_ADJ_DATA_MIN -62 |
Definition at line 66 of file rtc-rx8025.c.
Definition at line 64 of file rtc-rx8025.c.
#define RX8025_BIT_CTRL1_1224 (1 << 5) |
Definition at line 52 of file rtc-rx8025.c.
#define RX8025_BIT_CTRL1_CT (7 << 0) |
Definition at line 48 of file rtc-rx8025.c.
#define RX8025_BIT_CTRL1_CT_1HZ 4 |
Definition at line 50 of file rtc-rx8025.c.
#define RX8025_BIT_CTRL1_DALE (1 << 6) |
Definition at line 53 of file rtc-rx8025.c.
#define RX8025_BIT_CTRL1_TEST (1 << 3) |
Definition at line 51 of file rtc-rx8025.c.
#define RX8025_BIT_CTRL1_WALE (1 << 7) |
Definition at line 54 of file rtc-rx8025.c.
#define RX8025_BIT_CTRL2_CTFG (1 << 2) |
Definition at line 58 of file rtc-rx8025.c.
#define RX8025_BIT_CTRL2_DAFG (1 << 0) |
Definition at line 56 of file rtc-rx8025.c.
#define RX8025_BIT_CTRL2_PON (1 << 4) |
Definition at line 59 of file rtc-rx8025.c.
#define RX8025_BIT_CTRL2_VDET (1 << 6) |
Definition at line 61 of file rtc-rx8025.c.
#define RX8025_BIT_CTRL2_WAFG (1 << 1) |
Definition at line 57 of file rtc-rx8025.c.
#define RX8025_BIT_CTRL2_XST (1 << 5) |
Definition at line 60 of file rtc-rx8025.c.
#define RX8025_REG_ALDHOUR 0x0c |
Definition at line 43 of file rtc-rx8025.c.
#define RX8025_REG_ALDMIN 0x0b |
Definition at line 42 of file rtc-rx8025.c.
#define RX8025_REG_ALWHOUR 0x09 |
Definition at line 40 of file rtc-rx8025.c.
#define RX8025_REG_ALWMIN 0x08 |
Definition at line 39 of file rtc-rx8025.c.
#define RX8025_REG_ALWWDAY 0x0a |
Definition at line 41 of file rtc-rx8025.c.
#define RX8025_REG_CTRL1 0x0e |
Definition at line 45 of file rtc-rx8025.c.
#define RX8025_REG_CTRL2 0x0f |
Definition at line 46 of file rtc-rx8025.c.
#define RX8025_REG_DIGOFF 0x07 |
Definition at line 38 of file rtc-rx8025.c.
#define RX8025_REG_HOUR 0x02 |
Definition at line 33 of file rtc-rx8025.c.
#define RX8025_REG_MDAY 0x04 |
Definition at line 35 of file rtc-rx8025.c.
#define RX8025_REG_MIN 0x01 |
Definition at line 32 of file rtc-rx8025.c.
#define RX8025_REG_MONTH 0x05 |
Definition at line 36 of file rtc-rx8025.c.
#define RX8025_REG_SEC 0x00 |
Definition at line 31 of file rtc-rx8025.c.
#define RX8025_REG_WDAY 0x03 |
Definition at line 34 of file rtc-rx8025.c.
#define RX8025_REG_YEAR 0x06 |
Definition at line 37 of file rtc-rx8025.c.
MODULE_AUTHOR | ( | "Wolfgang Grandegger <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | i2c | , |
rx8025_id | |||
) |
module_i2c_driver | ( | rx8025_driver | ) |
MODULE_LICENSE | ( | "GPL" | ) |