|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
| #define | DRV_VERSION "0.3" |
| #define | ISL1208_REG_SC 0x00 |
| #define | ISL1208_REG_MN 0x01 |
| #define | ISL1208_REG_HR 0x02 |
| #define | ISL1208_REG_HR_MIL (1<<7) /* 24h/12h mode */ |
| #define | ISL1208_REG_HR_PM (1<<5) /* PM/AM bit in 12h mode */ |
| #define | ISL1208_REG_DT 0x03 |
| #define | ISL1208_REG_MO 0x04 |
| #define | ISL1208_REG_YR 0x05 |
| #define | ISL1208_REG_DW 0x06 |
| #define | ISL1208_RTC_SECTION_LEN 7 |
| #define | ISL1208_REG_SR 0x07 |
| #define | ISL1208_REG_SR_ARST (1<<7) /* auto reset */ |
| #define | ISL1208_REG_SR_XTOSCB (1<<6) /* crystal oscillator */ |
| #define | ISL1208_REG_SR_WRTC (1<<4) /* write rtc */ |
| #define | ISL1208_REG_SR_ALM (1<<2) /* alarm */ |
| #define | ISL1208_REG_SR_BAT (1<<1) /* battery */ |
| #define | ISL1208_REG_SR_RTCF (1<<0) /* rtc fail */ |
| #define | ISL1208_REG_INT 0x08 |
| #define | ISL1208_REG_INT_ALME (1<<6) /* alarm enable */ |
| #define | ISL1208_REG_INT_IM (1<<7) /* interrupt/alarm mode */ |
| #define | ISL1208_REG_09 0x09 /* reserved */ |
| #define | ISL1208_REG_ATR 0x0a |
| #define | ISL1208_REG_DTR 0x0b |
| #define | ISL1208_REG_SCA 0x0c |
| #define | ISL1208_REG_MNA 0x0d |
| #define | ISL1208_REG_HRA 0x0e |
| #define | ISL1208_REG_DTA 0x0f |
| #define | ISL1208_REG_MOA 0x10 |
| #define | ISL1208_REG_DWA 0x11 |
| #define | ISL1208_ALARM_SECTION_LEN 6 |
| #define | ISL1208_REG_USR1 0x12 |
| #define | ISL1208_REG_USR2 0x13 |
| #define | ISL1208_USR_SECTION_LEN 2 |
Functions | |
| MODULE_DEVICE_TABLE (i2c, isl1208_id) | |
| module_i2c_driver (isl1208_driver) | |
| MODULE_AUTHOR ("Herbert Valerio Riedel <[email protected]>") | |
| MODULE_DESCRIPTION ("Intersil ISL1208 RTC driver") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_VERSION (DRV_VERSION) | |
| #define DRV_VERSION "0.3" |
Definition at line 18 of file rtc-isl1208.c.
| #define ISL1208_ALARM_SECTION_LEN 6 |
Definition at line 55 of file rtc-isl1208.c.
| #define ISL1208_REG_09 0x09 /* reserved */ |
Definition at line 44 of file rtc-isl1208.c.
| #define ISL1208_REG_ATR 0x0a |
Definition at line 45 of file rtc-isl1208.c.
| #define ISL1208_REG_DT 0x03 |
Definition at line 27 of file rtc-isl1208.c.
| #define ISL1208_REG_DTA 0x0f |
Definition at line 52 of file rtc-isl1208.c.
| #define ISL1208_REG_DTR 0x0b |
Definition at line 46 of file rtc-isl1208.c.
| #define ISL1208_REG_DW 0x06 |
Definition at line 30 of file rtc-isl1208.c.
| #define ISL1208_REG_DWA 0x11 |
Definition at line 54 of file rtc-isl1208.c.
| #define ISL1208_REG_HR 0x02 |
Definition at line 24 of file rtc-isl1208.c.
| #define ISL1208_REG_HR_MIL (1<<7) /* 24h/12h mode */ |
Definition at line 25 of file rtc-isl1208.c.
Definition at line 26 of file rtc-isl1208.c.
| #define ISL1208_REG_HRA 0x0e |
Definition at line 51 of file rtc-isl1208.c.
| #define ISL1208_REG_INT 0x08 |
Definition at line 41 of file rtc-isl1208.c.
Definition at line 42 of file rtc-isl1208.c.
Definition at line 43 of file rtc-isl1208.c.
| #define ISL1208_REG_MN 0x01 |
Definition at line 23 of file rtc-isl1208.c.
| #define ISL1208_REG_MNA 0x0d |
Definition at line 50 of file rtc-isl1208.c.
| #define ISL1208_REG_MO 0x04 |
Definition at line 28 of file rtc-isl1208.c.
| #define ISL1208_REG_MOA 0x10 |
Definition at line 53 of file rtc-isl1208.c.
| #define ISL1208_REG_SC 0x00 |
Definition at line 22 of file rtc-isl1208.c.
| #define ISL1208_REG_SCA 0x0c |
Definition at line 49 of file rtc-isl1208.c.
| #define ISL1208_REG_SR 0x07 |
Definition at line 34 of file rtc-isl1208.c.
| #define ISL1208_REG_SR_ALM (1<<2) /* alarm */ |
Definition at line 38 of file rtc-isl1208.c.
| #define ISL1208_REG_SR_ARST (1<<7) /* auto reset */ |
Definition at line 35 of file rtc-isl1208.c.
| #define ISL1208_REG_SR_BAT (1<<1) /* battery */ |
Definition at line 39 of file rtc-isl1208.c.
| #define ISL1208_REG_SR_RTCF (1<<0) /* rtc fail */ |
Definition at line 40 of file rtc-isl1208.c.
Definition at line 37 of file rtc-isl1208.c.
| #define ISL1208_REG_SR_XTOSCB (1<<6) /* crystal oscillator */ |
Definition at line 36 of file rtc-isl1208.c.
| #define ISL1208_REG_USR1 0x12 |
Definition at line 58 of file rtc-isl1208.c.
| #define ISL1208_REG_USR2 0x13 |
Definition at line 59 of file rtc-isl1208.c.
| #define ISL1208_REG_YR 0x05 |
Definition at line 29 of file rtc-isl1208.c.
| #define ISL1208_RTC_SECTION_LEN 7 |
Definition at line 31 of file rtc-isl1208.c.
| #define ISL1208_USR_SECTION_LEN 2 |
Definition at line 60 of file rtc-isl1208.c.
| MODULE_AUTHOR | ( | "Herbert Valerio Riedel <[email protected]>" | ) |
| MODULE_DEVICE_TABLE | ( | i2c | , |
| isl1208_id | |||
| ) |
| module_i2c_driver | ( | isl1208_driver | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| MODULE_VERSION | ( | DRV_VERSION | ) |
1.8.2