Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-mxc_v2.c33 #define SRTC_LPSR 0x14 /* LP Status Reg */ macro
86 lp_status = readl(ioaddr + SRTC_LPSR); in mxc_rtc_interrupt()
102 writel(lp_status, ioaddr + SRTC_LPSR); in mxc_rtc_interrupt()
198 alrm->pending = !!(readl(ioaddr + SRTC_LPSR) & SRTC_LPSR_ALP); in mxc_rtc_read_alarm()
250 writel(SRTC_LPSR_ALP, pdata->ioaddr + SRTC_LPSR); in mxc_rtc_set_alarm()
317 writel(0xFFFFFFFF, ioaddr + SRTC_LPSR); in mxc_rtc_probe()
321 ret = mxc_rtc_wait_for_flag(ioaddr + SRTC_LPSR, SRTC_LPSR_IES); in mxc_rtc_probe()
331 ret = mxc_rtc_wait_for_flag(ioaddr + SRTC_LPSR, SRTC_LPSR_NVES); in mxc_rtc_probe()