Home
last modified time | relevance | path

Searched refs:alrm_en (Results 1 – 3 of 3) sorted by relevance

/drivers/rtc/
Drtc-s3c.c303 unsigned int alrm_en; in s3c_rtc_setalarm() local
312 alrm_en = readb(info->base + S3C2410_RTCALM) & S3C2410_RTCALM_ALMEN; in s3c_rtc_setalarm()
316 alrm_en |= S3C2410_RTCALM_SECEN; in s3c_rtc_setalarm()
321 alrm_en |= S3C2410_RTCALM_MINEN; in s3c_rtc_setalarm()
326 alrm_en |= S3C2410_RTCALM_HOUREN; in s3c_rtc_setalarm()
331 alrm_en |= S3C2410_RTCALM_MONEN; in s3c_rtc_setalarm()
336 alrm_en |= S3C2410_RTCALM_DAYEN; in s3c_rtc_setalarm()
340 dev_dbg(dev, "setting S3C2410_RTCALM to %08x\n", alrm_en); in s3c_rtc_setalarm()
342 writeb(alrm_en, info->base + S3C2410_RTCALM); in s3c_rtc_setalarm()
Drtc-sunxi.c190 u32 alrm_en; in sunxi_rtc_getalarm() local
213 alrm_en = readl(chip->base + SUNXI_ALRM_IRQ_EN); in sunxi_rtc_getalarm()
214 if (alrm_en & SUNXI_ALRM_EN_CNT_EN) in sunxi_rtc_getalarm()
Drtc-sun6i.c486 u32 alrm_en; in sun6i_rtc_getalarm() local
489 alrm_en = readl(chip->base + SUN6I_ALRM_IRQ_EN); in sun6i_rtc_getalarm()
493 wkalrm->enabled = !!(alrm_en & SUN6I_ALRM_EN_CNT_EN); in sun6i_rtc_getalarm()