Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-sunplus.c231 struct sunplus_rtc *sp_rtc; in sp_rtc_probe() local
234 sp_rtc = devm_kzalloc(&plat_dev->dev, sizeof(*sp_rtc), GFP_KERNEL); in sp_rtc_probe()
235 if (!sp_rtc) in sp_rtc_probe()
243 sp_rtc->res, sp_rtc->reg_base); in sp_rtc_probe()
246 if (sp_rtc->irq < 0) in sp_rtc_probe()
247 return sp_rtc->irq; in sp_rtc_probe()
255 if (IS_ERR(sp_rtc->rtcclk)) in sp_rtc_probe()
260 if (IS_ERR(sp_rtc->rstc)) in sp_rtc_probe()
276 if (IS_ERR(sp_rtc->rtc)) { in sp_rtc_probe()
277 ret = PTR_ERR(sp_rtc->rtc); in sp_rtc_probe()
[all …]