Home
last modified time | relevance | path

Searched refs:rtc_class (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Dclass.c24 struct class *rtc_class; variable
223 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()
H A Dinterface.c700 dev = class_find_device_by_name(rtc_class, name); in rtc_class_open()
/openbmc/linux/kernel/power/
H A Dsuspend_test.c204 dev = class_find_device(rtc_class, NULL, NULL, has_wakealarm); in test_suspend()
/openbmc/linux/include/linux/
H A Drtc.h45 extern struct class *rtc_class;
/openbmc/linux/kernel/time/
H A Dalarmtimer.c137 alarmtimer_rtc_interface.class = rtc_class; in alarmtimer_rtc_interface_setup()