Searched refs:xrtcdev (Results 1 – 1 of 1) sorted by relevance
54 struct xlnx_rtc_dev *xrtcdev = dev_get_drvdata(dev); in xlnx_rtc_set_time() local68 xrtcdev->calibval &= RTC_CALIB_MASK; in xlnx_rtc_set_time()69 writel(xrtcdev->calibval, (xrtcdev->reg_base + RTC_CALIB_WR)); in xlnx_rtc_set_time()71 writel(new_time, xrtcdev->reg_base + RTC_SET_TM_WR); in xlnx_rtc_set_time()81 writel(RTC_INT_SEC, xrtcdev->reg_base + RTC_INT_STS); in xlnx_rtc_set_time()90 struct xlnx_rtc_dev *xrtcdev = dev_get_drvdata(dev); in xlnx_rtc_read_time() local92 status = readl(xrtcdev->reg_base + RTC_INT_STS); in xlnx_rtc_read_time()99 read_time = readl(xrtcdev->reg_base + RTC_CUR_TM); in xlnx_rtc_read_time()108 read_time = readl(xrtcdev->reg_base + RTC_SET_TM_RD) - 1; in xlnx_rtc_read_time()117 struct xlnx_rtc_dev *xrtcdev = dev_get_drvdata(dev); in xlnx_rtc_read_alarm() local[all …]