Lines Matching defs:rtc
9 #define DRVNAME "rtc-opal"
13 #include <linux/rtc.h>
111 * with the rtc utility time conversion functions, we use the 'u64' to store
221 * non-zero rtc-time. We only handle disable case which needs to be
234 struct rtc_device *rtc;
245 rtc = devm_rtc_device_register(&pdev->dev, DRVNAME, &opal_rtc_ops,
247 if (IS_ERR(rtc))
248 return PTR_ERR(rtc);
250 rtc->uie_unsupported = 1;
257 .compatible = "ibm,opal-rtc",
265 .name = "opal-rtc",