Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Dsysfs.c38 retval = rtc_read_time(to_rtc_device(dev), &tm); in date_show()
52 retval = rtc_read_time(to_rtc_device(dev), &tm); in time_show()
66 retval = rtc_read_time(to_rtc_device(dev), &tm); in since_epoch_show()
88 struct rtc_device *rtc = to_rtc_device(dev); in max_user_freq_store()
119 strcmp(dev_name(&to_rtc_device(dev)->dev), in hctosys_show()
142 retval = rtc_read_alarm(to_rtc_device(dev), &alm); in wakealarm_show()
159 struct rtc_device *rtc = to_rtc_device(dev); in wakealarm_store()
224 retval = rtc_read_offset(to_rtc_device(dev), &offset); in offset_show()
240 retval = rtc_set_offset(to_rtc_device(dev), offset); in offset_store()
250 to_rtc_device(dev)->range_max); in range_show()
[all …]
H A Dclass.c28 struct rtc_device *rtc = to_rtc_device(dev); in rtc_device_release()
103 struct rtc_device *rtc = to_rtc_device(dev); in rtc_suspend()
148 struct rtc_device *rtc = to_rtc_device(dev); in rtc_resume()
H A Dinterface.c701 rtc = to_rtc_device(dev); in rtc_class_open()
/openbmc/linux/kernel/power/
H A Dsuspend_test.c130 struct rtc_device *candidate = to_rtc_device(dev); in has_wakealarm()
/openbmc/linux/include/linux/
H A Drtc.h165 #define to_rtc_device(d) container_of(d, struct rtc_device, dev) macro
/openbmc/linux/kernel/time/
H A Dalarmtimer.c87 struct rtc_device *rtc = to_rtc_device(dev); in alarmtimer_rtc_add_device()