Searched refs:SRTC_LPSR (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-mxc_v2.c | 33 #define SRTC_LPSR 0x14 /* LP Status Reg */ macro 87 lp_status = readl(ioaddr + SRTC_LPSR); in mxc_rtc_interrupt() 103 writel(lp_status, ioaddr + SRTC_LPSR); in mxc_rtc_interrupt() 199 alrm->pending = !!(readl(ioaddr + SRTC_LPSR) & SRTC_LPSR_ALP); in mxc_rtc_read_alarm() 251 writel(SRTC_LPSR_ALP, pdata->ioaddr + SRTC_LPSR); in mxc_rtc_set_alarm() 318 writel(0xFFFFFFFF, ioaddr + SRTC_LPSR); in mxc_rtc_probe() 322 ret = mxc_rtc_wait_for_flag(ioaddr + SRTC_LPSR, SRTC_LPSR_IES); in mxc_rtc_probe() 332 ret = mxc_rtc_wait_for_flag(ioaddr + SRTC_LPSR, SRTC_LPSR_NVES); in mxc_rtc_probe()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-mxc_v2.c | 33 #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()
|
Completed in 2 milliseconds