Searched refs:rtcreg (Results 1 – 1 of 1) sorted by relevance
44 struct tx4939_rtc_reg __iomem *rtcreg; member53 static int tx4939_rtc_cmd(struct tx4939_rtc_reg __iomem *rtcreg, int cmd) in tx4939_rtc_cmd() argument57 __raw_writel(cmd, &rtcreg->ctl); in tx4939_rtc_cmd()59 while (__raw_readl(&rtcreg->ctl) & TX4939_RTCCTL_BUSY) { in tx4939_rtc_cmd()71 struct tx4939_rtc_reg __iomem *rtcreg = pdata->rtcreg; in tx4939_rtc_set_mmss() local82 __raw_writel(0, &rtcreg->adr); in tx4939_rtc_set_mmss()84 __raw_writel(buf[i], &rtcreg->dat); in tx4939_rtc_set_mmss()85 ret = tx4939_rtc_cmd(rtcreg, in tx4939_rtc_set_mmss()87 (__raw_readl(&rtcreg->ctl) & TX4939_RTCCTL_ALME)); in tx4939_rtc_set_mmss()95 struct tx4939_rtc_reg __iomem *rtcreg = pdata->rtcreg; in tx4939_rtc_read_time() local[all …]