Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/rtc/
Drtc-sysfs.c31 return sprintf(buf, "%s\n", to_rtc_device(dev)->name); in rtc_sysfs_show_name()
41 retval = rtc_read_time(to_rtc_device(dev), &tm); in rtc_sysfs_show_date()
57 retval = rtc_read_time(to_rtc_device(dev), &tm); in rtc_sysfs_show_time()
73 retval = rtc_read_time(to_rtc_device(dev), &tm); in rtc_sysfs_show_since_epoch()
87 return sprintf(buf, "%d\n", to_rtc_device(dev)->max_user_freq); in rtc_sysfs_show_max_user_freq()
94 struct rtc_device *rtc = to_rtc_device(dev); in rtc_sysfs_set_max_user_freq()
111 strcmp(dev_name(&to_rtc_device(dev)->dev), in rtc_sysfs_show_hctosys()
146 retval = rtc_read_alarm(to_rtc_device(dev), &alm); in rtc_sysfs_show_wakealarm()
162 struct rtc_device *rtc = to_rtc_device(dev); in rtc_sysfs_set_wakealarm()
Dclass.c29 struct rtc_device *rtc = to_rtc_device(dev); in rtc_device_release()
46 struct rtc_device *rtc = to_rtc_device(dev); in rtc_suspend()
82 struct rtc_device *rtc = to_rtc_device(dev); in rtc_resume()
Dinterface.c605 rtc = to_rtc_device(dev); in rtc_class_open()
/linux-3.4.99/kernel/power/
Dsuspend_test.c117 struct rtc_device *candidate = to_rtc_device(dev); in has_wakealarm()
/linux-3.4.99/include/linux/
Drtc.h219 #define to_rtc_device(d) container_of(d, struct rtc_device, dev) macro
/linux-3.4.99/drivers/staging/android/
Dalarm.c483 struct rtc_device *rtc = to_rtc_device(dev); in rtc_alarm_add_device()
/linux-3.4.99/kernel/time/
Dalarmtimer.c79 struct rtc_device *rtc = to_rtc_device(dev); in alarmtimer_rtc_add_device()