Searched refs:to_rtc_device (Results 1 – 7 of 7) sorted by relevance
/linux-3.4.99/drivers/rtc/ |
D | rtc-sysfs.c | 31 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()
|
D | class.c | 29 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()
|
D | interface.c | 605 rtc = to_rtc_device(dev); in rtc_class_open()
|
/linux-3.4.99/kernel/power/ |
D | suspend_test.c | 117 struct rtc_device *candidate = to_rtc_device(dev); in has_wakealarm()
|
/linux-3.4.99/include/linux/ |
D | rtc.h | 219 #define to_rtc_device(d) container_of(d, struct rtc_device, dev) macro
|
/linux-3.4.99/drivers/staging/android/ |
D | alarm.c | 483 struct rtc_device *rtc = to_rtc_device(dev); in rtc_alarm_add_device()
|
/linux-3.4.99/kernel/time/ |
D | alarmtimer.c | 79 struct rtc_device *rtc = to_rtc_device(dev); in alarmtimer_rtc_add_device()
|