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

/linux-master/drivers/rtc/
H A Dsysfs.c38 retval = rtc_read_time(to_rtc_device(dev), &tm);
52 retval = rtc_read_time(to_rtc_device(dev), &tm);
66 retval = rtc_read_time(to_rtc_device(dev), &tm);
81 return sprintf(buf, "%d\n", to_rtc_device(dev)->max_user_freq);
88 struct rtc_device *rtc = to_rtc_device(dev);
119 strcmp(dev_name(&to_rtc_device(dev)->dev),
142 retval = rtc_read_alarm(to_rtc_device(dev), &alm);
159 struct rtc_device *rtc = to_rtc_device(dev);
224 retval = rtc_read_offset(to_rtc_device(dev), &offset);
240 retval = rtc_set_offset(to_rtc_device(de
[all...]
H A Dclass.c27 struct rtc_device *rtc = to_rtc_device(dev);
102 struct rtc_device *rtc = to_rtc_device(dev);
147 struct rtc_device *rtc = to_rtc_device(dev);
H A Dinterface.c701 rtc = to_rtc_device(dev);
/linux-master/kernel/power/
H A Dsuspend_test.c130 struct rtc_device *candidate = to_rtc_device(dev);
/linux-master/include/linux/
H A Drtc.h165 #define to_rtc_device(d) container_of(d, struct rtc_device, dev) macro
/linux-master/kernel/time/
H A Dalarmtimer.c87 struct rtc_device *rtc = to_rtc_device(dev);

Completed in 109 milliseconds