|
Linux Kernel
3.7.1
|
#include <linux/i2c.h>#include <linux/bcd.h>#include <linux/rtc.h>#include <linux/slab.h>#include <linux/module.h>Go to the source code of this file.
Data Structures | |
| struct | isl12022 |
Macros | |
| #define | DRV_VERSION "0.1" |
| #define | ISL12022_REG_SC 0x00 |
| #define | ISL12022_REG_MN 0x01 |
| #define | ISL12022_REG_HR 0x02 |
| #define | ISL12022_REG_DT 0x03 |
| #define | ISL12022_REG_MO 0x04 |
| #define | ISL12022_REG_YR 0x05 |
| #define | ISL12022_REG_DW 0x06 |
| #define | ISL12022_REG_SR 0x07 |
| #define | ISL12022_REG_INT 0x08 |
| #define | ISL12022_HR_MIL (1 << 7) /* military or 24 hour time */ |
| #define | ISL12022_SR_LBAT85 (1 << 2) |
| #define | ISL12022_SR_LBAT75 (1 << 1) |
| #define | ISL12022_INT_WRTC (1 << 6) |
Functions | |
| MODULE_DEVICE_TABLE (i2c, isl12022_id) | |
| module_i2c_driver (isl12022_driver) | |
| MODULE_AUTHOR ("[email protected]") | |
| MODULE_DESCRIPTION ("ISL 12022 RTC driver") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_VERSION (DRV_VERSION) | |
| #define DRV_VERSION "0.1" |
Definition at line 20 of file rtc-isl12022.c.
Definition at line 35 of file rtc-isl12022.c.
| #define ISL12022_INT_WRTC (1 << 6) |
Definition at line 40 of file rtc-isl12022.c.
| #define ISL12022_REG_DT 0x03 |
Definition at line 26 of file rtc-isl12022.c.
| #define ISL12022_REG_DW 0x06 |
Definition at line 29 of file rtc-isl12022.c.
| #define ISL12022_REG_HR 0x02 |
Definition at line 25 of file rtc-isl12022.c.
| #define ISL12022_REG_INT 0x08 |
Definition at line 32 of file rtc-isl12022.c.
| #define ISL12022_REG_MN 0x01 |
Definition at line 24 of file rtc-isl12022.c.
| #define ISL12022_REG_MO 0x04 |
Definition at line 27 of file rtc-isl12022.c.
| #define ISL12022_REG_SC 0x00 |
Definition at line 23 of file rtc-isl12022.c.
| #define ISL12022_REG_SR 0x07 |
Definition at line 31 of file rtc-isl12022.c.
| #define ISL12022_REG_YR 0x05 |
Definition at line 28 of file rtc-isl12022.c.
| #define ISL12022_SR_LBAT75 (1 << 1) |
Definition at line 38 of file rtc-isl12022.c.
| #define ISL12022_SR_LBAT85 (1 << 2) |
Definition at line 37 of file rtc-isl12022.c.
| MODULE_AUTHOR | ( | "[email protected]" | ) |
| MODULE_DEVICE_TABLE | ( | i2c | , |
| isl12022_id | |||
| ) |
| module_i2c_driver | ( | isl12022_driver | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| MODULE_VERSION | ( | DRV_VERSION | ) |
1.8.2