Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/rtc/
Dsysfs.c37 retval = rtc_read_time(to_rtc_device(dev), &tm); in date_show()
51 retval = rtc_read_time(to_rtc_device(dev), &tm); in time_show()
65 retval = rtc_read_time(to_rtc_device(dev), &tm); in since_epoch_show()
80 return sprintf(buf, "%d\n", to_rtc_device(dev)->max_user_freq); in max_user_freq_show()
87 struct rtc_device *rtc = to_rtc_device(dev); in max_user_freq_store()
118 strcmp(dev_name(&to_rtc_device(dev)->dev), in hctosys_show()
141 retval = rtc_read_alarm(to_rtc_device(dev), &alm); in wakealarm_show()
158 struct rtc_device *rtc = to_rtc_device(dev); in wakealarm_store()
223 retval = rtc_read_offset(to_rtc_device(dev), &offset); in offset_show()
239 retval = rtc_set_offset(to_rtc_device(dev), offset); in offset_store()
[all …]
Dclass.c28 struct rtc_device *rtc = to_rtc_device(dev); in rtc_device_release()
102 struct rtc_device *rtc = to_rtc_device(dev); in rtc_suspend()
147 struct rtc_device *rtc = to_rtc_device(dev); in rtc_resume()
Dinterface.c704 rtc = to_rtc_device(dev); in rtc_class_open()
/kernel/linux/linux-5.10/kernel/power/
Dsuspend_test.c130 struct rtc_device *candidate = to_rtc_device(dev); in has_wakealarm()
/kernel/linux/linux-5.10/include/linux/
Drtc.h144 #define to_rtc_device(d) container_of(d, struct rtc_device, dev) macro
/kernel/linux/linux-5.10/kernel/time/
Dalarmtimer.c88 struct rtc_device *rtc = to_rtc_device(dev); in alarmtimer_rtc_add_device()