Home
last modified time | relevance | path

Searched refs:alm_en (Results 1 – 2 of 2) sorted by relevance

/drivers/rtc/
Drtc-s3c.c229 unsigned int alm_en; in s3c_rtc_getalarm() local
243 alm_en = readb(info->base + S3C2410_RTCALM); in s3c_rtc_getalarm()
247 alrm->enabled = (alm_en & S3C2410_RTCALM_ALMEN) ? 1 : 0; in s3c_rtc_getalarm()
249 dev_dbg(dev, "read alarm %d, %ptR\n", alm_en, alm_tm); in s3c_rtc_getalarm()
252 if (alm_en & S3C2410_RTCALM_SECEN) in s3c_rtc_getalarm()
255 if (alm_en & S3C2410_RTCALM_MINEN) in s3c_rtc_getalarm()
258 if (alm_en & S3C2410_RTCALM_HOUREN) in s3c_rtc_getalarm()
261 if (alm_en & S3C2410_RTCALM_DAYEN) in s3c_rtc_getalarm()
264 if (alm_en & S3C2410_RTCALM_MONEN) { in s3c_rtc_getalarm()
269 if (alm_en & S3C2410_RTCALM_YEAREN) in s3c_rtc_getalarm()
Drtc-pic32.c195 unsigned int alm_en; in pic32_rtc_getalarm() local
205 alm_en = readb(base + PIC32_RTCALRM); in pic32_rtc_getalarm()
207 alrm->enabled = (alm_en & PIC32_RTCALRM_ALRMEN) ? 1 : 0; in pic32_rtc_getalarm()
209 dev_dbg(dev, "getalarm: %d, %ptR\n", alm_en, alm_tm); in pic32_rtc_getalarm()