Searched refs:rtcdev (Results 1 – 4 of 4) sorted by relevance
/drivers/rtc/ |
D | rtc-au1xxx.c | 67 struct rtc_device *rtcdev; in au1xtoy_rtc_probe() local 104 rtcdev = devm_rtc_device_register(&pdev->dev, "rtc-au1xxx", in au1xtoy_rtc_probe() 106 if (IS_ERR(rtcdev)) { in au1xtoy_rtc_probe() 107 ret = PTR_ERR(rtcdev); in au1xtoy_rtc_probe() 111 platform_set_drvdata(pdev, rtcdev); in au1xtoy_rtc_probe()
|
D | rtc-ls1x.c | 148 struct rtc_device *rtcdev; in ls1x_rtc_probe() local 175 rtcdev = devm_rtc_device_register(&pdev->dev, "ls1x-rtc", in ls1x_rtc_probe() 177 if (IS_ERR(rtcdev)) { in ls1x_rtc_probe() 178 ret = PTR_ERR(rtcdev); in ls1x_rtc_probe() 182 platform_set_drvdata(pdev, rtcdev); in ls1x_rtc_probe()
|
D | rtc-at91sam9.c | 59 struct rtc_device *rtcdev; member 273 rtc_update_irq(rtc->rtcdev, 1, events); in at91_rtc_interrupt() 351 rtc->rtcdev = devm_rtc_device_register(&pdev->dev, pdev->name, in at91_rtc_probe() 353 if (IS_ERR(rtc->rtcdev)) { in at91_rtc_probe() 354 ret = PTR_ERR(rtc->rtcdev); in at91_rtc_probe() 360 IRQF_SHARED, dev_name(&rtc->rtcdev->dev), rtc); in at91_rtc_probe() 374 dev_name(&rtc->rtcdev->dev)); in at91_rtc_probe()
|
D | rtc-nuc900.c | 50 struct rtc_device *rtcdev; member 81 rtc_update_irq(rtc->rtcdev, 1, events); in nuc900_rtc_interrupt() 243 nuc900_rtc->rtcdev = devm_rtc_device_register(&pdev->dev, pdev->name, in nuc900_rtc_probe() 245 if (IS_ERR(nuc900_rtc->rtcdev)) { in nuc900_rtc_probe() 247 return PTR_ERR(nuc900_rtc->rtcdev); in nuc900_rtc_probe()
|