Searched refs:rtc_class (Results 1 – 5 of 5) sorted by relevance
28 struct class *rtc_class; variable169 rtc->dev.class = rtc_class; in rtc_allocate_device()536 rtc_class = class_create(THIS_MODULE, "rtc"); in rtc_init()537 if (IS_ERR(rtc_class)) { in rtc_init()539 return PTR_ERR(rtc_class); in rtc_init()541 rtc_class->pm = RTC_CLASS_DEV_PM_OPS; in rtc_init()
696 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()
57 extern struct class *rtc_class;
136 alarmtimer_rtc_interface.class = rtc_class; in alarmtimer_rtc_interface_setup()