Searched refs:rtc_class (Results 1 – 5 of 5) sorted by relevance
24 struct class *rtc_class; variable223 rtc->dev.class = rtc_class; in rtc_allocate_device()478 rtc_class = class_create("rtc"); in rtc_init()479 if (IS_ERR(rtc_class)) { in rtc_init()481 return PTR_ERR(rtc_class); in rtc_init()483 rtc_class->pm = RTC_CLASS_DEV_PM_OPS; in rtc_init()
700 dev = class_find_device_by_name(rtc_class, name); in rtc_class_open()
204 dev = class_find_device(rtc_class, NULL, NULL, has_wakealarm); in test_suspend()
45 extern struct class *rtc_class;
137 alarmtimer_rtc_interface.class = rtc_class; in alarmtimer_rtc_interface_setup()