Home
last modified time | relevance | path

Searched refs:to_rtc_device (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/rtc/
Drtc-sysfs.c30 return sprintf(buf, "%s\n", to_rtc_device(dev)->name); in name_show()
40 retval = rtc_read_time(to_rtc_device(dev), &tm); in date_show()
56 retval = rtc_read_time(to_rtc_device(dev), &tm); in time_show()
72 retval = rtc_read_time(to_rtc_device(dev), &tm); in since_epoch_show()
86 return sprintf(buf, "%d\n", to_rtc_device(dev)->max_user_freq); in max_user_freq_show()
93 struct rtc_device *rtc = to_rtc_device(dev); in max_user_freq_store()
116 strcmp(dev_name(&to_rtc_device(dev)->dev), in hctosys_show()
152 retval = rtc_read_alarm(to_rtc_device(dev), &alm); in rtc_sysfs_show_wakealarm()
169 struct rtc_device *rtc = to_rtc_device(dev); in rtc_sysfs_set_wakealarm()
Dclass.c32 struct rtc_device *rtc = to_rtc_device(dev); in rtc_device_release()
53 struct rtc_device *rtc = to_rtc_device(dev); in rtc_suspend()
99 struct rtc_device *rtc = to_rtc_device(dev); in rtc_resume()
Dinterface.c636 rtc = to_rtc_device(dev); in rtc_class_open()
/linux-4.1.27/kernel/power/
Dsuspend_test.c131 struct rtc_device *candidate = to_rtc_device(dev); in has_wakealarm()
/linux-4.1.27/include/linux/
Drtc.h148 #define to_rtc_device(d) container_of(d, struct rtc_device, dev) macro
/linux-4.1.27/kernel/time/
Dalarmtimer.c80 struct rtc_device *rtc = to_rtc_device(dev); in alarmtimer_rtc_add_device()