Searched refs:rtc_class (Results 1 – 5 of 5) sorted by relevance
28 struct class *rtc_class; variable204 rtc->dev.class = rtc_class; in rtc_device_register()355 rtc_class = class_create(THIS_MODULE, "rtc"); in rtc_init()356 if (IS_ERR(rtc_class)) { in rtc_init()358 return PTR_ERR(rtc_class); in rtc_init()360 rtc_class->pm = RTC_CLASS_DEV_PM_OPS; in rtc_init()368 class_destroy(rtc_class); in rtc_exit()
589 dev = class_find_device(rtc_class, NULL, name, __rtc_match); in rtc_class_open()
205 dev = class_find_device(rtc_class, NULL, NULL, has_wakealarm); in test_suspend()
61 extern struct class *rtc_class;
111 alarmtimer_rtc_interface.class = rtc_class; in alarmtimer_rtc_interface_setup()