Searched refs:ds1286_rtc_read (Results 1 – 1 of 1) sorted by relevance
/linux-3.4.99/drivers/rtc/ |
D | rtc-ds1286.c | 33 static inline u8 ds1286_rtc_read(struct ds1286_priv *priv, int reg) in ds1286_rtc_read() function 52 val = ds1286_rtc_read(priv, RTC_CMD); in ds1286_alarm_irq_enable() 75 val = ds1286_rtc_read(priv, RTC_CMD); in ds1286_ioctl() 83 val = ds1286_rtc_read(priv, RTC_CMD); in ds1286_ioctl() 106 month = ds1286_rtc_read(priv, RTC_MONTH); in ds1286_proc() 113 amode = ((ds1286_rtc_read(priv, RTC_MINUTES_ALARM) & 0x80) >> 5) | in ds1286_proc() 114 ((ds1286_rtc_read(priv, RTC_HOURS_ALARM) & 0x80) >> 6) | in ds1286_proc() 115 ((ds1286_rtc_read(priv, RTC_DAY_ALARM) & 0x80) >> 7); in ds1286_proc() 135 cmd = ds1286_rtc_read(priv, RTC_CMD); in ds1286_proc() 175 if (ds1286_rtc_read(priv, RTC_CMD) & RTC_TE) in ds1286_read_time() [all …]
|