Searched refs:xrtcdev (Results 1 – 1 of 1) sorted by relevance
282 xrtcdev = devm_kzalloc(&pdev->dev, sizeof(*xrtcdev), GFP_KERNEL); in xlnx_rtc_probe()283 if (!xrtcdev) in xlnx_rtc_probe()289 if (IS_ERR(xrtcdev->rtc)) in xlnx_rtc_probe()300 if (xrtcdev->alarm_irq < 0) in xlnx_rtc_probe()311 if (xrtcdev->sec_irq < 0) in xlnx_rtc_probe()312 return xrtcdev->sec_irq; in xlnx_rtc_probe()327 xrtcdev->freq = clk_get_rate(xrtcdev->rtc_clk); in xlnx_rtc_probe()328 if (!xrtcdev->freq) { in xlnx_rtc_probe()330 &xrtcdev->freq); in xlnx_rtc_probe()336 writel(xrtcdev->freq, (xrtcdev->reg_base + RTC_CALIB_WR)); in xlnx_rtc_probe()[all …]